mirror of https://github.com/VLSIDA/OpenRAM.git
Remove temp names in DRC/LVS. Extract unique doesn't actually extract.
This commit is contained in:
parent
4da56098e7
commit
6c9ae1c659
|
|
@ -95,7 +95,7 @@ class hierarchy_design(hierarchy_spice.spice, hierarchy_layout.layout):
|
||||||
|
|
||||||
if (not OPTS.is_unit_test and OPTS.check_lvsdrc and (OPTS.inline_lvsdrc or final_verification)):
|
if (not OPTS.is_unit_test and OPTS.check_lvsdrc and (OPTS.inline_lvsdrc or final_verification)):
|
||||||
global total_drc_errors
|
global total_drc_errors
|
||||||
tempgds = OPTS.openram_temp + "/temp.gds"
|
tempgds = "{0}/{1}.gds".format(OPTS.openram_temp,self.name)
|
||||||
self.gds_write(tempgds)
|
self.gds_write(tempgds)
|
||||||
num_errors = verify.run_drc(self.name, tempgds, final_verification)
|
num_errors = verify.run_drc(self.name, tempgds, final_verification)
|
||||||
total_drc_errors += num_errors
|
total_drc_errors += num_errors
|
||||||
|
|
@ -110,8 +110,8 @@ class hierarchy_design(hierarchy_spice.spice, hierarchy_layout.layout):
|
||||||
|
|
||||||
if (not OPTS.is_unit_test and OPTS.check_lvsdrc and (OPTS.inline_lvsdrc or final_verification)):
|
if (not OPTS.is_unit_test and OPTS.check_lvsdrc and (OPTS.inline_lvsdrc or final_verification)):
|
||||||
global total_lvs_errors
|
global total_lvs_errors
|
||||||
tempspice = OPTS.openram_temp + "/temp.sp"
|
tempspice = "{0}/{1}.sp".format(OPTS.openram_temp,self.name)
|
||||||
tempgds = OPTS.openram_temp + "/temp.gds"
|
tempgds = "{0}/{1}.gds".format(OPTS.openram_temp,self.name)
|
||||||
self.sp_write(tempspice)
|
self.sp_write(tempspice)
|
||||||
self.gds_write(tempgds)
|
self.gds_write(tempgds)
|
||||||
num_errors = verify.run_lvs(self.name, tempgds, tempspice, final_verification)
|
num_errors = verify.run_lvs(self.name, tempgds, tempspice, final_verification)
|
||||||
|
|
|
||||||
|
|
@ -58,9 +58,8 @@ def write_magic_script(cell_name, gds_name, extract=False, final_verification=Fa
|
||||||
else:
|
else:
|
||||||
pre = ""
|
pre = ""
|
||||||
if final_verification:
|
if final_verification:
|
||||||
f.write(pre+"extract unique\n".format(cell_name))
|
f.write(pre+"extract unique all\n".format(cell_name))
|
||||||
else:
|
f.write(pre+"extract\n".format(cell_name))
|
||||||
f.write(pre+"extract\n".format(cell_name))
|
|
||||||
#f.write(pre+"ext2spice hierarchy on\n")
|
#f.write(pre+"ext2spice hierarchy on\n")
|
||||||
#f.write(pre+"ext2spice scale off\n")
|
#f.write(pre+"ext2spice scale off\n")
|
||||||
# lvs exists in 8.2.79, but be backword compatible for now
|
# lvs exists in 8.2.79, but be backword compatible for now
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue