What is Synchronous reset?
A reset sampled at clock edges to initialize flip-flops. Timing is easier to analyze, but it does not act while the clock is stopped.
Japanese name: 同期リセット
A reset sampled at clock edges to initialize flip-flops. Timing is easier to analyze, but it does not act while the clock is stopped.
Japanese name: 同期リセット
In Verilog it is written like 'always @(posedge clk) if (!rst_n) q <= 0; else q <= d;'. The sensitivity list contains the clock edge and not the reset signal. The reset is therefore examined when a clock edge arrives. As a circuit, the reset is built into the logic in front of the data input. The flip-flop captures 0 when reset is active and d otherwise. Depending on the library or FPGA, a flip-flop with a synchronous reset input may be used instead.
The reset signal travels to the data input through logic, along the same kind of path as other data. Its timing can therefore be analyzed like ordinary data, with setup and hold checks. A short glitch that occurs away from a clock edge is not captured. Release also happens at a clock edge, so flip-flops on the same clock start running in the same cycle. This holds, however, when the reset signal is itself synchronous to that clock.
The reset does not act unless the clock is running. There is also a condition on pulse width. A reset 4 ns wide applied to a clock with a 10 ns period can fall between two edges and be missed. To be captured reliably it is held longer than one period, with margin before and after the edge. The reset also fails to reach logic whose clock has been stopped by clock gating. Because logic is added to the data path, the delay may increase slightly.
Answer: B. A synchronous reset takes effect only at clock edges; an asynchronous reset takes effect immediately regardless of the clock
A synchronous reset samples the reset signal at clock edges like any other input, which eases timing analysis, but it cannot reset without a running clock. An asynchronous reset uses the flip-flop's reset pin directly, so it acts at once even without a clock, but if release happens near a clock edge, flip-flops may come out of reset at different cycles.
Not as it is. A signal that changes with no relation to the clock can violate setup or hold time and cause metastability. It is first aligned to the clock with a synchronizer and then used.
In the sensitivity list. If the list contains the clock edge alone and the reset is tested inside the block, the reset is synchronous. If a reset edge is listed too, as in 'or negedge rst_n', it is asynchronous.
As an Amazon Associate I earn from qualifying purchases.
This page was drafted with AI and fact-checked by a separate AI review before publication. Our Editorial policy explains how we write and check content. If you spot an error, please tell us on our Contact page.