fixed decoder

This commit is contained in:
Pasquale Davide Schiavone 2017-01-19 13:44:45 +01:00
parent 11f0e4556d
commit 9c68effb6b

View file

@ -242,8 +242,7 @@ module littleriscv_decoder
// //
//////////////////////////////////
OPCODE_STORE,
OPCODE_STORE_POST: begin
OPCODE_STORE: begin
data_req = 1'b1;
data_we_o = 1'b1;
rega_used_o = 1'b1;
@ -279,8 +278,7 @@ module littleriscv_decoder
endcase
end
OPCODE_LOAD,
OPCODE_LOAD_POST: begin
OPCODE_LOAD: begin
data_req = 1'b1;
regfile_mem_we = 1'b1;
rega_used_o = 1'b1;