Skip to main content

Module bindings

Module bindings 

Source
Expand description

Python bindings for constructing, verifying, serialising, and emitting SC IR graphs.

Structsยง

PyScGraph
PyScGraphBuilder

Functionsยง

__pyfunction_ir_emit_sv ๐Ÿ”’ โš 
__pyfunction_ir_parse ๐Ÿ”’ โš 
__pyfunction_ir_print ๐Ÿ”’ โš 
__pyfunction_ir_verify ๐Ÿ”’ โš 
ir_emit_sv ๐Ÿ”’
Emit SystemVerilog from an IR graph.
ir_parse ๐Ÿ”’
Parse an IR graph from text format.
ir_print ๐Ÿ”’
Print an IR graph to its stable text format.
ir_verify ๐Ÿ”’
Verify an IR graph. Returns None on success, or a list of error strings.
parse_sc_type ๐Ÿ”’
Parse a Python type string into ScType.
register ๐Ÿ”’
Register the compute-graph IR classes and functions on the Python extension module.