Recall & Review
beginner
What is a D flip-flop with synchronous reset?
A D flip-flop with synchronous reset is a memory element that stores the input value (D) on the rising edge of the clock, but if the reset signal is active during the clock edge, it sets the output to zero instead of the input value.
Click to reveal answer
beginner
In Verilog, how do you describe a synchronous reset inside an always block?
You check the reset signal inside the clock edge condition, usually with an if statement before assigning the D input to the output. For example: if (reset) q <= 0; else q <= d;
Click to reveal answer
beginner
Why is the reset called synchronous in a D flip-flop with synchronous reset?
Because the reset only affects the output at the clock edge, meaning the reset signal is synchronized with the clock and does not change the output asynchronously.
Click to reveal answer
beginner
Write the sensitivity list for a D flip-flop with synchronous reset in Verilog.
The sensitivity list includes only the clock signal, for example: always @(posedge clk) begin ... end
Click to reveal answer
beginner
What happens if the reset signal is low during the clock edge in a D flip-flop with synchronous reset?
The flip-flop stores the value of the D input into the output Q at the clock edge.
Click to reveal answer
In a D flip-flop with synchronous reset, when does the reset affect the output?
✗ Incorrect
The reset is synchronous, so it only affects the output at the clock edge.
Which signal is included in the sensitivity list of a synchronous reset D flip-flop in Verilog?
✗ Incorrect
Only the clock signal is in the sensitivity list because reset is synchronous and checked inside the clock edge.
What is the output Q when reset is active during the clock edge in a synchronous reset D flip-flop?
✗ Incorrect
When reset is active, output Q is set to 0 synchronously at the clock edge.
How do you write the reset condition inside the always block for synchronous reset?
✗ Incorrect
The reset sets output to 0; otherwise, output follows input D.
What type of flip-flop behavior does a synchronous reset NOT have?
✗ Incorrect
Synchronous reset does not reset output immediately; it waits for the clock edge.
Explain how a D flip-flop with synchronous reset works and how it differs from an asynchronous reset flip-flop.
Think about when the reset changes the output.
You got /3 concepts.
Write a simple Verilog code snippet for a D flip-flop with synchronous reset and explain each part.
Focus on the clock and reset handling inside the always block.
You got /4 concepts.