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,8 +85,9 @@ class hierarchy_design(hierarchy_spice.spice, hierarchy_layout.layout):
|
||||||
"LVS failed for {0} with {1} errors(s)".format(self.name,
|
"LVS failed for {0} with {1} errors(s)".format(self.name,
|
||||||
num_lvs_errors))
|
num_lvs_errors))
|
||||||
|
|
||||||
os.remove(tempspice)
|
if OPTS.purge_temp:
|
||||||
os.remove(tempgds)
|
os.remove(tempspice)
|
||||||
|
os.remove(tempgds)
|
||||||
|
|
||||||
return (num_drc_errors, num_lvs_errors)
|
return (num_drc_errors, num_lvs_errors)
|
||||||
else:
|
else:
|
||||||
|
|
@ -111,7 +112,8 @@ class hierarchy_design(hierarchy_spice.spice, hierarchy_layout.layout):
|
||||||
"DRC failed for {0} with {1} error(s)".format(self.name,
|
"DRC failed for {0} with {1} error(s)".format(self.name,
|
||||||
num_errors))
|
num_errors))
|
||||||
|
|
||||||
os.remove(tempgds)
|
if OPTS.purge_temp:
|
||||||
|
os.remove(tempgds)
|
||||||
|
|
||||||
return num_errors
|
return num_errors
|
||||||
else:
|
else:
|
||||||
|
|
@ -137,8 +139,9 @@ class hierarchy_design(hierarchy_spice.spice, hierarchy_layout.layout):
|
||||||
debug.check(num_errors == 0,
|
debug.check(num_errors == 0,
|
||||||
"LVS failed for {0} with {1} error(s)".format(self.name,
|
"LVS failed for {0} with {1} error(s)".format(self.name,
|
||||||
num_errors))
|
num_errors))
|
||||||
os.remove(tempspice)
|
if OPTS.purge_temp:
|
||||||
os.remove(tempgds)
|
os.remove(tempspice)
|
||||||
|
os.remove(tempgds)
|
||||||
|
|
||||||
return num_errors
|
return num_errors
|
||||||
else:
|
else:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue