(Solved):
c) Given a Verilog code for two cascaded flip-flops as below. Sketch the logi ...
???????
c) Given a Verilog code for two cascaded flip-flops as below. Sketch the logic circuit diagram represented those code. module example5_4 (D, Clock, Q1, Q2); input D, Clock; output reg Q1, Q2; always @(posedge Clock) begin Q1<=D;Q2<=Q1; end endmodule
in the given code we have two flips and are cascadedthe input for one flipflop is D and its output is Q1 .we have another flipflop whose output Q2 is depends on Q1 .