Wiki / Verilog language
Verilog language
wire/reg, buses, assignments, modules, tasks, and headers — the language layer under the RTL blocks.
These pages are the language notes that sit under the theory sections. Hardware patterns (counters, FSMs, RAM) stay in Sequential / FSM; come here for wire vs reg, NBA, and generate companions.
Topics in this section
See also
Simulate this in the Verilog IDE
Verilog language is easier to trust after a simulation than on a diagram alone. RTL Studio is a browser Verilog and SystemVerilog IDE: edit the RTL, lint with Slang, run the Verilator simulator, and read the VCD waveform in the same tab. Yosys synthesis is there when the code is structural RTL.
Open the Verilog IDE · Verilator simulation guide · Yosys synthesis guide
Topics
wire, reg, and logic
ready
What you can drive with assign vs always, and why SV logic replaces both.
Buses and literals
ready
Multi-bit vectors, sized literals, and concatenation.
Operators
ready
Arithmetic, bitwise, and logical operators in continuous assignments.
Concatenation
ready
Pack fields into wider buses with {} and replication.
Blocking vs non-blocking
ready
Why combo uses = and clocked state uses <= .
Modules and ports
ready
Instantiation, named port maps, and hierarchy.
Tasks, functions, system tasks
ready
Combinational functions vs timed tasks, and $readmem / $display.
Headers and macros
ready
include, define, and why localparam usually beats a global macro.