Your software can enable and disable any interrupt source individually through the
ienable
control register, which contains an interrupt-enable bit for each of the IRQ
inputs. Software can enable and disable interrupts globally using the PIE bit of the
status
control register. A hardware interrupt is generated if and only if all of the
following conditions are true:
•
The PIE bit of the
status
register is 1
•
An interrupt-request input,
irq
<n>, is asserted
•
The corresponding bit n of the
ienable
register is 1
The interrupt vector custom instruction is less efficient than using the EIC interface
with the Intel FPGA vectored interrupt controller component, and thus is deprecated in
Platform Designer. Intel recommends using the EIC interface.
2.6. Memory and I/O Organization
This section explains hardware implementation details of the Nios II memory and I/O
organization. The discussion covers both general concepts true of all Nios II processor
systems, as well as features that might change from system to system.
The flexible nature of the Nios II memory and I/O organization are the most notable
difference between Nios II processor systems and traditional microcontrollers. Because
Nios II processor systems are configurable, the memories and peripherals vary from
system to system. As a result, the memory and I/O organization varies from system
to system.
A Nios II core uses one or more of the following to provide memory and I/O access:
•
Instruction master port—An Avalon
®
®
Memory-Mapped (Avalon-MM) master port
that connects to instruction memory via system interconnect fabric
•
Instruction cache—Fast cache memory internal to the Nios II core
•
Data master port—An Avalon-MM master port that connects to data memory and
peripherals via system interconnect fabric
•
Data cache—Fast cache memory internal to the Nios II core
•
Tightly-coupled instruction or data memory port—Interface to fast on-chip
memory outside the Nios II core
The Nios II architecture handles the hardware details for the programmer, so
programmers can develop Nios II applications without specific knowledge of the
hardware implementation.
For details that affect programming issues, refer to the Programming Model chapter of
the Nios II Processor Reference Handbook.
2. Processor Architecture
NII-PRG | 2018.04.18
Nios II Processor Reference Guide
24