File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change 51
51
-node *.HW_STATUS.RESERVED_7_3*
52
52
-node *.INDIRECT_FIFO_RESERVED*
53
53
-node *.SOC_MGMT_RSVD*
54
- -node *.__rsvd*
54
+ -node *.__rsvd*
Original file line number Diff line number Diff line change @@ -82,6 +82,19 @@ ifeq ($(SIM), vcs)
82
82
83
83
ifneq ($(COVERAGE_TYPE),)
84
84
EXTRA_ARGS += -cm line+cond+fsm+tgl+branch
85
+
86
+ # Generate cm.cfg file based on cm.cfg.tmpl with `+tree $(TOPLEVEL)` and `-module $(TOPLEVEL)` on top.
87
+ ifeq ($(TOPLEVEL),)
88
+ $(error TOPLEVEL undefined!)
89
+ endif
90
+ CM_FILE := $(TEST_DIR ) /sim_build/cm.cfg
91
+ CM_FILE_TMPL := $(I3C_ROOT ) /verification/cm.cfg.tmpl
92
+ $(shell mkdir -p $(TEST_DIR)/sim_build)
93
+ $(shell echo "+tree $(TOPLEVEL)" >$(CM_FILE))
94
+ $(shell echo "-module $(TOPLEVEL)" >>$(CM_FILE))
95
+ $(shell echo "$$(cat $(CM_FILE_TMPL))" >>$(CM_FILE))
96
+
97
+ COMPILE_ARGS += -cm_hier $(CM_FILE )
85
98
endif
86
99
endif
87
100
You can’t perform that action at this time.
0 commit comments