Simulators in the image
When a finding survives the second agent, Breakspec writes a testbench against the RTL of the repository and simulates it. Breakspec then runs the same simulation again itself. The evidence level of the finding comes from that rerun.
| simulator | used for |
|---|---|
| Icarus Verilog | Verilog and SystemVerilog. Breakspec uses it first for these languages. |
| Verilator | SystemVerilog that Icarus Verilog cannot read. |
| GHDL | VHDL. |
A design that instantiates vendor primitives, vendor IP or encrypted cores does not compile in Icarus Verilog, Verilator or GHDL. A finding there is not reproduced.
Each simulation runs in the container of its review, on your machine. The simulation records a waveform, and Breakspec keeps the waveform with the finding.
These simulators do not read encrypted cores. They also do not have the simulation libraries of FPGA vendors. A finding that needs these to simulate is not reproduced. It keeps the level "confirmed by reading the code, not run" or "raised by a reviewer, not examined".
VHDL
- The reviewers read VHDL as they read Verilog.
- A reproduction of a VHDL finding uses a VHDL testbench and GHDL.
- The image contains the Synopsys packages that older FPGA code uses, such as
std_logic_unsigned. - GHDL does not read Verilog. A design that mixes VHDL and Verilog is simulated one language at a time.
- The contract checks and the formal checks of the command line tool need Verilog or SystemVerilog.
Commercial simulators are in testing
Some designs need Questa, VCS, Xcelium or the Vivado simulator. Breakspec has code to run a reproduction with one of these, from the install and the licence of the team. Breakspec ships no commercial simulator and no licence.
What has been run
| simulator | run against a real install |
|---|---|
| Vivado simulator | Yes, by the rerun step of Breakspec. Not yet in a complete review. |
| Questa | No. Tested with stand-in programs only. |
| VCS | No. Tested with stand-in programs only. |
| Xcelium | No. Tested with stand-in programs only. |
The Vivado simulator (version 2026.1) ran from the review image, with a licence, through the rerun step. It simulated SystemVerilog, VHDL, a design in both languages, and designs with Xilinx primitives. The rerun read the waveform in each case.
What has not been run
- No agent has used the Vivado simulator in a review. We ran the commands by hand through the rerun step.
- The Vivado test did not go through the Compose bundle. Its licence was tied to the network card of the host.
- A floating licence server has not been tried.
- Encrypted cores have not been tried.
- Questa, VCS and Xcelium have not been run. Their commands are written from the documentation of the vendors and can be wrong in detail.
All four simulators need an x86-64 Docker host. None of them runs on Arm.