Skip to content

Commit 15c23c1

Browse files
committed
[hw] Split DV and DD for lowRISC vendored IPs
This would allow us to pull in the upstream DV files while maintmaining the DD files in the same state as before. This is needed as some RTL changes are not desired while we need to get latest DV changes from upstream. This will work until the DV diverge from the DD. Then, another solution will be needed to keep the DV and DD in sync (maybe cherry- picking individual changes in an OpenTitan fork dedicated to Mocha which will be manually maintained for Mocha needs). Signed-off-by: martin-velay <mvelay@lowrisc.org>
1 parent bfaa33a commit 15c23c1

39 files changed

Lines changed: 695 additions & 609 deletions

hw/vendor/lowrisc_ip.vendor.hjson

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
{from: "hw/ip/lc_ctrl", to: "ip/lc_ctrl"}, // Dependency of crossbar and power manager.
3535
{from: "hw/ip/rom_ctrl", to: "ip/rom_ctrl", patch_dir: "rom_ctrl"}, // Read-only memory.
3636
{from: "hw/ip/rv_core_ibex", to: "ip/rv_core_pkg", patch_dir: "rv_core_pkg"}, // RISC-V core package.
37-
{from: "hw/ip/rv_timer", to: "ip/rv_timer", patch_dir: "rv_timer"}, // Timer.
37+
{from: "hw/ip/rv_timer", to: "ip/rv_timer"}, // Timer.
3838
{from: "hw/ip/spi_device", to: "ip/spi_device", patch_dir: "spi_device"}, // SPI device.
3939
{from: "hw/ip/spi_host", to: "ip/spi_host", patch_dir: "spi_host"}, // SPI host.
4040
{from: "hw/ip/tlul", to: "ip/tlul", patch_dir: "tlul"}, // Memory bus.
@@ -55,21 +55,11 @@
5555

5656
// Lint.
5757
{from: "hw/lint", to: "lint", patch_dir: "lint"},
58-
59-
// Simulation.
60-
{from: "hw/dv/dpi/gpiodpi", to: "dv/dpi/gpiodpi", patch_dir: "gpiodpi"},
61-
{from: "hw/dv/dpi/spidpi", to: "dv/dpi/spidpi"},
62-
{from: "hw/dv/dpi/uartdpi", to: "dv/dpi/uartdpi"},
63-
{from: "hw/dv/sv", to: "dv/sv", patch_dir: "dv_sv"},
64-
{from: "hw/dv/verilator", to: "dv/verilator", patch_dir: "dv_verilator"},
65-
66-
// Verification.
67-
{from: "hw/dv/tools", to: "dv/tools", patch_dir: "dv_tools"},
68-
{from: "hw/formal/tools", to: "formal/tools", patch_dir: "formal_tools"},
6958
],
7059

7160
exclude_from_upstream: [
72-
"*/BUILD",
73-
"hw/dv/tools/vcs",
61+
"**/BUILD",
62+
"hw/ip/*/dv",
63+
"hw/ip_templates/*/dv",
7464
],
7565
}

