Write-through-read (WTR) comparator circuits, systems, and methods use of same with a multiple-port file
First Claim
1. A circuit comprising:
- a file comprising a plurality of read ports and a plurality of write ports, the file to store entries;
a processor pipeline comprising a plurality of stages, each stage having a corresponding write port, the file to store write-back stage data indicating which write port is to write to a given entry;
at least one WTR comparator configured to;
compare a read index indexing an entry in the file requested to be read and a write index corresponding to a selected write port, wherein the write-back stage data indicates the selected write port as writing to the entry;
generate a WTR comparator output indicating whether the write index matches the read index; and
a read data output selector configured to selectively generate a read data output of either write data to the file or read data from the file, based on the WTR comparator output.
1 Assignment
0 Petitions
Accused Products
Abstract
Write-through-read (WTR) comparator circuits and related WTR processes and memory systems are disclosed. The WTR comparator circuits can be configured to perform WTR functions for a multiple port file having one or more read and write ports. One or more WTR comparators in the WTR comparator circuit are configured to compare a read index into a file with a write index corresponding to a write-back stage selected write port among a plurality of write ports that can write data to the entry in the file. The WTR comparators then generate a WTR comparator output indicating whether the write index matches the read index to control a WTR function. In this manner, the WTR comparator circuit can employ less WTR comparators than the number of read and write port combinations. Providing less WTR comparators can reduce power consumption, cost, and area required on a semiconductor die for the WTR comparator circuit.
-
Citations
22 Claims
-
1. A circuit comprising:
-
a file comprising a plurality of read ports and a plurality of write ports, the file to store entries; a processor pipeline comprising a plurality of stages, each stage having a corresponding write port, the file to store write-back stage data indicating which write port is to write to a given entry; at least one WTR comparator configured to; compare a read index indexing an entry in the file requested to be read and a write index corresponding to a selected write port, wherein the write-back stage data indicates the selected write port as writing to the entry; generate a WTR comparator output indicating whether the write index matches the read index; and a read data output selector configured to selectively generate a read data output of either write data to the file or read data from the file, based on the WTR comparator output. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 22)
-
-
10. A circuit comprising:
-
a file comprising a plurality of read ports and a plurality of write ports, the file to store entries; a processor pipeline comprising a plurality of stages, each stage having a corresponding write port, the file to store write-back stage data indicating which write port is to write to a given entry; a means for comparing a read index indexing an entry in the file requested to be read and a write index corresponding to a selected write port, wherein the write-back stage data indicates the selected write port as writing to the entry; a means for generating a WTR comparator output indicating whether the write index matches the read index; and a means to selectively generate a read data output of either write data to the file or read data from the file, based on the WTR comparator output.
-
-
11. A method of performing a write-through-read (WTR) compare, comprising:
-
storing entries in a file comprising a plurality of read ports and a plurality of write ports; storing write-back stage data in the file to indicate which write port of the file is to write to a given entry; comparing a read index indexing an entry in the file requested to be read and a write index corresponding to a selected write port, wherein the write-back stage data indicates the selected write port as writing to the entry; generating a WTR comparator output indicating whether the write index matches the read index; and selectively generating a read data output of either write data to the file or read data from the file, based on the WTR comparator output. - View Dependent Claims (12, 13)
-
-
14. A memory system, comprising:
-
a memory configured to store one or more entries, the memory comprising a plurality of read ports and a plurality of write ports; a processor pipeline comprising a plurality of stages, each stage having a corresponding write port, the memory to store write-back stage data indicating which write port is to write to a given entry; at least one write-through-read (WTR) comparator coupled to the memory and configured to; compare a read index indexing an entry in the memory requested to be read and a write index corresponding to a selected write port, wherein the write-back stage data indicates the selected write port as writing to the entry; generate a WTR comparator output indicating whether the write index matches the read index; and a read data output selector configured to selectively generate a read data output of either write data to the memory or read data from the memory, based on the WTR comparator output. - View Dependent Claims (15, 16, 17, 18, 19, 20, 21)
-
Specification