lm32_cpu.v

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