(a) What device does the following Verilog code represent? always @(CLK, Clr, Set) begin if(Clr == 1'b1)...

Question:

(a) What device does the following Verilog code represent?
always @(CLK, Clr, Set)
begin
if(Clr == 1'b1)
Q <= 1'b0;
else if(Set == 1'b1)
Q <= 1'b1;
else if(CLK == 1'b0)
Q <= D;
else begin
end
end
(b) What happens if Clr = Set = 1 in the device in part a?

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Digital Systems Design Using Verilog

ISBN: 978-1285051079

1st edition

Authors: Charles Roth, Lizy K. John, Byeong Kil Lee

Question Posted: