40 likes | 161 Views
Interrupt Handler. Component must handle the following seven cases: Reset (Highest Priority) Data Abort FIQ IRQ Prefetch Abort Undefined Instruction Software Interrupt (SWI) (Lowest Priority). Implementation. One ROM file handles memory addresses.
E N D
Interrupt Handler Component must handle the following seven cases: • Reset (Highest Priority) • Data Abort • FIQ • IRQ • Prefetch Abort • Undefined Instruction • Software Interrupt (SWI) (Lowest Priority)
Implementation • One ROM file handles memory addresses. • 3-bit input leads to 32-bit address for PC. • Second ROM file handles CPSR alterations. • 4-bit input leads to lower 8 bits of CPSR. • Priorities of the interrupts are handled with CLZ functionality. • Lastly, no interrupts leads to “Active = 0”.