Displaying posts in the categoryRTL Design
RTL Design articles
RTL Design
The hardest logic design interview questions are not about definitions. They describe a failure on a real chip, such as a FIFO that fails at speed, a register that flips on its own or a reset that will not release cleanly, and ask you to reason from symptom to cause to fix. Below are ten such questions, each with a model answer, the points a strong candidate covers and the follow-ups interviewers tend to ask. Anyone who has sat a semiconducto…
by
Murugavel Ganesan
August 29, 2025
Verilog
To divide a 1 GHz clock down to an average of exactly 622.08 MHz with digital logic only, use a phase accumulator: add 1944 every input cycle, modulo 3125, and produce one output pulse each time the sum wraps. That works because 1000 / 622.08 reduces exactly to 3125 / 1944, so the output alternates between periods of one and two input cycles, the long-run average is exact, and every output edge stays within one input cycle of its ideal position.…
by
Murugavel Ganesan
August 29, 2025
Verilog
The most common RTL coding mistakes come from forgetting that Verilog and VHDL describe hardware, not a program. Unsynchronised clock domain crossings, software-style code, accidental latches, incomplete resets, tangled state machines, thin simulation, missing timing constraints, hard-coded widths, unreadable code and unchecked synthesis output account for most of the bugs found in junior engineers' designs. Each one is avoidable with a fe…
by
Murugavel Ganesan
June 09, 2025
Tutorials
Your first hardware design will probably fail in the field because it was proven under lab conditions: stable supply, room temperature, short test runs and well-behaved neighbours. The field adds supply transients, heat, vibration, ageing, noisy partner devices and years of run time, and it exposes every state, register and corner case the design never planned for. You prevent most of these failures by designing for recovery, for observability a…
by
Murugavel Ganesan
May 03, 2025
Top10
The RTL coding mistakes that cost the most power and area are the ones that make logic toggle when it does no useful work, or that build more hardware than the function needs. Clocks that run when registers hold their value, glitchy deep logic, oversized buses, resets on every flop and accidental latches are the usual culprits. Synthesis tools recover some of this, but they cannot undo an architecture or coding style that asks for waste. Below a…
by
Murugavel Ganesan
April 07, 2025
Verilog
RTL design and micro architecture interviews test three things: whether you can describe hardware correctly in Verilog or SystemVerilog, whether you understand timing, clocking and reset well enough to build something that works on silicon, and whether you can reason about trade-offs in performance, power and area. The 50 questions below cover all three, from counters and FIFOs to pipelines, caches and clock domain crossing, and each one now com…
by
Murugavel Ganesan
January 03, 2025