Claims
- 1. A computer system comprising:
- a first storage device;
- a second storage device partitioned into a plurality of bytes and into a plurality of storage lines, each storage line including a first predetermined number N of bytes; and
- a direct memory access (DMA) controller to transfer data between said first storage device and said second storage device, said DMA controller including a first circuit to store a byte count, a second circuit to store said predetermined number N, a third circuit to store a current transfer address, and a memory write and invalidate (MWI) logic circuit, coupled to said first, second, and third circuits, to generate a MWI enable signal when said byte count is greater than or equal to said predetermined number N and said current transfer address is a multiple of said number N.
- 2. The computer system of claim 1 wherein said byte count stored in said first circuit indicates the current number of bytes of data to be transferred between said first and said second storage devices.
- 3. The computer system of claim 2 wherein said current transfer address, stored in said third circuit, indicates the current address, in the second storage device, where a byte of data is to be transferred.
- 4. The computer system of claim 3 wherein said MWI logic circuit includes a fourth circuit, coupled to said first and second circuit, to compare said byte count with said predetermined number N.
- 5. The computer system of claim 4 wherein said MWI logic circuit includes a fifth circuits coupled to said first and third circuit, to determine whether said current transfer address is a multiple of said number N.
- 6. The computer system of claim 5 wherein said DMA controller further includes a status register, coupled to said MWI logic circuit, said status register having a bit for indicating MWI or memory write (MW) cycle.
- 7. The computer system of claim 6 wherein said DMA controller includes a queue and a queue monitor circuit to determine a current number of bytes of data awaiting transfer in said queue.
- 8. The computer system of claim 7 wherein said DMA controller includes a sixth circuit, coupled to said queue monitor, to determine whether said number of bytes awaiting transfer in said queue is equal or greater than a second predetermined number M.
- 9. The computer system of claim 8 wherein said DMA controller includes a seventh circuit, coupled to said MWI logic and to said sixth circuit, to request control over said peripheral storage device.
- 10. A computer system comprising:
- a host processor;
- a first bus coupled to said host processor;
- a second bus;
- a slave circuit coupled to said second bus;
- a direct memory access controller (DMA), to perform DMA transactions between said first and second busses, said DMA controller including a DMA error handling logic, coupled to said host processor, to receive a RETRY signal indicative of a retry request of said slave circuit, to receive an ERROR signal indicative of an error on said first bus, to receive and IDLE signal indicating that the DMA is idle and to abort a DMA transaction when said ERROR signal is asserted and said RETRY signal is deasserted.
- 11. The computer system of claim 10 wherein said DMA controller further includes a retry logic circuit to receive, from said slave circuit, signals indicating a retry request and responsive thereof to assert said RETRY signal.
- 12. The computer system of claim 11 wherein said DMA controller further includes an error logic circuit to generate said ERROR signal indicative of an error on said first bus.
- 13. The computer system of claim 12 wherein said error logic circuit includes a flip flop to store a logic value indicative of an error on said first bus.
- 14. The computer system of claim 13 wherein said retry logic circuit includes a first AND gate having a first inverted input, to receive a STOP# signal, a second inverted input to receive a DEVSEL# signal, and a third input to receive a TRDY signal.
- 15. The computer system of claim 14 wherein said DMA error handling logic circuit includes a second AND gate having a first input, to receive said ERROR signal, a second input to receive said IDLE signal, and a third inverted input to receive said RETRY signal.
Parent Case Info
This is a continuation of application Ser. No. 08/581,494 filed Dec. 29, 1995, now U.S. Pat. No. 5,859,990.
US Referenced Citations (18)
Non-Patent Literature Citations (2)
Entry |
U.S. application No. 08/964,077, Yarch et al., filed Nov. 4, 1997. |
U.S. application No. 08/964,389, Yarch et al., filed Nov. 6, 1997. |
Continuations (1)
|
Number |
Date |
Country |
Parent |
581494 |
Dec 1995 |
|