1
0
Fork 0
mirror of https://github.com/YosysHQ/picorv32.git synced 2025-01-03 03:43:38 -05:00

Minor bugfix/cleanup (mostly for formal verification)

This commit is contained in:
Clifford Wolf 2016-09-03 14:40:13 +02:00
parent 0906b1b4b4
commit d5b7e9e175

View file

@ -1197,7 +1197,7 @@ module picorv32 #(
end
always @(posedge clk) begin
if (cpuregs_write)
if (resetn && cpuregs_write)
cpuregs[latched_rd] <= cpuregs_wrdata;
end