URL
https://opencores.org/ocsvn/rtf8088/rtf8088/trunk
Subversion Repositories rtf8088
Compare Revisions
- This comparison shows the changes necessary to convert path
/rtf8088
- from Rev 4 to Rev 5
- ↔ Reverse comparison
Rev 4 → Rev 5
/trunk/rtl/verilog/EXECUTE.v
253,6 → 253,7
begin |
state <= IFETCH; |
wrregs <= 1'b1; |
rrr <= rm; |
if (w) |
case(rrr) |
3'b000: // ROL |
281,6 → 282,7
end |
3'b100: // SHL |
begin |
$display("SHL:%h,%h,%d",shlo[15:0],b,shftamt); |
res <= shlo[15:0]; |
cf <= shlo[16]; |
vf <= b[15]^b[14]; |
287,6 → 289,7
end |
3'b101: // SHR |
begin |
$display("SHR:%h,%h,%d",shruo[31:16],b,shftamt); |
res <= shruo[31:16]; |
cf <= shruo[15]; |
vf <= b[15]; |