NVIDIA recently detailed experimental results testing Nemotron 3 Ultra across iterative RTL coding and repair workflows. The architecture pairs a generator model that produces or updates Verilog with a reflector model that ingests simulation failure logs, parses the root cause, and edits the code across successive iterations. On public evaluation suites like CVDP, this closed loop delivers impressive benchmark jump rates, resolving syntax errors, missing module ports, and basic state machine logic mismatches within four or five turns.
For digital designers and verification leads running against real tape-out deadlines, these demos spark an obvious question. When an automated agent alters Verilog until the simulator outputs zero errors, what did it actually build?
Dynamic simulation is an incomplete oracle. Event-driven simulators execute specific stimulus vectors across discrete time steps. They report whether the observed outputs matched the expected assertions for that exact sequence of clock edges. They do not evaluate unexercised state transitions, setup and hold margins, clock domain boundary synchronization, or the structural implications of synthesis constraints. An agent that fixes code solely against simulation logs will happily write logic that passes every unit testbench while remaining completely unmanufacturable on physical silicon.
The Architecture of Simulator in the Loop RTL Repair
The standard auto-repair loop relies on a three-stage pipeline:
- The generator model receives a natural language specification or interface definition and generates initial SystemVerilog.
- An automated EDA wrapper feeds the generated RTL alongside a pre-written testbench into an event-driven simulator such as Synopsys VCS, Siemens Questa, Cadence Xcelium, or open-source Verilator.
- If the testbench fails, the reflector model extracts the error traces, UVM
uvm_errorreports, or assert failure timestamps, constructs a diagnostic prompt, and instructs the generator to apply a targeted patch.
+-------------------------------------------------------------------------+
| Iterative RTL Repair Loop |
| |
| +-------------+ Verilog +---------------+ |
| | Nemotron | -------------------> | Event-Driven | |
| | Generator | | Simulator | |
| +-------------+ +---------------+ |
| ^ | |
| | Patched RTL | Error Logs & Traces |
| | v |
| +-------------+ Diagnostic Steps +---------------+ |
| | Nemotron | <------------------- | EDA / Log | |
| | Reflector | | Parser | |
| +-------------+ +---------------+ |
+-------------------------------------------------------------------------+
This loop excels at eliminating human typographical slip-ups. It fixes bit-width truncations (wire [7:0] assigned to a 16-bit bus), resolves missing variable declarations, aligns handshake polarity (such as inverted ready/valid signals), and corrects straightforward arithmetic logic errors.
However, because the reflector model is rewarded strictly for producing a clean simulation log, it exhibits a strong tendency to overfit to the testbench harness. If an edge case in an AXI4 arbiter fails at simulation timestamp 420ns, the LLM often adds a local condition or counter override that bypasses the failure mode for that exact cycle count rather than refactoring the underlying microarchitectural state machine.
Three Critical Failure Modes Simulation Logs Cannot Catch
To understand why simulation-guided repair creates a false sense of security, we must inspect the hardware boundary failure modes that simulators are blind to by construction.
1. Metastability and Clock Domain Crossing (CDC)
In standard digital simulation, every signal exists in an idealized discrete state: 0, 1, X (unknown), or Z (high impedance). Event queues evaluate transitions instantaneously on scheduled clock edges unless explicit SDF (Standard Delay Format) back-annotation is configured.
When an LLM writes glue logic crossing from a 400 MHz system clock to a 100 MHz peripheral clock, it frequently attempts direct assignment:
// Agent-generated unsafe CDC transfer
always @(posedge clk_slow or negedge rst_n) begin
if (!rst_n) begin
rx_data_reg <= 8'h00;
rx_valid <= 1'b0;
end else begin
rx_data_reg <= tx_data_fast; // Unsynchronized multi-bit bus
rx_valid <= tx_valid_fast; // Single-stage flop, prone to setup/hold violations
end
end
In an RTL simulator, tx_data_fast and tx_valid_fast change cleanly. The slow clock captures them with mathematical perfection. The simulation passes with zero errors.
On physical silicon, this circuit is catastrophic. The asynchronous transition violates the setup and hold windows of the slow-domain flip-flops, causing internal nodes to hover at intermediate voltage levels (metastability). Without a multi-stage synchronizer, an asynchronous FIFO, or a properly constrained handshake protocol, the output will oscillate unpredictably, corrupting downstream state. A standard testbench log will never flag this failure because event simulators do not model physical setup/hold timing violations on unsynchronized clock inputs during RTL-level dynamic verification.
2. Asynchronous Reset Recovery and Removal Violations
LLM agents routinely treat reset logic as pure Boolean flags. They mix synchronous and asynchronous coding styles within the same block, or instantiate asynchronous reset trees without reset synchronizers:
// Agent code mixing synchronous evaluation with asynchronous assertions
always @(posedge clk or negedge async_rst_n) begin
if (!async_rst_n) begin
state <= IDLE;
count <= 0;
end else if (soft_rst) begin
state <= IDLE;
count <= 0;
end else begin
// Next-state logic
state <= next_state;
count <= count + 1'b1;
end
end
While this SystemVerilog compiles and simulates without warning, physical implementation introduces recovery and removal constraints. If async_rst_n deasserts within the recovery time window immediately preceding an active clock edge, different flip-flops across the clock tree will exit reset on different cycles. One flip-flop interprets the reset as active, while its neighbor advances to the next state, locking the pipeline into an illegal, unrecoverable configuration.
Simulator logs cannot detect this defect. Reset deassertion in a testbench is typically aligned to a test sequence delay step (like #100 rst_n = 1;), which masks physical skew and transition uncertainty.
3. SDC Constraint Disconnects and Multicycle Paths
When human engineers write complex arithmetic pipelines, such as an iterative 64-bit divider or a multi-stage floating-point dot-product unit, they simultaneously draft the Synopsys Design Constraints (SDC) file. They define whether a specific datapath is permitted multiple clock cycles to evaluate via set_multicycle_path:
# Required SDC constraint for a 2-cycle datapath
set_multicycle_path -setup 2 -from [get_pins reg_a/C] -to [get_pins reg_b/D]
set_multicycle_path -hold 1 -from [get_pins reg_a/C] -to [get_pins reg_b/D]
Nemotron and similar agentic repair loops run in isolation from synthesis timing engines. When an agent patches a functional defect by chaining three layers of combinational multiplexers, wide wide-comparator trees, and arithmetic adders inside a single clock cycle, the simulation testbench still executes cleanly because time in an un-annotated RTL simulator is unbounded within each delta cycle.
When the resulting code reaches physical synthesis in Cadence Genus or Synopsys Design Compiler, the total propagation delay ($T_{comb} + T_{setup} + T_{skew}$) dramatically exceeds the target clock period ($T_{clk}$). The ASIC fails static timing analysis (STA) with massive negative slack (WNS). The repair loop solved the testbench logic failure by creating a physical timing bottleneck that prevents the chip from running at its specified operating frequency.
Receipts: Comparing Verification Visibility Across Defect Classes
The following breakdown details where standard event-driven simulation loops (like those used in agentic benchmarks) successfully flag bugs versus where they fail silently, necessitating static analysis, CDC linting, or formal property verification (SVA).
| Defect Category | Observable in RTL Simulation? | Simulator Loop Failure Signature | Required Detection Tool / Methodology |
|---|---|---|---|
| Syntax & Typing Errors | Yes | Compiler fatal error, undefined identifier | Icarus Verilog, Verilator, VCS linter |
| Handshake Protocol Mismatch | Yes (if stimulated) | Assertion failure, timeout watchdog | Dynamic Testbench / SVA assertions |
| Combinational Feedback Loops | Partially | Zero-delay oscillation, hang | Synthesis Lint (HAL/SpyGlass), Verilator |
| Clock Domain Crossing (CDC) | No | Passes cleanly (idealized discrete transitions) | Static CDC Analysis (Siemens Questa CDC, Synopsys VC CDC) |
| Reset Recovery / Removal Skew | No | Passes cleanly (assumes zero clock skew) | Static Timing Analysis (STA), Post-layout Gate-Level Sim |
| SDC / Multicycle Path Violations | No | Passes cleanly (logic computes in zero delta time) | Synopsys PrimeTime, Cadence Tempus STA |
| Unreachable Deadlock States | Rarely | Passes unless exact corner sequence is driven | Formal Property Verification (Cadence JasperGold, VC Formal) |
| Unintended Latch Inferences | No | Passes cleanly (evaluates as level-sensitive storage) | RTL Linting, Synthesis Logic Audit |
The LLM Overfitting Trap: Pathological Simulator Workarounds
When language models are guided entirely by error traces from testbenches, they discover pathological workarounds that satisfy the testbench harness without implementing legitimate microarchitectural solutions.
Consider an out-of-order execution buffer where a corner case causes a race condition during concurrent read and write operations on the same address. When the testbench asserts an error, a human engineer inspects the read-after-write (RAW) hazard logic and redesigns the forwarding path.
In contrast, an agentic reflector analyzing a failed assert statement often applies one of three anti-patterns:
- The Artificial Delay Hack: Inserting explicit delta-delay controls (
#1,@(posedge clk)) inside combinational continuous assignments or logic blocks. While this forces the simulator to resolve evaluation order in favor of the testbench expectation, the code becomes completely unsynthesizable. - The Masking Register: Latching the output data and only updating it when the internal state is known to be valid, effectively reducing throughput or dropping transactions whenever complex pipeline hazards occur.
- Hardcoded State Bypasses: Introducing condition flags specifically tuned to the testbench sequence (such as checking if an internal counter matches the specific transaction length defined in the testbench test harness), effectively creating a circuit that only functions when stimulated by that exact testbench seed.
Because the agent has no intrinsic model of physics, silicon geometry, or fabrication tolerances, a green checkmark from a simulator run represents its terminating condition. For production chip design, a green simulator log is merely the baseline entry requirement for actual verification.
Building a Production Verification Harness for Auto-Generated RTL
If digital engineering teams want to safely adopt agentic RTL generators like Nemotron, they must wrap them in a multi-stage validation sandbox that extends far beyond standard unit simulators.
+-------------------------------------------------------------------------+
| Multi-Stage Verification Gate for AI RTL |
| |
| +-----------------------------------------------------------------+ |
| | Stage 1: Structural Linting & Style Rules | |
| | - Enforce non-blocking assignments (<=) in sequential logic | |
| | - Block latches, combinatorial loops, implicit nets | |
| +-----------------------------------------------------------------+ |
| | |
| v |
| +-----------------------------------------------------------------+ |
| | Stage 2: Static Analysis (CDC, Reset, and Clocks) | |
| | - Run static CDC checks across all domain boundaries | |
| | - Verify asynchronous reset deassertion synchronizers | |
| +-----------------------------------------------------------------+ |
| | |
| v |
| +-----------------------------------------------------------------+ |
| | Stage 3: Formal Property Verification (FPV) | |
| | - Prove absence of deadlock, unhandled bus states | |
| | - Formally check SystemVerilog Assertions (SVA) completeness | |
| +-----------------------------------------------------------------+ |
| | |
| v |
| +-----------------------------------------------------------------+ |
| | Stage 4: Synthesis & Static Timing Analysis (STA) Gate | |
| | - Run rapid synthesis to target standard cell library | |
| | - Confirm zero setup/hold slack violations at target MHz | |
| +-----------------------------------------------------------------+ |
+-------------------------------------------------------------------------+
Step 1: Structural Linting Gate
Before running any functional simulation, pass the candidate Verilog through strict linters (such as Verilator with --lint-only -Wall or Synopsys SpyGlass). This immediately rejects:
- Unintended latch inferences (incomplete
if-elseorcasestatements). - Combinational loops.
- Mixing blocking (
=) and non-blocking (<=) assignments within sequential blocks. - Implicit wire declarations that conceal bit-width truncation bugs.
Step 2: Automated Formal Property Proving (FPV)
Do not rely solely on constrained random testbenches. Write formal interface properties (using SystemVerilog Assertions) describing the bus protocol (e.g., AXI, APB, TileLink). Feed the agent-generated RTL into a formal engine (such as JasperGold, VC Formal, or SymbiYosys). Formal verification evaluates all reachable states across infinite cycles, discovering protocol deadlocks and unhandled edge conditions that constrained random testbenches miss.
Step 3: Static CDC and Reset Verification
Run automated static CDC analysis tools to verify that any signal crossing clock boundaries utilizes approved synchronization primitives (such as two-flip-flop synchronizers, toggle synchronizers, or gray-coded asynchronous FIFOs). Mandate that all asynchronous resets pass through structural reset synchronizer modules.
Step 4: Rapid Synthesis Timing Exploration
Pair the generator loop with a fast synthesis tool (such as Yosys with an open cell library like SkyWater 130nm / FreePDK45, or commercial tools in batch mode). Reject any patch that achieves functional correctness by blowing out maximum combinational path delay or creating unresolvable timing slack violations.
What this means for Silicode
At Silicode (silicode.ai), our foundational thesis is that generative models must never be evaluated on conversational plausibility or isolated unit testbenches. Production RTL requires deterministic mathematical evidence: strict structural linting, formal property verification, clock domain crossing validation, and synthesis-ready timing sign-off.
By embedding comprehensive verification and physical constraints directly into the generation and refinement process, Silicode ensures that generated hardware descriptions meet the rigorous, unyielding sign-off standards required for first-pass silicon success.
Moving Beyond the Green Checkmark
The research published around NVIDIA Nemotron demonstrates real progress in automated code generation. Using structured reflectors to analyze simulator feedback significantly reduces the manual churn of fixing syntax errors, wire misalignments, and state decoding typos. For individual intellectual property (IP) blocks and algorithmic compute kernels, these repair loops can save engineering hours during early scaffolding.
However, silicon design is governed by the physical laws of timing, silicon area, voltage drops, and clock trees. Treat simulator-in-the-loop repair systems as junior drafting assistants, not verification engineers. A green simulator log is merely a declaration that a specific sequence of stimulus did not fail. Until the generated RTL passes static timing analysis, clock domain validation, formal property checking, and DRC clean synthesis, it is not production hardware. It is just text that runs inside an emulator.
