What is a clocking block?
What is a clocking block?
Model answer
A **clocking block** is a SystemVerilog construct that provides a way to model **clock-related events** in a design. It is specifically used to define the **timing and synchronisation of signals that are driven by a clock**. The clocking block can be used to **drive and sample signals** using the clock signal, so that the signals are synchronised at specific edges of the clock. Using a clocking block removes race conditions between the test bench and the DUT and makes the test bench independent of the exact clock timing.