Data transfer control apparatus wherein a time value is compared to a clocked timer value with a comparison of the values causing the transfer of bus use right
First Claim
1. A data transfer control system comprising:
- a data bus;
a central processing unit coupled to the data bus;
a memory coupled to the data bus;
a plurality of peripheral functional circuits;
a DMA transfer circuit, coupled to the data bus, for transferring data between said plurality of peripheral functional circuits and said memory upon acquiring a right to use the data bus from said central processing unit in response to a DMA transfer request signal from said plurality of peripheral function circuits; and
decision means for alternately selecting which of said central processing unit or said DMA transfer circuit is to be granted a bus use right and for granting, after the receipt of said DMA transfer request and during a DMA transfer cycle, said bus use right to a selected one of said central processing unit or DMA transfer circuit in every cycle time counted by means of a system clock.
1 Assignment
0 Petitions
Accused Products
Abstract
To change the priority order of a DMA transfer circuit and a CPU for the bus use right in a data processing system comprising the DMA transfer circuit, when an overflow occurs in the DMA transfer timer during DMA transfer, a request signal for shifting the bus use right from the DMA transfer circuit to the CPU is outputted to a bus use right decision circuit to suspend DMA transfer. After the bus use right is transferred from the DMA transfer circuit to the CPU, the CPU resumes operation. When an overflow occurs in the DMA transfer timer, a request signal for shifting the bus use right from the CPU to the DMA transfer circuit is outputted to the bus use right decision circuit to transfer the bus use right from the CPU to the DMA transfer circuit with the same means as the start of DMA transfer and to resume DMA transfer.
120 Citations
3 Claims
-
1. A data transfer control system comprising:
-
a data bus; a central processing unit coupled to the data bus; a memory coupled to the data bus; a plurality of peripheral functional circuits; a DMA transfer circuit, coupled to the data bus, for transferring data between said plurality of peripheral functional circuits and said memory upon acquiring a right to use the data bus from said central processing unit in response to a DMA transfer request signal from said plurality of peripheral function circuits; and decision means for alternately selecting which of said central processing unit or said DMA transfer circuit is to be granted a bus use right and for granting, after the receipt of said DMA transfer request and during a DMA transfer cycle, said bus use right to a selected one of said central processing unit or DMA transfer circuit in every cycle time counted by means of a system clock.
-
-
2. A data transfer control system comprising:
-
a data bus; a central processing unit coupled to the data bus; a memory coupled to the data bus; a plurality of peripheral functional circuits; a DMA transfer circuit, coupled to the data bus, for transferring data between said plurality of peripheral functional circuits and said memory upon acquiring a right to use the data bus from said central processing unit in response to a DMA transfer request signal from said plurality of peripheral function circuits; and decision means for alternately selecting which of said central processing unit or said DMA transfer circuit is to be granted a bus use right and for granting, after the receipt of said DMA transfer request and during a DMA transfer cycle, said bus use right to a selected one of said central processing unit or DMA transfer circuit in every cycle time counted by means of a system clock; wherein said decision means comprises; a counter for counting said cycle time by means of said system clock, a timer register for setting an instruction execution time for said central processing unit or a DMA transfer cycle time for said DMA transfer circuit, a setting value for said time being supplied by an external terminal or software, a coincidence decision circuit receiving a count value counted by said counter and the value set in said timer register and outputting a coincidence signal at the time when said count value coincides with said set value, a bus use right change control circuit receiving said coincidence signal and outputting a request signal for changing said bus use right, and a bus use right decision circuit for forcing said DMA transfer circuit to acquire said bus use right by stopping the operation of said central processing unit or forcing said central processing unit to acquire said bus use right by stopping the operation of said DMA transfer circuit in response to said request signal for changing bus use right.
-
-
3. A data transfer control system including
a data bus; -
a central processing unit coupled to the data bus; a memory coupled to the data bus; a plurality of peripheral functional circuits; a DMA transfer circuit, coupled to the data bus, for transferring data between said plurality of peripheral functional circuits and said memory upon acquiring a right to use the data bus from said central processing unit in response to a DMA transfer request signal from said plurality of peripheral function circuits; and decision means for alternately selecting which of said central processing unit or said DMA transfer circuit is to be granted a bus use right and for granting, after the receipt of said DMA transfer request and during a DMA transfer cycle, said bus use right to a selected one of said central processing unit or DMA transfer circuit in every cycle time counted by means of a system clock; wherein said decision means comprises; a counter for counting cycle time by means of said system clock, a first timer register for setting an execution cycle time for said central processing unit, a setting value for said time being supplied by an external terminal or software, a second timer register for setting a DMA transfer cycle time for said DMA transfer circuit, a setting value for said time being supplied by an external terminal or software, a coincidence decision circuit receiving the count value by said counter and the value set in said first timer register or in said second timer register and outputting a coincidence signal at the time when said count value coincides with said set value, a bus use right change control circuit receiving said coincidence signal and outputting a request signal for changing said bus use right, a bus use right decision circuit for forcing said DMA transfer circuit to acquire said bus use right by stopping the operation of said central processing unit or forcing said central processing unit to acquire said bus use right by stopping the operation of said DMA transfer circuit in response to said request signal for changing said bus use right.
-
Specification