hw/vendor/lowrisc_ip_dv.lock.hjson

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
// Copyright lowRISC contributors (OpenTitan project).
2+
// Licensed under the Apache License, Version 2.0, see LICENSE for details.
3+
// SPDX-License-Identifier: Apache-2.0
4+
5+
// This file is generated by the util/vendor script. Please do not modify it
6+
// manually.
7+
8+
{
9+
upstream:
10+
{
11+
url: https://github.com/lowRISC/opentitan
12+
rev: bf4a2b24e41742151cfce9c4041e959a3ba76ca3
13+
}
14+
}
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
// Copyright lowRISC contributors.
2+
// Licensed under the Apache License, Version 2.0, see LICENSE for details.
3+
// SPDX-License-Identifier: Apache-2.0
4+
{
5+
name: "lowrisc_ip_dv",
6+
target_dir: "lowrisc_ip",
7+
patch_dir: "patches/lowrisc_ip",
8+
9+
upstream: {
10+
url: "https://github.com/lowRISC/opentitan"
11+
// Pinned revision of main branch
12+
rev: "master"
13+
}
14+
15+
mapping: [
16+
// Shared DV infrastructure.
17+
{from: "hw/dv/dpi/gpiodpi", to: "dv/dpi/gpiodpi", patch_dir: "gpiodpi"},
18+
{from: "hw/dv/dpi/spidpi", to: "dv/dpi/spidpi"},
19+
{from: "hw/dv/dpi/uartdpi", to: "dv/dpi/uartdpi"},
20+
{from: "hw/dv/sv", to: "dv/sv", patch_dir: "dv_sv"},
21+
{from: "hw/dv/verilator", to: "dv/verilator", patch_dir: "dv_verilator"},
22+
{from: "hw/dv/tools", to: "dv/tools", patch_dir: "dv_tools"},
23+
{from: "hw/formal/tools", to: "formal/tools", patch_dir: "formal_tools"},
24+
25+
// Per-IP DV environments.
26+
{from: "hw/ip/entropy_src/dv", to: "ip/entropy_src/dv", patch_dir: "entropy_src_dv"},
27+
{from: "hw/ip/i2c/dv", to: "ip/i2c/dv", patch_dir: "i2c_dv"},
28+
{from: "hw/ip/kmac/dv", to: "ip/kmac/dv"},
29+
{from: "hw/ip/lc_ctrl/dv", to: "ip/lc_ctrl/dv"},
30+
{from: "hw/ip/prim/dv", to: "ip/prim/dv", patch_dir: "prim_dv"},
31+
{from: "hw/ip/rom_ctrl/dv", to: "ip/rom_ctrl/dv", patch_dir: "rom_ctrl_dv"},
32+
{from: "hw/ip/rv_timer/dv", to: "ip/rv_timer/dv", patch_dir: "rv_timer_dv"},
33+
{from: "hw/ip/spi_device/dv", to: "ip/spi_device/dv", patch_dir: "spi_device_dv"},
34+
{from: "hw/ip/spi_host/dv", to: "ip/spi_host/dv", patch_dir: "spi_host_dv"},
35+
{from: "hw/ip/uart/dv", to: "ip/uart/dv", patch_dir: "uart_dv"},
36+
37+
// Per-IP-template DV environments.
38+
{from: "hw/ip_templates/alert_handler/dv", to: "ip_templates/alert_handler/dv"},
39+
{from: "hw/ip_templates/clkmgr/dv", to: "ip_templates/clkmgr/dv"},
40+
{from: "hw/ip_templates/gpio/dv", to: "ip_templates/gpio/dv", patch_dir: "gpio_dv"},
41+
{from: "hw/ip_templates/pwrmgr/dv", to: "ip_templates/pwrmgr/dv", patch_dir: "pwrmgr_dv"},
42+
{from: "hw/ip_templates/rstmgr/dv", to: "ip_templates/rstmgr/dv", patch_dir: "rstmgr_dv"},
43+
],
44+
45+
exclude_from_upstream: [
46+
"**/BUILD",
47+
"hw/dv/tools/vcs",
48+
],
49+
}
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
diff --git a/data/entropy_src_testplan.hjson b/data/entropy_src_testplan.hjson
2+
index 4d296d9..29a4c0c 100644
3+
--- a/data/entropy_src_testplan.hjson
4+
+++ b/data/entropy_src_testplan.hjson
5+
@@ -3,11 +3,11 @@
6+
// SPDX-License-Identifier: Apache-2.0
7+
{
8+
name: "entropy_src"
9+
- import_testplans: ["hw/dv/tools/dvsim/testplans/csr_testplan.hjson",
10+
- "hw/dv/tools/dvsim/testplans/intr_test_testplan.hjson",
11+
- "hw/dv/tools/dvsim/testplans/alert_test_testplan.hjson",
12+
- "hw/dv/tools/dvsim/testplans/tl_device_access_types_testplan.hjson",
13+
- "hw/dv/tools/dvsim/testplans/stress_all_with_reset_testplan.hjson",
14+
+ import_testplans: ["hw/vendor/lowrisc_ip/dv/tools/dvsim/testplans/csr_testplan.hjson",
15+
+ "hw/vendor/lowrisc_ip/dv/tools/dvsim/testplans/intr_test_testplan.hjson",
16+
+ "hw/vendor/lowrisc_ip/dv/tools/dvsim/testplans/alert_test_testplan.hjson",
17+
+ "hw/vendor/lowrisc_ip/dv/tools/dvsim/testplans/tl_device_access_types_testplan.hjson",
18+
+ "hw/vendor/lowrisc_ip/dv/tools/dvsim/testplans/stress_all_with_reset_testplan.hjson",
19+
"entropy_src_sec_cm_testplan.hjson"]
20+
testpoints: [
21+
{

hw/vendor/patches/lowrisc_ip/entropy_src/0002_Fix_DV_Paths.patch renamed to hw/vendor/patches/lowrisc_ip/entropy_src_dv/0001_Fix_DV_Paths.patch

Lines changed: 19 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,18 @@
1-
diff --git a/data/entropy_src_testplan.hjson b/data/entropy_src_testplan.hjson
2-
index 4d296d9..29a4c0c 100644
3-
--- a/data/entropy_src_testplan.hjson
4-
+++ b/data/entropy_src_testplan.hjson
5-
@@ -3,11 +3,11 @@
6-
// SPDX-License-Identifier: Apache-2.0
7-
{
8-
name: "entropy_src"
9-
- import_testplans: ["hw/dv/tools/dvsim/testplans/csr_testplan.hjson",
10-
- "hw/dv/tools/dvsim/testplans/intr_test_testplan.hjson",
11-
- "hw/dv/tools/dvsim/testplans/alert_test_testplan.hjson",
12-
- "hw/dv/tools/dvsim/testplans/tl_device_access_types_testplan.hjson",
13-
- "hw/dv/tools/dvsim/testplans/stress_all_with_reset_testplan.hjson",
14-
+ import_testplans: ["hw/vendor/lowrisc_ip/dv/tools/dvsim/testplans/csr_testplan.hjson",
15-
+ "hw/vendor/lowrisc_ip/dv/tools/dvsim/testplans/intr_test_testplan.hjson",
16-
+ "hw/vendor/lowrisc_ip/dv/tools/dvsim/testplans/alert_test_testplan.hjson",
17-
+ "hw/vendor/lowrisc_ip/dv/tools/dvsim/testplans/tl_device_access_types_testplan.hjson",
18-
+ "hw/vendor/lowrisc_ip/dv/tools/dvsim/testplans/stress_all_with_reset_testplan.hjson",
19-
"entropy_src_sec_cm_testplan.hjson"]
20-
testpoints: [
21-
{
22-
diff --git a/dv/entropy_src_base_sim_cfg.hjson b/dv/entropy_src_base_sim_cfg.hjson
1+
diff --git a/entropy_src_base_sim_cfg.hjson b/entropy_src_base_sim_cfg.hjson
232
index 3a79a86..df6660a 100644
24-
--- a/dv/entropy_src_base_sim_cfg.hjson
25-
+++ b/dv/entropy_src_base_sim_cfg.hjson
3+
--- a/entropy_src_base_sim_cfg.hjson
4+
+++ b/entropy_src_base_sim_cfg.hjson
265
@@ -18,22 +18,22 @@
276
fusesoc_core: lowrisc:dv:entropy_src_sim:0.1
28-
7+
298
// Testplan hjson file.
309
- testplan: "{proj_root}/hw/ip/entropy_src/data/entropy_src_testplan.hjson"
3110
+ testplan: "{proj_root}/hw/vendor/lowrisc_ip/ip/entropy_src/data/entropy_src_testplan.hjson"
32-
11+
3312
// RAL spec - used to generate the RAL model.
3413
- ral_spec: "{proj_root}/hw/ip/entropy_src/data/entropy_src.hjson"
3514
+ ral_spec: "{proj_root}/hw/vendor/lowrisc_ip/ip/entropy_src/data/entropy_src.hjson"
36-
15+
3716
// Import additional common sim cfg files.
3817
import_cfgs: [// Project wide common sim cfg file
3918
- "{proj_root}/hw/dv/tools/dvsim/common_sim_cfg.hjson",
@@ -52,11 +31,11 @@ index 3a79a86..df6660a 100644
5231
// TODO: import `stress_tests.hjson` once hanging issue is resolved.
5332
- "{proj_root}/hw/dv/tools/dvsim/tests/stress_all_test.hjson"]
5433
+ "{proj_root}/hw/vendor/lowrisc_ip/dv/tools/dvsim/tests/stress_all_test.hjson"]
55-
34+
5635
// Add additional tops for simulation.
5736
sim_tops: ["entropy_src_bind", "entropy_src_cov_bind", "sec_cm_prim_onehot_check_bind"]
5837
@@ -43,18 +43,18 @@
59-
38+
6039
xcelium_cov_refine_files: [
6140
// TODO(#16276): Finalize coverage on ExtHT ports & remove the following exclusion file
6241
- "{proj_root}/hw/ip/entropy_src/dv/cov/entropy_src_extht_exclusions.vRefine"
@@ -78,31 +57,31 @@ index 3a79a86..df6660a 100644
7857
- "{proj_root}/hw/ip/entropy_src/dv/cov/entropy_src_fifo_in_excl.vRefine",
7958
+ "{proj_root}/hw/vendor/lowrisc_ip/ip/entropy_src/dv/cov/entropy_src_fifo_in_excl.vRefine",
8059
]
81-
60+
8261
// Default UVM test and seq class name.
83-
diff --git a/dv/entropy_src_rng16bits_sim_cfg.hjson b/dv/entropy_src_rng16bits_sim_cfg.hjson
62+
diff --git a/entropy_src_rng16bits_sim_cfg.hjson b/entropy_src_rng16bits_sim_cfg.hjson
8463
index 0c2743b..bb36ab4 100644
85-
--- a/dv/entropy_src_rng16bits_sim_cfg.hjson
86-
+++ b/dv/entropy_src_rng16bits_sim_cfg.hjson
64+
--- a/entropy_src_rng16bits_sim_cfg.hjson
65+
+++ b/entropy_src_rng16bits_sim_cfg.hjson
8766
@@ -7,7 +7,7 @@
8867
variant: rng_16bits
89-
68+
9069
// Import the base entropy_src sim_cfg file
9170
- import_cfgs: ["{proj_root}/hw/ip/entropy_src/dv/entropy_src_base_sim_cfg.hjson"]
9271
+ import_cfgs: ["{proj_root}/hw/vendor/lowrisc_ip/ip/entropy_src/dv/entropy_src_base_sim_cfg.hjson"]
93-
72+
9473
build_opts: ["+define+RNG_BUS_WIDTH=16",
9574
"+define+RNG_BUS_BIT_SEL_WIDTH=4",
96-
diff --git a/dv/entropy_src_rng4bits_sim_cfg.hjson b/dv/entropy_src_rng4bits_sim_cfg.hjson
75+
diff --git a/entropy_src_rng4bits_sim_cfg.hjson b/entropy_src_rng4bits_sim_cfg.hjson
9776
index cc7ccb7..d0a21ca 100644
98-
--- a/dv/entropy_src_rng4bits_sim_cfg.hjson
99-
+++ b/dv/entropy_src_rng4bits_sim_cfg.hjson
77+
--- a/entropy_src_rng4bits_sim_cfg.hjson
78+
+++ b/entropy_src_rng4bits_sim_cfg.hjson
10079
@@ -7,7 +7,7 @@
10180
variant: rng_4bits
102-
81+
10382
// Import the base entropy_src sim_cfg file
10483
- import_cfgs: ["{proj_root}/hw/ip/entropy_src/dv/entropy_src_base_sim_cfg.hjson"]
10584
+ import_cfgs: ["{proj_root}/hw/vendor/lowrisc_ip/ip/entropy_src/dv/entropy_src_base_sim_cfg.hjson"]
106-
85+
10786
build_opts: ["+define+RNG_BUS_WIDTH=4",
10887
"+define+RNG_BUS_BIT_SEL_WIDTH=2",

hw/vendor/patches/lowrisc_ip/gpio/0001_fix_paths_and_tool.patch

Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -19,38 +19,3 @@ index c8a6fdd..8049038 100644
1919
"gpio_sec_cm_testplan.hjson"]
2020
testpoints: [
2121
{
22-
diff --git a/dv/gpio_sim_cfg.hjson.tpl b/dv/gpio_sim_cfg.hjson.tpl
23-
index 9a24e9b..fd51546 100644
24-
--- a/dv/gpio_sim_cfg.hjson.tpl
25-
+++ b/dv/gpio_sim_cfg.hjson.tpl
26-
@@ -12,7 +12,7 @@
27-
tb: tb
28-
29-
// Simulator used to sign off this block
30-
- tool: vcs
31-
+ tool: xcelium
32-
33-
// Fusesoc core file used for building the file list.
34-
fusesoc_core: ${instance_vlnv(f"lowrisc:dv:{module_instance_name}_sim:0.1")}
35-
@@ -26,14 +26,14 @@
36-
37-
// Import additional common sim cfg files.
38-
import_cfgs: [// Project wide common sim cfg file
39-
- "{proj_root}/hw/dv/tools/dvsim/common_sim_cfg.hjson",
40-
+ "{proj_root}/hw/vendor/lowrisc_ip/dv/tools/dvsim/common_sim_cfg.hjson",
41-
// Common CIP test lists
42-
- "{proj_root}/hw/dv/tools/dvsim/tests/csr_tests.hjson",
43-
- "{proj_root}/hw/dv/tools/dvsim/tests/alert_test.hjson",
44-
- "{proj_root}/hw/dv/tools/dvsim/tests/intr_test.hjson",
45-
- "{proj_root}/hw/dv/tools/dvsim/tests/tl_access_tests.hjson",
46-
- "{proj_root}/hw/dv/tools/dvsim/tests/sec_cm_tests.hjson",
47-
- "{proj_root}/hw/dv/tools/dvsim/tests/stress_tests.hjson"]
48-
+ "{proj_root}/hw/vendor/lowrisc_ip/dv/tools/dvsim/tests/csr_tests.hjson",
49-
+ "{proj_root}/hw/vendor/lowrisc_ip/dv/tools/dvsim/tests/alert_test.hjson",
50-
+ "{proj_root}/hw/vendor/lowrisc_ip/dv/tools/dvsim/tests/intr_test.hjson",
51-
+ "{proj_root}/hw/vendor/lowrisc_ip/dv/tools/dvsim/tests/tl_access_tests.hjson",
52-
+ "{proj_root}/hw/vendor/lowrisc_ip/dv/tools/dvsim/tests/sec_cm_tests.hjson",
53-
+ "{proj_root}/hw/vendor/lowrisc_ip/dv/tools/dvsim/tests/stress_tests.hjson"]
54-
55-
// Add additional tops for simulation.
56-
sim_tops: ["${module_instance_name}_bind", "sec_cm_prim_onehot_check_bind"]
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
diff --git a/gpio_sim_cfg.hjson.tpl b/gpio_sim_cfg.hjson.tpl
2+
index 9a24e9b..fd51546 100644
3+
--- a/gpio_sim_cfg.hjson.tpl
4+
+++ b/gpio_sim_cfg.hjson.tpl
5+
@@ -12,7 +12,7 @@
6+
tb: tb
7+
8+
// Simulator used to sign off this block
9+
- tool: vcs
10+
+ tool: xcelium
11+
12+
// Fusesoc core file used for building the file list.
13+
fusesoc_core: ${instance_vlnv(f"lowrisc:dv:{module_instance_name}_sim:0.1")}
14+
@@ -26,14 +26,14 @@
15+
16+
// Import additional common sim cfg files.
17+
import_cfgs: [// Project wide common sim cfg file
18+
- "{proj_root}/hw/dv/tools/dvsim/common_sim_cfg.hjson",
19+
+ "{proj_root}/hw/vendor/lowrisc_ip/dv/tools/dvsim/common_sim_cfg.hjson",
20+
// Common CIP test lists
21+
- "{proj_root}/hw/dv/tools/dvsim/tests/csr_tests.hjson",
22+
- "{proj_root}/hw/dv/tools/dvsim/tests/alert_test.hjson",
23+
- "{proj_root}/hw/dv/tools/dvsim/tests/intr_test.hjson",
24+
- "{proj_root}/hw/dv/tools/dvsim/tests/tl_access_tests.hjson",
25+
- "{proj_root}/hw/dv/tools/dvsim/tests/sec_cm_tests.hjson",
26+
- "{proj_root}/hw/dv/tools/dvsim/tests/stress_tests.hjson"]
27+
+ "{proj_root}/hw/vendor/lowrisc_ip/dv/tools/dvsim/tests/csr_tests.hjson",
28+
+ "{proj_root}/hw/vendor/lowrisc_ip/dv/tools/dvsim/tests/alert_test.hjson",
29+
+ "{proj_root}/hw/vendor/lowrisc_ip/dv/tools/dvsim/tests/intr_test.hjson",
30+
+ "{proj_root}/hw/vendor/lowrisc_ip/dv/tools/dvsim/tests/tl_access_tests.hjson",
31+
+ "{proj_root}/hw/vendor/lowrisc_ip/dv/tools/dvsim/tests/sec_cm_tests.hjson",
32+
+ "{proj_root}/hw/vendor/lowrisc_ip/dv/tools/dvsim/tests/stress_tests.hjson"]
33+
34+
// Add additional tops for simulation.
35+
sim_tops: ["${module_instance_name}_bind", "sec_cm_prim_onehot_check_bind"]

hw/vendor/patches/lowrisc_ip/i2c/0001-Fix-Paths-and-Tool.patch

Lines changed: 0 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -17,59 +17,3 @@ index 1fc121e..a6a2c84 100644
1717
"i2c_sec_cm_testplan.hjson"]
1818
testpoints: [
1919
//-----------------------------------------------
20-
diff --git a/dv/i2c_sim_cfg.hjson b/dv/i2c_sim_cfg.hjson
21-
index 392dba0..db081a6 100644
22-
--- a/dv/i2c_sim_cfg.hjson
23-
+++ b/dv/i2c_sim_cfg.hjson
24-
@@ -12,32 +12,32 @@
25-
tb: tb
26-
27-
// Simulator used to sign off this block
28-
- tool: vcs
29-
+ tool: xcelium
30-
31-
// Fusesoc core file used for building the file list.
32-
fusesoc_core: lowrisc:dv:i2c_sim:0.1
33-
34-
// Testplan hjson file.
35-
- testplan: "{proj_root}/hw/ip/i2c/data/i2c_testplan.hjson"
36-
+ testplan: "{proj_root}/hw/vendor/lowrisc_ip/ip/i2c/data/i2c_testplan.hjson"
37-
38-
// RAL spec - used to generate the RAL model.
39-
- ral_spec: "{proj_root}/hw/ip/i2c/data/i2c.hjson"
40-
+ ral_spec: "{proj_root}/hw/vendor/lowrisc_ip/ip/i2c/data/i2c.hjson"
41-
42-
// Import additional common sim cfg files.
43-
import_cfgs: [// Project wide common sim cfg file
44-
- "{proj_root}/hw/dv/tools/dvsim/common_sim_cfg.hjson",
45-
+ "{proj_root}/hw/vendor/lowrisc_ip/dv/tools/dvsim/common_sim_cfg.hjson",
46-
// Common CIP test lists
47-
- "{proj_root}/hw/dv/tools/dvsim/tests/csr_tests.hjson",
48-
- "{proj_root}/hw/dv/tools/dvsim/tests/alert_test.hjson",
49-
- "{proj_root}/hw/dv/tools/dvsim/tests/intr_test.hjson",
50-
- "{proj_root}/hw/dv/tools/dvsim/tests/sec_cm_tests.hjson",
51-
- "{proj_root}/hw/dv/tools/dvsim/tests/tl_access_tests.hjson"]
52-
+ "{proj_root}/hw/vendor/lowrisc_ip/dv/tools/dvsim/tests/csr_tests.hjson",
53-
+ "{proj_root}/hw/vendor/lowrisc_ip/dv/tools/dvsim/tests/alert_test.hjson",
54-
+ "{proj_root}/hw/vendor/lowrisc_ip/dv/tools/dvsim/tests/intr_test.hjson",
55-
+ "{proj_root}/hw/vendor/lowrisc_ip/dv/tools/dvsim/tests/sec_cm_tests.hjson",
56-
+ "{proj_root}/hw/vendor/lowrisc_ip/dv/tools/dvsim/tests/tl_access_tests.hjson"]
57-
58-
// Add additional tops for simulation.
59-
sim_tops: ["i2c_bind", "sec_cm_prim_onehot_check_bind"]
60-
61-
// Add coverage exclusion file
62-
- vcs_cov_excl_files: ["{proj_root}/hw/ip/i2c/dv/cov/i2c_cov_excl.el"]
63-
+ vcs_cov_excl_files: ["{proj_root}/hw/vendor/lowrisc_ip/ip/i2c/dv/cov/i2c_cov_excl.el"]
64-
65-
// Default iterations for all tests - each test entry can override this.
66-
reseed: 50
67-
@@ -53,7 +53,7 @@
68-
overrides: [
69-
{
70-
name: default_vcs_cov_cfg_file
71-
- value: "-cm_hier {proj_root}/hw/dv/tools/vcs/cover.cfg+{proj_root}/hw/dv/tools/vcs/common_cov_excl.cfg+{proj_root}/hw/ip/i2c/dv/cov/cov_excl.cfg"
72-
+ value: "-cm_hier {proj_root}/hw/vendor/lowrisc_ip/dv/tools/vcs/cover.cfg+{proj_root}/hw/vendor/lowrisc_ip/dv/tools/vcs/common_cov_excl.cfg+{proj_root}/hw/vendor/lowrisc_ip/ip/i2c/dv/cov/cov_excl.cfg"
73-
}
74-
]
75-

0 commit comments

Comments
 (0)