Computer system capable of outputting status data without interrupting execution of program
First Claim
1. A computer system comprising:
- a bus;
a central processing unit (CPU) connected to the bus, for executing a program;
a plurality of peripheral circuits connected to the bus and respectively having status flags, each of which stores status data of a corresponding peripheral circuit, wherein each status data is capable of being changed during the execution of the program by said CPU, and wherein said CPU can read said each status data;
control signal generating means for continuously generating a control signal independently from the execution of the program by said CPU, such that said status data are sequentially and repeatedly outputted,selecting means connected to said status flags, for selecting one of said status data in response to said control signal to output the selected status data to an external circuit other than said CPU, andwherein said selecting means comprises;
a counter for counting said control signal; and
a selector for selectively outputting said plurality of status data in response to the count of said counter.
2 Assignments
0 Petitions
Accused Products
Abstract
A computer system such as a debugging system for a microcomputer system includes a display unit and a supervisor for receiving at least one of the plurality of status data from the microcomputer system independently from the execution of a program in the microcomputer system and displaying the read status data on the display unit. The microcomputer system includes the plurality of peripheral circuits respectively having status flags, each of which stores the status data of the corresponding peripheral circuit, and a CPU executing the program. The status data are updated as the execution of the program and the CPU can read the status data of each of the status flags. An emulation control circuit generates a status clock signal independently from the execution of the program by the CPU and a selector sequentially and repeatedly selects one of the plurality of status data in response to the status clock signal to output the selected status data to the supervisor.
-
Citations
22 Claims
-
1. A computer system comprising:
-
a bus; a central processing unit (CPU) connected to the bus, for executing a program; a plurality of peripheral circuits connected to the bus and respectively having status flags, each of which stores status data of a corresponding peripheral circuit, wherein each status data is capable of being changed during the execution of the program by said CPU, and wherein said CPU can read said each status data; control signal generating means for continuously generating a control signal independently from the execution of the program by said CPU, such that said status data are sequentially and repeatedly outputted, selecting means connected to said status flags, for selecting one of said status data in response to said control signal to output the selected status data to an external circuit other than said CPU, and wherein said selecting means comprises; a counter for counting said control signal; and a selector for selectively outputting said plurality of status data in response to the count of said counter. - View Dependent Claims (2, 3)
-
-
4. A method of acquiring a plurality of status data indicative of statuses of a plurality of peripheral circuits without interrupting the execution of a program by a CPU, comprising the steps of:
-
changing said plurality of status data of said plurality of peripheral circuits during the execution of the program by the CPU without direct relation to the execution of the program by the CPU, wherein the CPU can read said plurality of status data; continuously generating a control signal independently from the execution of the program by said CPU, such that said plurality of status data are sequentially and repeatedly outputted; counting said control signal; and selectively outputting said plurality of status data in response to the count. - View Dependent Claims (5, 6, 7, 8, 9, 10)
-
-
11. A computer system for a microcomputer system comprising:
-
a display unit; a microcomputer system for executing a program, wherein said microcomputer system includes a central processing unit (CPU), a plurality of peripheral circuits, and a plurality of status data indicative of whether a state of each of said plurality of peripheral circuits has changed during the execution of the program, and said CPU is configured to read said plurality of status data; a supervisor for receiving at least one of said plurality of status data from said microcomputer system independently from the execution of the program in said microcomputer and displaying the received status data on said display unit; wherein said CPU executes the program; said plurality of peripheral circuits respectively having status flags, each of which stores said status data of said corresponding peripheral circuit; said microcomputer system further comprising; control signal generating means for continuously generating a control signal independently from the execution of the program by said CPU, such that said plurality of status data are sequentially and repeatedly outputted; selecting means connected to said status flags, for selectively outputting said plurality of status data to said supervisor in response to said control signal, and wherein said selecting means comprises; a counter for counting said control signal; and a selector for selectively outputting said plurality of status data in response to the count of said counter. - View Dependent Claims (12, 13, 14)
-
-
15. A computer system comprising:
-
a bus; a central processing unit (CPU) for executing a program, said CPU being connected to the bus; a plurality of peripheral circuits connected to the bus and respectively having status flags, each of which stores status data of a corresponding peripheral circuit, each status data being capable of being changed during the execution of the program by said CPU; control signal generating means for continuously generating a control signal independently from the execution of the program by said CPU such that said plurality of status data are sequentially and repeatedly outputted; and selecting means connected to said status flags, for selecting one of said plurality of status data in response to said control signal to output the selected status data to an external circuit other than said CPU, wherein said selecting means comprises; a counter for counting said control signal; and a selector for selectively outputting said plurality of status data in response to the count of said counter. - View Dependent Claims (16, 17)
-
-
18. A method of acquiring a plurality of status data indicative of statuses of a plurality of peripheral circuits without interrupting the execution of a program by a CPU, comprising the steps of:
-
setting said plurality of status data in said plurality of peripheral circuits during the execution of the program by the CPU; generating a control signal independently from the execution of the program by said CPU; and selecting and outputting one of said plurality of status data in response to said control signal, and wherein said generating step includes continuously generating said control signal such that said plurality of status data are sequentially and repeatedly outputted, and wherein said selecting step includes; counting said control signal; decoding said count; and specifying one of said plurality of status data in accordance with a result of the decoding step. - View Dependent Claims (19, 20, 21, 22)
-
Specification