1.1 --- a/lm32_interrupt.v Fri Aug 13 01:16:35 2010 +0100 1.2 +++ b/lm32_interrupt.v Sun Mar 06 19:22:27 2011 +0000 1.3 @@ -37,7 +37,7 @@ 1.4 clk_i, 1.5 rst_i, 1.6 // From external devices 1.7 - interrupt_n, 1.8 + interrupt, 1.9 // From pipeline 1.10 stall_x, 1.11 `ifdef CFG_DEBUG_ENABLED 1.12 @@ -72,8 +72,8 @@ 1.13 input clk_i; // Clock 1.14 input rst_i; // Reset 1.15 1.16 -input [interrupts-1:0] interrupt_n; // Interrupt pins, active-low 1.17 - 1.18 +input [interrupts-1:0] interrupt; // Interrupt pins, active-low 1.19 + 1.20 input stall_x; // Stall X pipeline stage 1.21 1.22 `ifdef CFG_DEBUG_ENABLED 1.23 @@ -130,7 +130,7 @@ 1.24 assign interrupt_exception = (|interrupt_n_exception) & ie; 1.25 1.26 // Determine which interrupts are currently being asserted (active-low) or are already pending 1.27 -assign asserted = ip | ~interrupt_n; 1.28 +assign asserted = ip | interrupt; 1.29 1.30 assign ie_csr_read_data = {{`LM32_WORD_WIDTH-3{1'b0}}, 1.31 `ifdef CFG_DEBUG_ENABLED