yosys/tests/functional
Gus Smith 38ee4fc730 Undo more unnecessary changes 2025-11-29 16:17:27 -08:00
..
.gitignore smtr: Add rkt to functional tests 2024-09-03 11:32:02 +01:00
README.md rewrite functional backend test code in python 2024-08-21 11:03:29 +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
rkt_vcd.py Undo more unnecessary changes 2025-11-29 16:17:27 -08:00
rtlil_cells.py Undo more changes 2025-11-29 16:06:18 -08:00
run-test.sh Make run-test work from anywhere 2025-11-29 16:08:42 -08: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 Add back param 2025-11-29 16:07:18 -08:00
vcd_harness.cc functional backend: missing includes for stl containers 2024-08-22 11:13:58 +01:00

README.md

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.