def createILA(): gb = GBArch() U1(gb) U2(gb) U3(gb) U4(gb) WRI(gb) gb.setNext() verilogFile = 'gb_verilog_wri.v' gb.exportVerilog(verilogFile)
def createILA(): gb = GBArch() U1(gb) U1b(gb) U2(gb) U3(gb) U3b(gb) U4(gb) RDI(gb) U1c(gb) gb.setNext() verilogFile = 'gb_verilog_rdi.v' gb.exportVerilog(verilogFile)
def ExportHierIla(): archive_dir = './archive' if not os.path.exists(archive_dir): os.makedirs(archive_dir) gb_top = GBArch() WRI(gb_top) RDI(gb_top) gb_top.setNext() gb_top.setDecode() gb_top.exportModel(archive_dir + '/gb_top.ila') gb_child = GBArch() U1(gb_child) U2(gb_child) U3(gb_child) U4(gb_child) gb_child.setNext() gb_child.setDecode() gb_child.exportModel(archive_dir + '/gb_child.ila')