lm32_cpu.v

changeset 12
e8125a6a3bd8
parent 8
07be9df9fee8
child 13
e66ed0e9e2f8
     1.1 --- a/lm32_cpu.v	Fri Aug 13 01:16:35 2010 +0100
     1.2 +++ b/lm32_cpu.v	Sun Mar 06 19:22:27 2011 +0000
     1.3 @@ -77,7 +77,7 @@
     1.4      rst_i,
     1.5      // From external devices
     1.6  `ifdef CFG_INTERRUPTS_ENABLED
     1.7 -    interrupt_n,
     1.8 +    interrupt,
     1.9  `endif
    1.10      // From user logic
    1.11  `ifdef CFG_USER_ENABLED
    1.12 @@ -213,7 +213,7 @@
    1.13  input rst_i;                                    // Reset
    1.14  
    1.15  `ifdef CFG_INTERRUPTS_ENABLED
    1.16 -input [`LM32_INTERRUPT_RNG] interrupt_n;        // Interrupt pins, active-low
    1.17 +input [`LM32_INTERRUPT_RNG] interrupt;          // Interrupt pins
    1.18  `endif
    1.19  
    1.20  `ifdef CFG_USER_ENABLED
    1.21 @@ -1072,17 +1072,17 @@
    1.22  // Interrupt unit
    1.23  lm32_interrupt interrupt (
    1.24      // ----- Inputs -------
    1.25 -    .clk_i                  (clk_i), 
    1.26 +    .clk_i                  (clk_i),
    1.27      .rst_i                  (rst_i),
    1.28      // From external devices
    1.29 -    .interrupt_n            (interrupt_n),
    1.30 +    .interrupt              (interrupt),
    1.31      // From pipeline
    1.32      .stall_x                (stall_x),
    1.33  `ifdef CFG_DEBUG_ENABLED
    1.34 -    .non_debug_exception    (non_debug_exception_q_w), 
    1.35 +    .non_debug_exception    (non_debug_exception_q_w),
    1.36      .debug_exception        (debug_exception_q_w),
    1.37  `else
    1.38 -    .exception              (exception_q_w), 
    1.39 +    .exception              (exception_q_w),
    1.40  `endif
    1.41      .eret_q_x               (eret_q_x),
    1.42  `ifdef CFG_DEBUG_ENABLED