use lazy-loading in example
This commit is contained in:
parent
8ff8a47784
commit
c9ffa66f8d
2 changed files with 74 additions and 46 deletions
|
|
@ -21,8 +21,8 @@ connectivity = [
|
|||
cells, props = oasis.readfile('connectivity.oas')
|
||||
topcell = cells['top']
|
||||
|
||||
polys, labels = snarled.interfaces.masque.read_cell(topcell, connectivity)
|
||||
nets_info = snarled.trace_connectivity_preloaded(polys, labels, connectivity)
|
||||
get_layer = snarled.interfaces.masque.prepare_cell(topcell)
|
||||
nets_info = snarled.trace_connectivity(get_layer, connectivity)
|
||||
|
||||
print('\nFinal nets:')
|
||||
print([kk for kk in sorted(nets_info.nets.keys()) if isinstance(kk.name, str)])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue