Skip to content

Commit 52e6e97

Browse files
README: update block-level section
Nightlies are now tested for all blocks (except I2C). Update README to reflect that.
1 parent 6dd1952 commit 52e6e97

File tree

1 file changed

+20
-21
lines changed

1 file changed

+20
-21
lines changed

README.md

Lines changed: 20 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -275,32 +275,31 @@ gtkwave util/gpio_and_pc.gtkw
275275

276276
Block-level DV for all of the IP blocks vendored from OpenTitan can also be run using DVsim.
277277
Many blocks default to running using VCS, but they can be forced to use Xcelium using the `-t xcelium` option.
278-
At the time of writing, spi_host was having issues running properly on Xcelium but all other blocks pass their smoke regressions.
279-
280-
The smoke test for each of the blocks can be run using Xcelium with these commands:
278+
The full regression (called nightly) for each of the blocks can be run using Xcelium with these commands:
281279

282280
```sh
283281
# -- Build and run block-level tests using Xcelium --
284282
# Run all the below from the project root directory.
285-
# Run aon_timer smoke regression
286-
./hw/vendor/lowrisc_ip/util/dvsim/dvsim.py ./hw/vendor/lowrisc_ip/ip/aon_timer/dv/aon_timer_sim_cfg.hjson -i smoke -t xcelium
287-
# Run gpio smoke regression
288-
./hw/vendor/lowrisc_ip/util/dvsim/dvsim.py ./hw/vendor/lowrisc_ip/ip/gpio/dv/gpio_sim_cfg.hjson -i smoke -t xcelium
283+
# Run aon_timer regression
284+
hw/vendor/lowrisc_ip/util/dvsim/dvsim.py hw/vendor/lowrisc_ip/ip/aon_timer/dv/aon_timer_sim_cfg.hjson -i nightly --max-parallel 32 --tool xcelium
285+
# Run gpio regression
286+
hw/vendor/lowrisc_ip/util/dvsim/dvsim.py hw/vendor/lowrisc_ip/ip/gpio/dv/gpio_sim_cfg.hjson -i nightly --max-parallel 32 --tool xcelium
289287
# Run i2c smoke regression
290-
./hw/vendor/lowrisc_ip/util/dvsim/dvsim.py ./hw/vendor/lowrisc_ip/ip/i2c/dv/i2c_sim_cfg.hjson -i smoke -t xcelium
291-
# Run pattgen smoke regression
292-
./hw/vendor/lowrisc_ip/util/dvsim/dvsim.py ./hw/vendor/lowrisc_ip/ip/pattgen/dv/pattgen_sim_cfg.hjson -i smoke -t xcelium
293-
# Run pwm smoke regression
294-
# Note: pwm is awaiting an updated DV environment.
295-
# ./hw/vendor/lowrisc_ip/util/dvsim/dvsim.py ./hw/vendor/lowrisc_ip/ip/pwm/dv/pwm_sim_cfg.hjson -i smoke -t xcelium
296-
# Run rv_timer smoke regression
297-
./hw/vendor/lowrisc_ip/util/dvsim/dvsim.py ./hw/vendor/lowrisc_ip/ip/rv_timer/dv/rv_timer_sim_cfg.hjson -i smoke -t xcelium
298-
# Run spi_host smoke regression
299-
./hw/vendor/lowrisc_ip/util/dvsim/dvsim.py ./hw/vendor/lowrisc_ip/ip/spi_host/dv/spi_host_sim_cfg.hjson -i smoke -t xcelium
300-
# Run uart smoke regression
301-
./hw/vendor/lowrisc_ip/util/dvsim/dvsim.py ./hw/vendor/lowrisc_ip/ip/uart/dv/uart_sim_cfg.hjson -i smoke -t xcelium
302-
# Run usbdev smoke regression
303-
./hw/vendor/lowrisc_ip/util/dvsim/dvsim.py ./hw/vendor/lowrisc_ip/ip/usbdev/dv/usbdev_sim_cfg.hjson -i smoke -t xcelium
288+
# Note: The full I2C regression is experiencing timeouts which is being tracked here: https://github.com/lowRISC/sunburst-chip/issues/42
289+
# The command below just executes the smoke test for now.
290+
hw/vendor/lowrisc_ip/util/dvsim/dvsim.py hw/vendor/lowrisc_ip/ip/i2c/dv/i2c_sim_cfg.hjson -i smoke --max-parallel 32 --tool xcelium
291+
# Run pattgen regression
292+
hw/vendor/lowrisc_ip/util/dvsim/dvsim.py hw/vendor/lowrisc_ip/ip/pattgen/dv/pattgen_sim_cfg.hjson -i nightly --max-parallel 32 --tool xcelium
293+
# Run pwm regression
294+
hw/vendor/lowrisc_ip/util/dvsim/dvsim.py hw/vendor/lowrisc_ip/ip/pwm/dv/pwm_sim_cfg.hjson -i nightly --max-parallel 32 --tool xcelium
295+
# Run rv_timer regression
296+
hw/vendor/lowrisc_ip/util/dvsim/dvsim.py hw/vendor/lowrisc_ip/ip/rv_timer/dv/rv_timer_sim_cfg.hjson -i nightly --max-parallel 32 --tool xcelium
297+
# Run spi_host regression
298+
hw/vendor/lowrisc_ip/util/dvsim/dvsim.py hw/vendor/lowrisc_ip/ip/spi_host/dv/spi_host_sim_cfg.hjson -i nightly --max-parallel 32 --tool xcelium
299+
# Run uart regression
300+
hw/vendor/lowrisc_ip/util/dvsim/dvsim.py hw/vendor/lowrisc_ip/ip/uart/dv/uart_sim_cfg.hjson -i nightly --max-parallel 32 --tool xcelium
301+
# Run usbdev regression
302+
hw/vendor/lowrisc_ip/util/dvsim/dvsim.py hw/vendor/lowrisc_ip/ip/usbdev/dv/usbdev_sim_cfg.hjson -i nightly --max-parallel 32 --tool xcelium
304303
```
305304

306305
Like the top-level DVsim tests, artefacts end up under *scratch/* and additional output can be generated using the `-w shm` and `-v h` options.

0 commit comments

Comments
 (0)