calyx_frontend

Module ast

Source
Expand description

Abstract Syntax Tree for Calyx

Structs§

  • Custom bitwidth numbers
  • The Cell AST nodes.
  • AST statement for defining components.
  • A single state in an FSM.
  • A fsm block has a name, attributes, and FSMRules that correspond to all the states within the fsm.
  • Guards expr using the optional guard condition guard.
  • Corresponds to an individual Calyx file.
  • Prototype of the cell definition
  • Guards expr using the optional guard condition guard.
  • Data for the -> structure statement.
  • Data for the -> structure statement.

Enums§

  • Atomic operations used in guard conditions and RHS of the guarded assignments.
  • Control AST nodes. Since enables and static enables are indistinguishable to the AST, there is single Control Enum for both Static and Dynamic Control
  • Possible comparison operators for guards.
  • The AST for GuardExprs
  • Statement that refers to a port on a subcomponent. This is distinct from a Portdef which defines a port.
  • The AST for StaticGuardExprs
  • The next state transition for an FSM.

Type Aliases§