The Field-Upgradable Hardware Security Monitor had chip simulations that could wait forever for a transaction-ready signal. One continuous integration (CI) run spent more than 20 minutes in Icarus Verilog, an open-source hardware simulator, without printing a result. The project now makes a stalled simulation fail at two boundaries instead of blocking the test queue.
Inside the testbench, a watchdog fires after 20 milliseconds of simulated circuit time; the longest normal run ends near 1.3 milliseconds. Outside the simulator, two Python runners stop each process after 900 seconds of real time. Unbuffered output also puts progress into the CI log before a cancellation. Mutation tests, which deliberately damage the design to prove the tests notice, count a timeout as a failed run while still rejecting a baseline that hangs.
These limits turn a missing handshake from an infrastructure mystery into a named test failure with a cycle count. The 900-second outer limit is generous, but it is measurable; if normal runtime grows toward it, maintainers can see the margin disappearing and split the suite before the queue starts stalling again.