yosys/tests/functional
Emily Schmidt 99effb6789 add support for initializing registers and memories to the functional backend 2024-08-21 11:03:29 +01:00
..
.gitignore Emit valid SMT for stateful designs, fix some cells 2024-08-21 11:02:31 +01:00
README.md rewrite functional backend test code in python 2024-08-21 11:03:29 +01:00
conftest.py fix a few bugs in the functional backend and refactor the testing 2024-08-21 11:03:29 +01:00
rtlil_cells.py add support for initializing registers and memories to the functional backend 2024-08-21 11:03:29 +01:00
run-test.sh rewrite functional backend test code in python 2024-08-21 11:03:29 +01: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 support for initializing registers and memories to the functional backend 2024-08-21 11:03:29 +01:00
vcd_harness.cc add support for initializing registers and memories to the functional backend 2024-08-21 11:03:29 +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.