This commit is contained in:
Tom Verbeure 2016-09-07 20:34:28 -07:00
parent 80aa70ec2e
commit 38a760daf8
1 changed files with 2 additions and 2 deletions

View File

@ -500,9 +500,9 @@ module picorv32 #(
mem_addr <= mem_la_addr; mem_addr <= mem_la_addr;
mem_wstrb <= mem_la_wstrb & {4{mem_la_write}}; mem_wstrb <= mem_la_wstrb & {4{mem_la_write}};
end end
if (mem_la_write) begin if (mem_la_write) begin
mem_wdata <= mem_la_wdata; mem_wdata <= mem_la_wdata;
end end
case (mem_state) case (mem_state)
0: begin 0: begin
if (mem_do_prefetch || mem_do_rinst || mem_do_rdata) begin if (mem_do_prefetch || mem_do_rinst || mem_do_rdata) begin