mirror of
https://github.com/VLSIDA/OpenRAM.git
synced 2026-08-29 01:24:39 +02:00
Update temp file to be relative
This commit is contained in:
@@ -52,10 +52,10 @@ class hierarchy_design(hierarchy_spice.spice, hierarchy_layout.layout):
|
||||
# Do not run if disabled in options.
|
||||
elif (OPTS.inline_lvsdrc or force_check or final_verification):
|
||||
|
||||
tempspice = "{0}/{1}.sp".format(OPTS.openram_temp, self.name)
|
||||
self.lvs_write(tempspice)
|
||||
tempgds = "{0}/{1}.gds".format(OPTS.openram_temp, self.name)
|
||||
self.gds_write(tempgds)
|
||||
tempspice = "{}.sp".format(self.name)
|
||||
self.lvs_write("{0}{1}".format(OPTS.openram_temp, tempspice))
|
||||
tempgds = "{}.gds".format(self.name)
|
||||
self.gds_write("{0}{1}".format(OPTS.openram_temp, tempgds))
|
||||
# Final verification option does not allow nets to be connected by label.
|
||||
self.drc_errors = verify.run_drc(self.cell_name, tempgds, tempspice, extract=True, final_verification=final_verification)
|
||||
self.lvs_errors = verify.run_lvs(self.cell_name, tempgds, tempspice, final_verification=final_verification)
|
||||
@@ -81,10 +81,10 @@ class hierarchy_design(hierarchy_spice.spice, hierarchy_layout.layout):
|
||||
if OPTS.netlist_only:
|
||||
return
|
||||
elif (not OPTS.is_unit_test and OPTS.check_lvsdrc and (OPTS.inline_lvsdrc or final_verification)):
|
||||
tempspice = "{0}{1}.sp".format(OPTS.openram_temp, self.name)
|
||||
self.lvs_write(tempspice)
|
||||
tempgds = "{0}{1}.gds".format(OPTS.openram_temp, self.cell_name)
|
||||
self.gds_write(tempgds)
|
||||
tempspice = "{}.sp".format(self.name)
|
||||
self.lvs_write("{0}{1}".format(OPTS.openram_temp, tempspice))
|
||||
tempgds = "{}.gds".format(self.cell_name)
|
||||
self.gds_write("{0}{1}".format(OPTS.openram_temp, tempgds))
|
||||
num_errors = verify.run_drc(self.cell_name, tempgds, tempspice, final_verification=final_verification)
|
||||
debug.check(num_errors == 0,
|
||||
"DRC failed for {0} with {1} error(s)".format(self.cell_name,
|
||||
@@ -101,10 +101,10 @@ class hierarchy_design(hierarchy_spice.spice, hierarchy_layout.layout):
|
||||
if OPTS.netlist_only:
|
||||
return
|
||||
elif (not OPTS.is_unit_test and OPTS.check_lvsdrc and (OPTS.inline_lvsdrc or final_verification)):
|
||||
tempspice = "{0}{1}.sp".format(OPTS.openram_temp, self.cell_name)
|
||||
self.lvs_write(tempspice)
|
||||
tempgds = "{0}{1}.gds".format(OPTS.openram_temp, self.name)
|
||||
self.gds_write(tempgds)
|
||||
tempspice = "{}.sp".format(self.cell_name)
|
||||
self.lvs_write("{0}{1}".format(OPTS.openram_temp, tempspice))
|
||||
tempgds = "{}.gds".format(self.name)
|
||||
self.gds_write("{0}{1}".format(OPTS.openram_temp, tempgds))
|
||||
num_errors = verify.run_lvs(self.name, tempgds, tempspice, final_verification=final_verification)
|
||||
debug.check(num_errors == 0,
|
||||
"LVS failed for {0} with {1} error(s)".format(self.cell_name,
|
||||
|
||||
Reference in New Issue
Block a user