Commit 50de7a82 authored by Koen Martens's avatar Koen Martens
Browse files

cpu: fix bug in ld (use src instead of dst)

parent a31e0991
......@@ -259,7 +259,7 @@ module cpu
state = STATE_FETCH_OPCODE1_ADR;
end else if(opcode1_prefix == OPCODE1_PREFIX_LD) begin
state = STATE_LOAD_WAIT;
adr_o = dst;
adr_o = src;
we_o = 1'b0;
cyc_o = 1'b1;
stb_o = 1'b1;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment