IPR-NIOS Altera, IPR-NIOS Datasheet - Page 95
IPR-NIOS
Manufacturer Part Number
IPR-NIOS
Description
IP NIOS II MEGACORE RENEW
Manufacturer
Altera
Type
MegaCorer
Datasheet
1.IP-NIOS.pdf
(294 pages)
Specifications of IPR-NIOS
License
Renewal License
Lead Free Status / RoHS Status
Not applicable / Not applicable
- Current page: 95 of 294
- Download datasheet (3Mb)
Chapter 3: Programming Model
Exception Processing
December 2010 Altera Corporation
f
1
For details about when the Nios II processor takes exceptions, refer to
Processing Flow” on page
to the
details about MMU and MPU exceptions, refer to
page
A system can be designed to eliminate the possibility of nested exceptions. However,
if nested exceptions are possible, the exception handlers must be carefully written to
prevent each handler from corrupting the context in which a pre-empted handler
runs.
If an exception handler issues a trap instruction, an optional instruction, or an
instruction which could generate an MMU or MPU exception, it must save and restore
the contents of the estatus and ea registers.
Nested Exceptions with the Internal Interrupt Controller
You can enable nested exceptions in each exception handler on a case-by-case basis. If
you want to allow a given exception handler to be pre-empted, set status.PIE to 1
near the beginning of the handler. Enabling maskable interrupts early in the handler
minimizes the worst-case latency of any nested exceptions.
Ensure that all pre-empting handlers preserve the register contents.
Nested Exceptions with an External Interrupt Controller
With an EIC, handling of nested interrupts is more sophisticated than with the
internal interrupt controller. Handling of noninterrupt exceptions, however, is the
same.
When individual external interrupts have dedicated shadow register sets, the Nios II
processor supports fast interrupt handling with no overhead for saving register
contents. To take full advantage of fast interrupt handling, system software must set
up certain conditions. With the following conditions satisfied, ISRs need not save and
restore register contents on entry and exit:
■
■
■
Automatic nested interrupts are enabled (config.ANI is set to 1).
Each interrupt is assigned to a dedicated shadow register set
All interrupts with the same RIL are assigned to dedicated shadow register sets.
3–39.
Processor Architecture
3–43. For details about unimplemented instructions, refer
chapter of the Nios II Processor Reference Handbook. For
“Instruction-Related Exceptions” on
Nios II Processor Reference Handbook
“Exception
3–49
Related parts for IPR-NIOS
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
CYCLONE II STARTER KIT EP2C20N
Manufacturer:
Altera
Datasheet:
Part Number:
Description:
CPLD, EP610 Family, ECMOS Process, 300 Gates, 16 Macro Cells, 16 Reg., 16 User I/Os, 5V Supply, 35 Speed Grade, 24DIP
Manufacturer:
Altera Corporation
Datasheet:
Part Number:
Description:
CPLD, EP610 Family, ECMOS Process, 300 Gates, 16 Macro Cells, 16 Reg., 16 User I/Os, 5V Supply, 15 Speed Grade, 24DIP
Manufacturer:
Altera Corporation
Datasheet:
Part Number:
Description:
Manufacturer:
Altera Corporation
Datasheet:
Part Number:
Description:
CPLD, EP610 Family, ECMOS Process, 300 Gates, 16 Macro Cells, 16 Reg., 16 User I/Os, 5V Supply, 30 Speed Grade, 24DIP
Manufacturer:
Altera Corporation
Datasheet:
Part Number:
Description:
High-performance, low-power erasable programmable logic devices with 8 macrocells, 10ns
Manufacturer:
Altera Corporation
Datasheet:
Part Number:
Description:
High-performance, low-power erasable programmable logic devices with 8 macrocells, 7ns
Manufacturer:
Altera Corporation
Datasheet:
Part Number:
Description:
Classic EPLD
Manufacturer:
Altera Corporation
Datasheet:
Part Number:
Description:
High-performance, low-power erasable programmable logic devices with 8 macrocells, 10ns
Manufacturer:
Altera Corporation
Datasheet:
Part Number:
Description:
Manufacturer:
Altera Corporation
Datasheet:
Part Number:
Description:
Manufacturer:
Altera Corporation
Datasheet:
Part Number:
Description:
Manufacturer:
Altera Corporation
Datasheet:
Part Number:
Description:
CPLD, EP610 Family, ECMOS Process, 300 Gates, 16 Macro Cells, 16 Reg., 16 User I/Os, 5V Supply, 25 Speed Grade, 24DIP
Manufacturer:
Altera Corporation
Datasheet: