Skip to main content

Module emit_sv

Module emit_sv 

Source
Expand description

SystemVerilog emitter for SC IR graphs.

Produces synthesizable RTL that instantiates modules from hdl/.

Generated module interface:

  • Clock: clk
  • Reset: rst_n (active-low)
  • One port per sc.input / sc.output operation
  • Internal wiring for all intermediate values

Functionsยง

emit
Emit a synthesizable SystemVerilog module from an SC graph.
emit_constant ๐Ÿ”’
find_value_width ๐Ÿ”’
type_to_width ๐Ÿ”’
value_to_wire ๐Ÿ”’