Adding missing pex stage
Also fixing bug with import_script, no need for tcl file for verilator
@@ -171,7 +171,7 @@ class Chip:
'''
for key in self.cfg:
- if (self.cfg[key]['type']=="file"):
+ if self.cfg[key]['type'] == "file":
for i, val in enumerate(self.cfg[key]['values']):
self.cfg[key]['values'][i] = str(os.path.abspath(val))
@@ -728,6 +728,7 @@ def defaults():
"cts",
"route",
"signoff",
+ "pex",
"lec",
"sta",
"pi",
@@ -769,18 +770,20 @@ def defaults():
#Common values
default_cfg['sc_' + stage + '_jobid']['values'] = 0
- default_cfg['sc_' + stage + '_script']['values'] = [asic_dir + stage + ".tcl"]
default_cfg['sc_' + stage + '_np']['values'] = 4
#Tool specific values
if stage == "import":
default_cfg['sc_import_tool']['values'] = "verilator"
default_cfg['sc_import_opt']['values'] = ["--lint-only", "--debug"]
+ default_cfg['sc_import_script']['values'] = []
elif stage == "syn":
default_cfg['sc_syn_tool']['values'] = "yosys"
default_cfg['sc_syn_opt']['values'] = ["-c"]
+ default_cfg['sc_syn_script']['values'] = [asic_dir + stage + ".tcl"]
else:
default_cfg['sc_' + stage + '_tool']['values'] = "openroad"
default_cfg['sc_' + stage + '_opt']['values'] = ["-no_init", "-exit"]
+ default_cfg['sc_' + stage + '_script']['values'] = [asic_dir + stage + ".tcl"]
return default_cfg
