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