copapy.backend.compile_to_dag#

copapy.backend.compile_to_dag(node_list, sdb)#

Compiles a DAG identified by provided end nodes to binary code

Parameters:
  • node_list (Iterable[Node]) – List of end nodes of the DAG to compile

  • sdb (stencil_database) – Stencil database

Return type:

tuple[data_writer, dict[Net, tuple[int, int, str]]]

Returns:

Tuple of data writer with binary code and variable layout dictionary