RTL Syntax Primer: What Circuit Does Each Line Build?
Read fifteen common SystemVerilog constructs, see the circuit each one builds, and check good and bad versions with simulation and synthesis.
MY ACADEMY · SERIES
Read this series in order.
17 articles
Read fifteen common SystemVerilog constructs, see the circuit each one builds, and check good and bad versions with simulation and synthesis.
Build a one-bit mux for two sensor flags. Learn modules, ports, instances and continuous assignment, then run simulation and synthesis. Includes a lesson film, an interactive model and runnable RTL.
Follow an eight-bit sensor value through hexadecimal, truncation, two’s complement and a real sign-extension bug, with a bilingual film, bit inspector and runnable RTL.
Compare bitwise and logical operators, then test exactly which sensor formats a channel accepts.
Follow a three-channel selector and trace the retained output of an incomplete assignment.
Trace carry in a four-bit sum, then compare a reading with a signed offset.
Build a channel bank at three sizes and test the boundary between a valid selector and an unused code.
Follow a sensor result through sampling, holds and synchronous reset.
Trace three samples through two registers and compare the values before and after each edge.
Count accepted samples across idle cycles and find the edge that completes a batch of four.
Follow a collector from idle through sampling to reporting and identify the event that moves each state.
Hold one result through three stalled cycles, then trace the old and new words during a simultaneous handoff.
Build an expected queue from accepted transactions and test whether it catches losses, duplicates, reordering and stalled-data corruption.
Trace valid and data through both designs and budget the setup time of each pipeline stage.
Change the sampling phase and follow a pulse and a held request across two clock domains.
Check a stalled output across edges and use cover to see if the test reached that condition.
Assemble a collector and check each delivery from its interface history in a reproducible handoff.