README.md 788 B

# HDL Simulation Layer

This layer is project-defined and optional. It runs RTL testbenches on a PC HDL simulator backend.

Supported backend implementation:

  • icarus: uses iverilog to compile and vvp to run existing Verilog testbenches.
  • verilator: runs real verilator --lint-only -Wall --timing over the RTL/top filelist.
  • cocotb: runs a Python cosimulation smoke test through the Icarus backend.

This is not an Anlogic TD or chip-vendor requirement. Missing tools must be reported as blocked_missing_tool, not pass. A detector implementation gap is fail, not an acceptable blocked state.

Bad fixtures under tests/fixtures/ are used only by pid_harness.py detector-selftest --run; they prove that detectors can catch compile, lint, or scoreboard failures.