caravel/verilog/dv/cocotb
M0stafaRady d12fac2ad1 update run script to delete vcs files before test run 2022-10-01 12:28:52 -07:00
..
hex_files add test uart_rx 2022-10-01 02:23:47 -07:00
tests fix timeout values to the passing number of cycles required + 10% 2022-10-01 04:11:46 -07:00
wb_models/housekeepingWB Adding cocotb evironment with tests and scripts to run 2022-09-30 03:52:34 -07:00
.gitignore remove AN.DB folder from git hub 2022-09-30 03:52:34 -07:00
Makefile Adding cocotb evironment with tests and scripts to run 2022-09-30 03:52:34 -07:00
README.md simple readme 2022-09-30 03:52:34 -07:00
caravel.py Adding cocotb evironment with tests and scripts to run 2022-09-30 03:52:34 -07:00
caravel_tests.py Adding cocotb evironment with tests and scripts to run 2022-09-30 03:52:34 -07:00
caravel_top.sv Adding cocotb evironment with tests and scripts to run 2022-09-30 03:52:34 -07:00
common.py Adding cocotb evironment with tests and scripts to run 2022-09-30 03:52:34 -07:00
cpu.py Adding cocotb evironment with tests and scripts to run 2022-09-30 03:52:34 -07:00
defsParser.py Adding cocotb evironment with tests and scripts to run 2022-09-30 03:52:34 -07:00
logic_analyzer.py Adding cocotb evironment with tests and scripts to run 2022-09-30 03:52:34 -07:00
pli.tab Adding cocotb evironment with tests and scripts to run 2022-09-30 03:52:34 -07:00
run.py update run script to delete vcs files before test run 2022-10-01 12:28:52 -07:00
tests.json add test uart_rx 2022-10-01 02:23:47 -07:00

README.md

How to run test:

Navigate to the cocotb directory and run the following command

To run test :

python3 run.py -t <test/s> -sim <type of simulation/s RTL GL or GL_SDF> -tag

Or

python3 run.py --test <test/s> -sim <type of simulation/s RTL GL or GL_SDF> -tag

To run regression

python3 run.py -r -tag

Or

python3 run.py --regression -tag

Notes

Tests and regressions can be used in the same command

Tests and regressions can be found under cocotb/tests.json