Home / Learn Verilog / Synchronous Reset

Synchronous Reset

Reset is applied at the clock edge.

Bottom lineReset is applied at the clock edge.

Breaking it down

Sync resetclkrstq401
Sync reset

In plain terms

A synchronous reset is tested inside the clocked block.

Why we use it

Cleaner timing; the reset is just another input of the logic.

Under the hood

always @(posedge clk) if (rst) ... else ...

Real-world use

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

Try it

Sync resetVerilog: edit and run

The reset needs a clock edge to take effect.

Quick quiz

1. Sync reset needs...