Fix syntax

This commit is contained in:
Markus Wegmann 2017-01-07 16:36:58 +01:00
parent 909ad7d416
commit e3787b2c7f

View file

@ -237,9 +237,9 @@ module riscv_cs_registers
if (data_load_event_ex_i) begin if (data_load_event_ex_i) begin
// CONFIG_REGION: MERGE_ID_EX // CONFIG_REGION: MERGE_ID_EX
`ifdef MERGE_ID_EX `ifdef MERGE_ID_EX
mepc_n = pc_ex_i;
`else
mepc_n = pc_id_i; mepc_n = pc_id_i;
`else
mepc_n = pc_ex_i;
`endif `endif
end else if (exc_save_takenbranch_i) begin end else if (exc_save_takenbranch_i) begin
mepc_n = branch_target_i; mepc_n = branch_target_i;