mirror of https://github.com/VLSIDA/OpenRAM.git
Don't remove temp files during regular openram runs.
This commit is contained in:
parent
5dde466ab9
commit
27166c75f0
|
|
@ -85,6 +85,7 @@ class hierarchy_design(hierarchy_spice.spice, hierarchy_layout.layout):
|
|||
"LVS failed for {0} with {1} errors(s)".format(self.name,
|
||||
num_lvs_errors))
|
||||
|
||||
if OPTS.purge_temp:
|
||||
os.remove(tempspice)
|
||||
os.remove(tempgds)
|
||||
|
||||
|
|
@ -111,6 +112,7 @@ class hierarchy_design(hierarchy_spice.spice, hierarchy_layout.layout):
|
|||
"DRC failed for {0} with {1} error(s)".format(self.name,
|
||||
num_errors))
|
||||
|
||||
if OPTS.purge_temp:
|
||||
os.remove(tempgds)
|
||||
|
||||
return num_errors
|
||||
|
|
@ -137,6 +139,7 @@ class hierarchy_design(hierarchy_spice.spice, hierarchy_layout.layout):
|
|||
debug.check(num_errors == 0,
|
||||
"LVS failed for {0} with {1} error(s)".format(self.name,
|
||||
num_errors))
|
||||
if OPTS.purge_temp:
|
||||
os.remove(tempspice)
|
||||
os.remove(tempgds)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue