Arithmetic Processing Apparatus Command Chain Debugging
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Debugging in information processing systems is limited by the need to wait for the completion of all command processing, which can alter the internal state of the system, making it difficult to verify the status of commands and local memory at the time of completion.
Innovation Solution
An arithmetic processing apparatus with a command register group, a command processing section, a state machine, and a control section that allows for stopping processing based on predefined stop conditions, enabling individual command chains to be stopped and resumed independently, allowing for parallel operation and precise state management.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Stability of the object's composition
If the processing for all commands in the command chain is waited for completion, then the internal state consistency is improved, but the debug operation efficiency deteriorates
Solution Approach 1:
The command chain processing is segmented into individual command units, each with its own completion status tracked by the state machine. This allows the system to identify and stop at specific command boundaries rather than requiring completion of the entire command chain, enabling efficient debugging while maintaining state consistency at the command level.
Solution Approach 2:
The control section pre-sets stop conditions for specific commands within the command chain before execution begins. When a predetermined command completion is detected by the state machine, the control section triggers a stop action, allowing debugging to occur at predetermined points without waiting for all subsequent commands to complete, thus improving debug efficiency while maintaining internal state consistency up to the stop point.
2Loss of time
If the processing is stopped early without waiting for all commands, then the debug operation efficiency is improved, but the internal state consistency deteriorates
Solution Approach 1:
The state machine continuously monitors the completion status of each command in the command chain and provides feedback to the control section. This feedback mechanism ensures that when a stop condition is met, the system can accurately determine the internal state at that specific moment, maintaining consistency between the debugged state and the actual execution state up to the stop point.
3Productivity
If multiple commands are processed in parallel, then the productivity is improved, but the complexity of managing processing states deteriorates
Solution Approach 1:
The command chain is divided into discrete command units, each with its own completion status tracked by the state machine. This segmentation allows parallel processing of multiple command chains while maintaining independent state tracking for each command, reducing the complexity of managing parallel processing states.
Solution Approach 2:
The state machine automatically manages the processing states of multiple commands in parallel by independently tracking the completion status of each command. This self-service mechanism eliminates the need for complex external state management logic, allowing parallel command processing while keeping state management complexity minimal.
Data Source
AI summary
A debug work is performed with respect to states after execution of a plurality of commands which is collectively issued from a processor to an arithmetic processing apparatus. A command register group holds commands issued from the processor in respective registers with a command chain including a plurality of commands as a unit. A command processing section processes the commands supplied from the command register group. A state machine manages processing states of the commands in the command processing section. A control section previously sets a condition under which stop is to be performed in the command chain as a stop condition and causes to stop the processing in the command processing section on the basis of the previously set stop condition and the processing states managed in the state machine.


