Home / Learn Verilog / initial Blocks
initial Blocks
Run once at time 0.
In shortRun once at time 0.
What's actually going on
The basic idea
An initial block executes once from the start of simulation.
Why this comes up
Testbench stimulus and register presets.
The mechanics
Many initial blocks start together.
Where it is used
- Everyday RTL design
- FPGA and ASIC projects
- Testbenches and debugging
Try it
Sequenced stimulusVerilog: edit and run
Two initial blocks run in parallel.
Quick check
1. initial runs...
One time.