Home / Learn Verilog / Delays in assign

Delays in assign

Model propagation delay.

The short versionModel propagation delay.

Theory in plain words

Delayay
Delay

What it is

assign #3 y = a & b; delays the update by 3 time units.

Why it matters

Teaching glitches; not used for synthesis.

Mechanically speaking

Synthesis ignores delays.

Shows up in

  • Everyday RTL design
  • FPGA and ASIC projects
  • Testbenches and debugging

Try it

Delayed ANDVerilog: edit and run

y rises 3 units after a.

Check yourself

1. Do synthesis tools use #delays?