mirror of https://github.com/VLSIDA/OpenRAM.git
Also write .lvs file since it can be different the .sp
This commit is contained in:
parent
d48f483248
commit
282f944b2f
|
|
@ -57,7 +57,7 @@ c = sram_config(word_size=OPTS.word_size,
|
||||||
num_spare_rows=OPTS.num_spare_rows)
|
num_spare_rows=OPTS.num_spare_rows)
|
||||||
debug.print_raw("Words per row: {}".format(c.words_per_row))
|
debug.print_raw("Words per row: {}".format(c.words_per_row))
|
||||||
|
|
||||||
output_extensions = ["sp", "v", "lib", "py", "html", "log"]
|
output_extensions = ["lvs", "sp", "v", "lib", "py", "html", "log"]
|
||||||
# Only output lef/gds if back-end
|
# Only output lef/gds if back-end
|
||||||
if not OPTS.netlist_only:
|
if not OPTS.netlist_only:
|
||||||
output_extensions.extend(["lef", "gds"])
|
output_extensions.extend(["lef", "gds"])
|
||||||
|
|
|
||||||
|
|
@ -88,6 +88,13 @@ class sram():
|
||||||
self.sp_write(spname)
|
self.sp_write(spname)
|
||||||
print_time("Spice writing", datetime.datetime.now(), start_time)
|
print_time("Spice writing", datetime.datetime.now(), start_time)
|
||||||
|
|
||||||
|
# Save the LVS file
|
||||||
|
start_time = datetime.datetime.now()
|
||||||
|
spname = OPTS.output_path + self.s.name + ".lvs"
|
||||||
|
debug.print_raw("LVS: Writing to {0}".format(spname))
|
||||||
|
self.lvs_write(spname)
|
||||||
|
print_time("LVS writing", datetime.datetime.now(), start_time)
|
||||||
|
|
||||||
# Save the extracted spice file
|
# Save the extracted spice file
|
||||||
if OPTS.use_pex:
|
if OPTS.use_pex:
|
||||||
import verify
|
import verify
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue