Skip to content

Commit 6547ab2

Browse files
gautschimirswarbrick
authored andcommitted
[pwm,dv] fix include path
A toggle exclude file is loaded for the pwm coverage collection. The provided path was not available because the variable self_dir was not defined. Signed-off-by: Michael Gautschi <[email protected]>
1 parent abcb1fb commit 6547ab2

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

hw/dv/tools/dvsim/common_sim_cfg.hjson

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@
7777
// Default list of things to export to shell
7878
exports: [
7979
{ dv_root: "{dv_root}" },
80+
{ self_dir: "{self_dir}" },
8081
{ SIMULATOR: "{tool}" },
8182
{ GUI: "{gui}"},
8283
{ GUI_DEBUG: "{gui_debug}"},

hw/ip_templates/pwm/dv/cov/cover.ccf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
include_ccf ${dv_root}/tools/xcelium/cover.ccf
77

88
// Exclude some impossible toggle coverage
9-
set_toggle_excludefile -bitexclude ${self_dir}/toggle.exclude
9+
set_toggle_excludefile -bitexclude ${self_dir}/cov/toggle.exclude

hw/top_earlgrey/ip_autogen/pwm/dv/cov/cover.ccf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
include_ccf ${dv_root}/tools/xcelium/cover.ccf
77

88
// Exclude some impossible toggle coverage
9-
set_toggle_excludefile -bitexclude ${self_dir}/toggle.exclude
9+
set_toggle_excludefile -bitexclude ${self_dir}/cov/toggle.exclude

0 commit comments

Comments
 (0)