def ExportHierIla(): archive_dir = './archive' if not os.path.exists(archive_dir): os.makedirs(archive_dir) gb = GBArch() defUSts(gb) defNext(gb) rdDefNext(gb) setNext(gb) gb.exportModel(archive_dir + '/gb_high.abst')
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')