should the right shift case be: 2'b01: Q_next = {MSB_in, Q_reg[N-1:1]}; instead 2'b01: Q_next = {MSB_in, Q_reg[N-1:0]}; ?
@nathanedmon718
Жыл бұрын
I was thinking the same thing
@anassalaheddin1258
Жыл бұрын
Yes, it should
@nicra2
2 жыл бұрын
Shouldn't 's' also be in sensitivity list in final code for Universal Shift Register?
@malfraihat
Жыл бұрын
"s" must be included in the sensitivity list of always block of the next sate logic it must be ( always @(s, Q_reg, MSB_in, LSB_in, I) or always @(*) ) instead of (always @(Q_reg, MSB_in, LSB_in, I))
@ercosma
Жыл бұрын
Hi! I am currently working on a calculator using registers, do you know any way to get the value of a register "A" when the computation is done?
Пікірлер: 6