Retry Control Circuit for Special Process Reliability
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Conventional processing devices cannot perform a retry process during special processes like exception handling, exception return, and stack pointer updates due to uncertainties in resource updates, leading to potential program abnormalities.
Innovation Solution
A processing device with an instruction execution circuit and a retry control circuit that records the type of special process and determines re-executability, allowing retry from the start if the process is deemed re-executable, ensuring consistent execution without program abnormalities.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If the retry process is performed during special processes (exception handling, exception return, stack pointer update), then the reliability of the processing device is improved, but the consistency of resource updates cannot be guaranteed leading to program abnormalities
Solution Approach 1:
The retry control circuit records the type of special process at the starting point before the process begins. This preliminary recording enables the circuit to identify whether the current process is re-executable when an error occurs, allowing the system to make informed decisions about retry eligibility without compromising resource update consistency.
Solution Approach 2:
The system applies different retry policies to different types of special processes. By categorizing special processes into re-executable and non-re-executable types, the retry control circuit can selectively permit retries only for processes where resource updates are idempotent or can be safely re-applied, while preventing retries for processes that would cause inconsistencies.
2Stability of the object's composition
If the retry process is restricted during special processes to maintain resource update consistency, then program stability is preserved, but the reliability of the processing device deteriorates due to inability to recover from transient errors
Solution Approach 1:
The retry control mechanism dynamically adapts its behavior based on the type of special process being executed. The system transitions from a static blanket restriction approach to a dynamic selective approach, where the retry permission is determined by the specific process type identified through the recorded special process type.
3Stability of the object's composition
If conventional retry control is used that prevents retry during resource update periods, then resource consistency is maintained, but errors occurring during exception processes cannot be recovered
Solution Approach 1:
The retry control circuit uses feedback from the recorded special process type to determine whether to permit retry. When an error notification is received, the circuit refers back to the previously recorded process type to make the retry decision, creating a feedback loop that enables intelligent retry control based on process context.
Data Source
AI summary
A processing device performs a first process in a plurality of cycles to update a plurality of resources included in programmable resources. The processing device includes an instruction execution circuit that records that the first process is being executed, and makes an error notification when an error is detected during execution of an instruction, and a retry control circuit that records a type of the first process at a starting point of the first process, judges from the recorded type whether the first process is re-executable upon receiving the error notification during the first process, and instructs re-execution of the first process from a start of the first process in a case where the first process is judged to be re-executable. The instruction execution circuit performs a retry process to re-execute the first process when instructed from the retry control circuit to re-execute the first process.


