3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-12-18 02:08:33 +00:00
yosys/tests/functional
2025-11-29 15:08:57 -08:00
..
.gitignore smtr: Add rkt to functional tests 2024-09-03 11:32:02 +01:00
conftest.py Remove unknown change 2025-11-29 15:01:17 -08:00
picorv32.v add picorv test to functional backend 2024-08-21 11:04:11 +01:00
picorv32_tb.v add picorv test to functional backend 2024-08-21 11:04:11 +01:00
README.md rewrite functional backend test code in python 2024-08-21 11:03:29 +01:00
rkt_vcd.py Undo formatting 2025-11-29 15:06:46 -08:00
rtlil_cells.py tests/functional: Auto parallelize 2025-07-07 10:38:32 +12:00
run-test.sh tests/functional: Reduce CI to 100 steps 2025-07-07 10:45:51 +12:00
smt_vcd.py add support for initializing registers and memories to the functional backend 2024-08-21 11:03:29 +01:00
smtio.py rewrite functional backend test code in python 2024-08-21 11:03:29 +01:00
test_functional.py Merge remote-tracking branch 'origin/main' into gussmith23-rosette-backend-updates 2025-11-29 14:20:36 -08:00
vcd_harness.cc functional backend: missing includes for stl containers 2024-08-22 11:13:58 +01:00

Tests for the functional backend use pytest as a testrunner.

Run with pytest -v

Pytest options you might want:

  • -v: More progress indication.

  • --basetemp tmp: Store test files (including vcd results) in tmp. CAREFUL: contents of tmp will be deleted

  • -k <pattern>: Run only tests that contain the pattern, e.g. -k cxx or -k smt or -k demux or -k 'cxx[demux

  • -s: Don't hide stdout/stderr from the test code.

Custom options for functional backend tests:

  • --per-cell N: Run only N tests for each cell.