
15. R4000 Processor Interrupts

During a data cycle, SysAD[22:16] are the write enables for the seven individual Interrupt register bits and SysAD[6:0] are the values to be written into these bits. This allows any subset of the Interrupt register to be set or cleared with a single write request. Figure 15-1 shows the mechanics of an external write to the Interrupt register.
Figure 15-1 Interrupt Register Bits and Enables
Figure 15-2 shows how the R4000SC and R4000MC interrupts are readable through the Cause register.
Figure 15-2 R4000SC/MC Interrupt Signals
The select line for the Timer Interrupt multiplexer is enabled by boot-mode bit 19, TimerIntDis, as described in Chapter 9. The Timer Interrupt input to the multiplexer is asserted when the Count register equals the Compare register.
Figure 15-3 shows how the R4000PC interrupts are readable through the Cause register. The interrupt bits, Int*(5:0), are latched into the internal register by the rising edge of SClock.
Figure 15-3 R4000PC Interrupt Signals
Figure 15-4 shows the internal derivation of the NMI signal, for all versions of the R4000 processor.
The NMI* pin is latched by the rising edge of SClock, however the NMI exception occurs in response to the falling edge of the NMI* signal, and is not level-sensitive.
Bit 6 of the Interrupt register is then ORed with the inverted value of NMI* to form the nonmaskable interrupt.
Figure 15-4 R4000 Nonmaskable Interrupt Signal
Figure 15-5 shows the masking of the R4000 interrupt signal.
![]()
Figure 15-5 Masking of the R4000 Interrupt





Generated with CERN WebMaker
![]()