What you practice
My First RTL (0.2). Write and verify a 2-input AND gate in Verilog using assign and &. It is in Part 0 · Warming Up of the Verilog Masterclass. Get comfortable with RtlStudio before diving into syntax.
RTL Studio is a browser Verilog IDE and simulator. This free lesson runs there: the editor, Slang lint, Verilator, a VCD waveform viewer, and Yosys, with nothing to install.
Run it in the Verilog IDE
- Open this lesson in the IDE. The workspace is the Verilog module and its testbench.
- Edit the RTL so it matches the lesson goal, then lint it with Slang.
- Run the in-browser Verilator simulation. Read the log, then open the VCD in the waveform viewer.
- When the block is structural RTL, run Yosys in the same tab and compare the mapped cells with the behavior you just simulated.
The lesson is done when the simulation matches My First RTL. Change the source, run the Verilog simulator again, and read the waveform without leaving the IDE. Simulation guide · Yosys guide.