Fix constant names

This commit is contained in:
Sven Stucki 2015-08-03 15:21:48 +02:00
parent 55f211ab0a
commit 7c211e0da5
2 changed files with 2 additions and 2 deletions

View file

@ -289,7 +289,7 @@ module controller
// hwloop detected, jump to start address!
// Attention: This has to be done in the DECODE and the FIRST_FETCH states
if (hwloop_jump_i == 1'b1)
pc_mux_sel_o = `HWLOOP_ADDR;
pc_mux_sel_o = `PC_HWLOOP;
end
DECODE:

View file

@ -118,7 +118,7 @@ module if_stage
`PC_NO_INCR: next_pc = current_pc_if_o; // PC is not incremented
`PC_EXCEPTION: next_pc = exc_pc; // PC that points to the exception
`PC_ERET: next_pc = exception_pc_reg_i; // PC is restored when returning from IRQ/exception
`HWLOOP_ADDR: next_pc = pc_from_hwloop_i; // PC is taken from hwloop start addr
`PC_HWLOOP: next_pc = pc_from_hwloop_i; // PC is taken from hwloop start addr
default:
begin
next_pc = current_pc_if_o;