Bugfix in C.SRAI implementation

This commit is contained in:
Clifford Wolf 2016-04-09 14:27:28 +02:00
parent ef8014eebd
commit aa17d58784
1 changed files with 1 additions and 1 deletions

View File

@ -276,7 +276,7 @@ module picorv32 #(
mem_rdata_q[31:25] <= 7'b0000000;
mem_rdata_q[14:12] <= 3'b 101;
end
if (mem_rdata_latched[11:10] == 2'b00) begin // C.SRAI
if (mem_rdata_latched[11:10] == 2'b01) begin // C.SRAI
mem_rdata_q[31:25] <= 7'b0100000;
mem_rdata_q[14:12] <= 3'b 101;
end