mirror of
https://github.com/VLSIDA/OpenRAM.git
synced 2026-08-29 01:24:39 +02:00
Only do one extract. Flatten transistors since bug fixed in magic.
This commit is contained in:
@@ -96,7 +96,7 @@ def write_drc_script(cell_name, gds_name, extract, final_verification, output_pa
|
||||
f.write("gds warning default\n")
|
||||
# Flatten the transistors
|
||||
# Bug in Netgen 1.5.194 when using this...
|
||||
#f.write("gds flatglob *_?mos_m*\n")
|
||||
f.write("gds flatglob *_?mos_m*\n")
|
||||
# These two options are temporarily disabled until Tim fixes a bug in magic related
|
||||
# to flattening channel routes and vias (hierarchy with no devices in it). Otherwise,
|
||||
# they appear to be disconnected.
|
||||
@@ -119,12 +119,13 @@ def write_drc_script(cell_name, gds_name, extract, final_verification, output_pa
|
||||
pre = "#"
|
||||
else:
|
||||
pre = ""
|
||||
if final_verification and OPTS.route_supplies:
|
||||
f.write(pre + "extract unique all\n")
|
||||
# Hack to work around unit scales in SkyWater
|
||||
if OPTS.tech_name=="sky130":
|
||||
f.write(pre + "extract style ngspice(si)\n")
|
||||
f.write(pre + "extract all\n")
|
||||
if final_verification and OPTS.route_supplies:
|
||||
f.write(pre + "extract unique all\n")
|
||||
else:
|
||||
f.write(pre + "extract all\n")
|
||||
f.write(pre + "select top cell\n")
|
||||
f.write(pre + "feedback why\n")
|
||||
f.write('puts "Finished extract"\n')
|
||||
|
||||
Reference in New Issue
Block a user