[dvsim] Update dvsim to run with designated simulator
1. Update dvsim to run with designated simulator and update all IP's
sim_cfg file
2. Add coverage in the summary report, see
https://reports.opentitan.org/hw/top_earlgrey/dv/summary.html
3. change simulator to tool
Signed-off-by: Weicai Yang <weicai@google.com>
diff --git a/util/dvsim/Deploy.py b/util/dvsim/Deploy.py
index fef2982..84fb53c 100644
--- a/util/dvsim/Deploy.py
+++ b/util/dvsim/Deploy.py
@@ -410,8 +410,8 @@
self.mandatory_cmd_attrs = {
# tool srcs
- "simulator_srcs": False,
- "simulator_srcs_dir": False,
+ "tool_srcs": False,
+ "tool_srcs_dir": False,
# RAL gen
"skip_ral": False,
@@ -613,6 +613,7 @@
self.target = "cov_report"
self.pass_patterns = []
self.fail_patterns = []
+ self.cov_total = ""
self.cov_results = ""
self.mandatory_cmd_attrs = {
@@ -660,6 +661,8 @@
for val in line.split():
val += " %"
values.append(val)
+ # first row is coverage total
+ self.cov_total = values[0]
results.append(values)
colalign = (("center", ) * len(values))
self.cov_results = tabulate(results,