Patent ID: 6667926
Filing Date: 2003-12-23
Classification: G06F,G11C

Abstract:
A memory read/write arbitration method utilized in a memory controller, comprising:providing an arbitrator; providing a read request fifo queue having a plurality of command read requests; providing a write request fifo queue having a plurality of command write requests; performing a judgment step to determine that a command write request of the plurality of command write requests has priority over a command read request of the plurality of command read requests to be forwarded or the command read request of the plurality of command read requests has priority over the command write request of the plurality of command write requests to be forwarded, wherein the judgment step comprises: performing a first sub-judgment step to obtain a signal Cmd_Wrt_Req_Mask, and the command read request has priority over the command write request to be forwarded when the signal Cmd_Wrt_Req_Mask is enabled, and otherwise, the command write request is forwarded to be performed a second sub-judgment step when the signal Cmd_Wrt_Req_Mask is not enabled under at least one of a plurality of first-step conditions; and performing the second sub-judgment step with the command write requests from the first sub-judgment step and the command read requests to obtain a signal Mem_Gnt_Wrt_Window, and the command read request has priority over the command write request to be forwarded when the signal Mem_Gnt_Wrt_Window is not enabled, and otherwise, the command write request from the first sub-judgment method has priority over the command read request to be forwarded when the signal Mem_Gnt_Wrt_Window is enabled under one of a plurality of second-step conditions.