Exception handling using an exception pipeline in a pipelined processor
First Claim
Patent Images
1. A method comprising:
- processing an instruction in an execution pipeline of a programmable processor; and
propagating an exception of the instruction through an exception pipeline of the processor;
wherein said propagating the exception through the exception pipeline comprises selecting one of a plurality of exceptions at an intermediate stage of the exception pipeline based on priority information associated with the exceptions, the plurality of exceptions including a first exception obtained from a previous stage and a second exception obtained at the intermediate stage, and propagating a selected exception to a subsequent stage of the exception pipeline.
2 Assignments
0 Petitions
Accused Products
Abstract
A programmable processor includes a execution pipeline and an exception pipeline. The execution pipeline may be a multi-stage execution pipeline that processes instructions. The exception pipeline may be a multi-stage exception pipeline that propagates exceptions resulting from the execution of the instructions. The execution and exception pipelines may have the same number of stages and may operate on the same clock cycles. When an instruction passes from a stage of the execution pipeline to a later stage of the execution pipeline, an exception may similarly pass from a corresponding stage of the exception pipeline to a corresponding later stage of the exception pipeline.
-
Citations
25 Claims
-
1. A method comprising:
-
processing an instruction in an execution pipeline of a programmable processor; and
propagating an exception of the instruction through an exception pipeline of the processor;
wherein said propagating the exception through the exception pipeline comprises selecting one of a plurality of exceptions at an intermediate stage of the exception pipeline based on priority information associated with the exceptions, the plurality of exceptions including a first exception obtained from a previous stage and a second exception obtained at the intermediate stage, and propagating a selected exception to a subsequent stage of the exception pipeline. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. An apparatus comprising:
-
an execution pipeline having a plurality of stages to execute one or more instructions concurrently; and
an exception pipeline having a plurality of stages to propagate exceptions resulting from the execution of the instructions;
wherein the stages of the exception pipeline include at least one intermediate stage comprising an exception selection unit operable to select a highest priority exception from among a first exception obtained from a previous stage and a second exception obtained at the intermediate stage to be passed to a subsequent stage of the exception pipeline. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18, 19)
-
-
20. A system comprising:
-
a Flash memory device; and
a processor coupled to the Flash memory device, wherein the processor includes an execution pipeline having a plurality of stages to execute one or more instructions concurrently, and an exception pipeline having a plurality of stages to propagate exceptions resulting from the execution of the instructions, wherein the stages of the exception pipeline include at least one intermediate stage comprising an exception selection unit operable to select a highest priority exception from among a first exception obtained from a previous stage and a second exception obtained at the intermediate stage to be passed to a subsequent stage of the exception pipeline. - View Dependent Claims (21, 22, 23, 24, 25)
-
Specification