EP0386719A2 - Partial store control circuit - Google Patents
Partial store control circuit Download PDFInfo
- Publication number
- EP0386719A2 EP0386719A2 EP90104325A EP90104325A EP0386719A2 EP 0386719 A2 EP0386719 A2 EP 0386719A2 EP 90104325 A EP90104325 A EP 90104325A EP 90104325 A EP90104325 A EP 90104325A EP 0386719 A2 EP0386719 A2 EP 0386719A2
- Authority
- EP
- European Patent Office
- Prior art keywords
- data
- partial
- store
- succeeding
- access
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
- G06F12/02—Addressing or allocation; Relocation
- G06F12/04—Addressing variable-length words or parts of words
Definitions
- the present invention relates to a partial-store control circuit used in a memory unit for example having a memory device divided into a plurality of memory banks so that access can be performed to the memory device, using a memory bank as a unit, through an interleave method.
- an interleave method has been used for reducing practical access time of a memory device of the unit.
- a memory device in the memory unit is divided into a plurality of memory banks so that memory access to the respective memory banks can be performed partially in parallel in every memory cycle.
- the access to the memory device is also divided in proportion to the number of memory banks provided and is performed by using a store-data pipeline and a bank-address pipeline both provided in the memory unit.
- DRAM dynamic random access memory
- SRAM static random access memory
- a great many stages must be provided in store-data pipeline and in the bank-address pipeline in order for the memory unit to operate in synchronisation with a central processing unit (CPU) of high processing speed.
- a partial-store merge access which is a recently-proposed memory access method for improving processing efficiency of a computing system, is applied to the memory unit, the amount of hardware needed for circuits for controlling the partial-store merge access increases greatly with increases in the number of stages of the store-data pipeline and the bank-address pipeline.
- a memory unit including a partial-store control circuit will be explained with reference to Figs. 1(a), 1(b) and 1(c).
- Fig. 1(a) illustrates main features of the constitution of such a memory unit (MU) 100.
- MU 100 mainly consists of a memory device (MEMORY DEVICE) 102, a store-data pipeline (STORE-DATA PIPELINE) 101 and a bank-control (BANK CONTROL) 103.
- MCU memory control unit
- GO represents a command signal for starting a partial-store access in MU 100.
- STD represents store data consisting of one word in which at least one byte of data for partially storing in MEMORY DEVICE 102 is included.
- ADD represents a signal giving an address for STD to be partially stored in MEMORY DEVICE 101
- BMK represents a byte mark signal for specifying a byte position within STD where byte data for partially storing exists.
- STD is one-word data consisting of four bytes and MEMORY DEVICE 102 is divided into sixteen memory banks (BANKs) as shown by BANK 0, 1, 2, ----, 14 and 15 in Fig. 1(a) so that each BANK includes a plurality of word data items.
- ADD consists of a plurality of address bits in which four low-order bits specify a BANK including one-word data which is to be replaced partially by STD and other high-order bits specify one-word data within the BANK.
- the use of ADD in MU 100 will be explained more concretely below with reference to Figs. 1(a) and 1(b).
- Fig. 1(b) is a timing chart for explaining partial-store access and partial-store merge access performed in MU 100.
- reference sign " ⁇ " represents a time interval of a clock signal sent from MCU 200 (a signal line for the clock signal is not depicted in Fig. 1(a)).
- Compound numerals such as 00, 01, 02, -----11 and 12 represent stages of pipelines.
- ADD When ADD is sent to MU 100 from MCU 200, ADD is sent to a decoder (DEC) 31 in BANK CONTROL 103 and address registers (ADD-REG) 21 in MEMORY DEVICE 102.
- the first bank-select signal (BANK SEL*1) for selecting a BANK is produced in DEC 31 by decoding the four low-order bits of ADD and is sent to ADD-REG 21 to select one of the BANKs 0 to 15; a BANK thus selected will be called a "selected BANK" hereinafter.
- the high-order bits of ADD are sent to the selected BANK through ADD-REG 21 and used for selecting one-word data to be partially stored (or replaced) with STD.
- BANKs 0 to 15 When one of BANKs 0 to 15 is selected by BANK SEL*1 and the high-order bits of ADD are sent to the selected BANK via ADD-REG 21, one-word data to be replaced with STD, which data to be replaced is called memory read data (MRD) hereinafter, is read out and stored in one of the read data registers (RD-REG) 22 connected to the selected BANK.
- MRD-REG read data registers
- TAA is the time obtained by adding time required to read out data from a memory cell and time wasted in peripheral circuits, such as BANK ADD-REG 21 and RD-REG 22.
- the timing for setting MRD in RD-REG 22 is determined by TAA. For example, when read out of MRD from a BANK is started in stage 00 (see Fig. 1(b)) and TAA is 100 nanoseconds (ns) and ⁇ is 10 ns, MRD can be set in RD-REG 22 at the end of stage 09 and output in stage 10 as shown in Fig. 1(b).
- BANK CONTROL 103 consists of a bank-address pipeline (BANK-ADD PIPELINE) 30 composed of shift registers and decoders (DEC) 31, 34, 35 and 36 as shown in Fig. 1(a).
- DEC 31 has been explained above.
- the other DECs 34, 35 and 36 are provided to produce bank-select signals BANK SEL09, BANK SEL10 and BANK SEL11, by decoding register outputs of BANK-ADD PIPELINE 30 in stages 09, 10 and 11, respectively.
- BANK-ADD PIPELINE 30 shifts the bank address (four low-order bits of ADD) step by step through the registers number (00), (01), --- and (11).
- BANK SEL09 represents a set of 16 bank-select signals into which DEC 34 decodes the outputs of register (09) in stage 09 shown in Fig. 1(a).
- the MRD set in RD-REG 22 is sent to selector (SEL) 23, where one of the outputs of RD-REG 22 is selected by BANK SEL10 into which DEC 35 decodes the output of register (10), and the output of SEL 23, which will be called “RD” hereinafter, is sent to selector (SEL) 24.
- SEL 24 STD sent from MCU 200 is combined with RD sent from SEL 23.
- WD write data
- STD from MCU 200 is shifted by 10 clock time intervals (10 ⁇ ) by a write data pipeline (WD PIPELINE) 10b in STORE-DATA PIPELINE 101, which is for timing STD with RD.
- BMK from MCU 200 is also shifted, to the same extent as STD in WD PIPELINE 10b, by a BMK pipeline (BMK PIPELINE) 10a, producing a shifted BMK which will be called BM hereinafter.
- BMK PIPELINE BMK pipeline
- BM consists of four bits, corresponding to the four bytes of WD, the four bits being not all zeros or all ones.
- a bit in BM is "1”
- a byte corresponding to the bit "1” is selected from WD
- a byte corresponding to the bit "0” is selected from RD, thus producing combined data (CD) consisting of four bytes.
- the CD from SEL 24 is set in one of the write-data registers (WD-REG) 27 selected by a bank select signal (BANK SEL-11) from DEC 36, via the buffer register (BF)25 and with an error correction code added by the check code generator (CG)26. Partial-store access is performed by storing the contents of the selected writing register in the selected bank.
- the present invention relates to the further improvement of the partial-store merge access method. Therefore, the partial-store merge access method will be discussed briefly below, in reference to Fig. 1(c).
- Fig. 1(c) is a schematic block diagram for illustrating partial-store merge access. Only those constituents relating to partial-store merge access are shown in STORE-DATA PIPELINE 101 and BANK CONTROL 103 in MU 100.
- the same reference signs as in Fig. 1(a) designate the same or similar constituent units or blocks as in Fig. 1(a).
- signals and data such as GO, STD, ADD and BMK are sent to MU 100 from MCU 200, as in Fig. 1(a), and a GO pipeline (GO PIPELINE) 12a and circuits associated with GO PIPELINE 12a are provided in STORE-DATA PIPELINE 101.
- MCU 200 in Fig. 1(c) when a request for a succeeding partial-store access to be performed in MCU 200 is issued from, for example, a central processing unit (CPU) not depicted in Fig. 1(c), whilst MU 100 is performing a preceding partial-store access, MCU judges that the preceding partial-store access is in progress in MU 100 and sends GO to MU 100 with other signals such as STD, ADD and BMK, to be used for the succeeding partial-store access. GO for the succeeding partial-store access is used to inform MU 100 that succeeding partial-store access is required to be performed in MU 100 as partial-store merge access.
- CPU central processing unit
- Partial-store merge access will be discussed in relation to Fig. 1(c), using, for convenience, WD PIPELINE 11a for only a one-byte STD and BMK PIPELINE 10a for one bit corresponding to the one-byte STD.
- one-word data read from a bank, and so STD consists usually of 16 bytes.
- 15 sets of WD PIPELINEs and BMK PIPELINEs, each being the same as WD PIPELINE 11a and BMK PIPELINE 10a in Fig. 1(c) are to exist in parallel with WD PIPELINE 11a and BMK PIPELINE 10a respectively.
- the STD from MCU 200 is shifted by WD PIPELINE (composed of registers) 11a and outputs WD00, WD01, ---, WD09 and WD10 from the registers for stages 00, 01, ---, 09 and 10 are sent to AND gates in AND circuit (AND) 17a respectively.
- AND 17a the outputs of AND gates are wired-ORed and sent to selector (SEL) 24 for selecting read data (RD) or write data (WD).
- SEL 24 selector
- BMK from MCU 200 is shifted by BMK PIPELINE (composed of registers, or in this case, flip-flops) 10a and byte mark signals (BM00, BM01, ----, BM09 and BM10) are output from the registers for stages 00, 01, ---, 09 and 10.
- BMK PIPELINE composed of registers, or in this case, flip-flops
- byte mark signals (BM00, BM01, ----, BM09 and BM10) are output from the registers for stages 00, 01, ---, 09 and 10.
- the GO from MCU 200 is shifted by GO PIPELINE (composed of flip-flops) 12a and the outputs of the flip-flops for stages 00, 01, ---, 08 and 09 are sent to compare (CP) gates in a CP circuit (CP) 13a respectively.
- CP 13a checks the signals from GO PIPELINE 12a to see whether signal GO exists in GO PIPELINE 12a. CP 13a also checks the bank address at stage 10 and the bank address in each stage for coincidence to see whether there is any succeeding STD in WD PIPELINE 11a to be merged with preceding STD which has advanced to stage 10 where MRD is read out. The latter check is based on a priority principle that the last-in data has the highest priority. Therefore, merge access signals (ST-MG00, ST-MG01, ---, ST-MG08 and ST-MG09) output from respective CP gates of CP 13a are for indicating whether or not there is any succeeding partial-store merge access required when the preceding partial-store access is in stage 10.
- AND In an AND circuit (AND) 14a, the outputs of CP 13a (ST-MG00, ST-MG01, ---, ST-MG08 and ST-MG09) are ANDed with the outputs of BMK PIPELINE 10a (BM00, BM01, ---, BM08 and BM09) by the AND gates of AND 14a respectively, and the outputs of the AND gates are sent to priority selector (P-SEL) 15a respectively.
- P-SEL priority selector
- the P-SEL 15a is for performing priority selection of outputs of AND 14a, in other words, priority selection of BMK, based on the priority principle. Therefore, in P-SEL 15a, only the last-in BMK is selected even though other preceding BMKs exist in BMK PIPELINE 10a.
- Output signal BM10 from BMK PIPELINE 10a is directly sent to P-SEL 15a.
- P-SEL 15a When there is no succeeding STD to be partially stored, in other words when the partial-store merge access is not required and only the partial-store access is required to be performed, only BM10 is selected by P-SEL 15a, because in this case the signals input to P-SEL 15a from AND 14a are all "0" except BM10.
- Output of P-SEL 15a is sent to OR gate (OR) 16a and AND 17a at the same time.
- OR 16a When the output of P-SEL 15a is all "0", which means no partial-store access is required, OR 16a outputs "0" for BM, as indicated by BM in Fig. 1(c), to selector (SEL) 24 and AND 17a outputs nothing (all "0") to SEL 24. Thus, when the output of OR 16a is "0", SEL 24 selects only RD to output.
- OR 16a When the outputs of P-SEL 15a are all “0" except the output due to BM10, which means only partial-store access is required, OR 16a outputs "1" to SEL 24 and AND 17a selects WD10 to send to SEL 24. Thus, when "1" is sent to SEL 24 from OR 16a and WD 10 is sent to SEL 24 from AND 17a, SEL 24 selects WD10 instead of RD for performing the partial-store access, which is the same as performing the partial-store access in Fig. 1(a).
- DRAM has a long access time, compared with SRAM; that is, the access time of DRAM is 2 to 3 times as long as that of SRAM. Therefore, if it is assumed that SRAM has been used in MU 100 in Figs. 1(a) and 1(c) and the SRAM must be replaced with DRAM as a result of considerations of economy, the hardware needed for WD PIPELINE 11a, GO PIPELINE 12a, BMK PIPELINE 10a and BANK- ADD PIPELINE 30 and the circuits associated with each pipeline would be 2 to 3 times more than that in the case of SRAM.
- circuits associated with partial-store access increase to a great extent.
- master-slave slip-flops which are composed of more gates and are more expensive as compared with other types of flip-flops such as D-type flip-flops, are required for each pipeline to avoid a racing phenomenon occurring.
- the master-slave flip-flop circuit is not depicted in Figs. 1(a) and 1(c) but it is well-known to those skilled in the art. Therefore, when the number of stages of each pipeline increases, the amount of hardware required for controlling partial-store access increases significantly.
- An embodiment of the present invention can provide for improved efficiency of a partial-store control circuit used in a memory unit which has, for example, a memory device divided into a plurality of memory banks, and is controlled using an interleave method.
- An embodiment of the present invention can provide for a decrease in the quantity of hardware needed for a partial-store control circuit.
- An embodiment of the present invention can provide for reduced cost of a memory unit.
- An embodiment of the present invention can provide for increased reliability of a partial-store control circuit.
- a store-data pipeline is excluded from the memory unit and one-word wide write-data registers and write-position registers are provided for the memory unit instead of the store-data pipeline, corresponding to the memory banks.
- Each write-data register is for storing one-word data, which includes data (partial-store data) to be partially stored into a memory bank and each write-position register is for specifying positions of the partial-store data in the one-word data.
- Figs. 2 serve to illustrate function of a store-data register in a partially storing control circuit embodying the present invention
- Fig. 3 is a timing chart for explaining the timing of signals produced in the partial storing control circuit illustrated by Figs. 2, based on an access time in partial-store access.
- the same reference signs as in Fig. 1(a) or 1(c) designate the same or similar units or parts as in Fig. 1(a) or 1(c).
- Fig. 3 the same reference signs as in Fig. 1(b) designate the same or similar symbols or stages as in Fig. 1(b).
- STD from MCU 200 consists of four bytes and that, therefore, BMK from MCU 200 consists of four bits, that GO from MCU 200 is used not only for performing partial-store access but also for performing partial-store merge access and that the memory device is divided into sixteen memory banks, as in the case of Figs. 1(a), 1(b) and 1(c).
- Fig. 2(a) shows a store-data register (STORE-DATA REG) 105 provided in MU 100, instead of STORE-DATA PIPELINE 101 explained with reference to Fig. 1(a) or 1(c).
- the STORE-DATA REGISTER 105 consists of four similar parts (PARTs 0, 1, 2 and 3), corresponding to the four bytes of STD (bytes 0, 1, 2 and 3), and to the four bits of BMK (bits 0, 1, 2 and 3).
- a circuit of PART 0 for the byte 0 of STD is representatively depicted in Fig. 2(a).
- WD REGISTER sixteen one-byte wide write-data registers
- BM REGISTER sixteen byte-mark registers
- AND AND
- the numbers of these registers and AND gates correspond to the sixteen BANKs 0, 1, 2, ---, 14 and 15 respectively.
- WD REGISTER 11b consisting of sixteen write-data registers, WDR0, WDR1, WDR2, ---, WDR14 and WDR15
- BM REGISTER 10b consisting of sixteen byte-mark flip-flops, BMR0, BMR1, ---, BMR14 and BMR15 and AND 19, as shown in Fig. 2(a).
- BANK SEL*1 from DEC 31 in BANK CONTROL 103 and BMK from MCU 200 are sent to the AND gates in PARTs 0 to 3, where sixteen decoded signals of BANK-SEL*1 and BMK are ANDed, respectively and GO from MCU 200 is sent in parallel to byte-mark registers in PARTs 0 to 3.
- BANK-SEL*1 and BMK are sent to AND 19 and GO is sent to BM REGISTER 10b.
- AND 19 BANK-SEL*1 and BMK are ANDed, so that (either) one of AND gates produces a "1". If byte-data to be partially stored exists in the byte 0 of STD, one of the registers (WDRs 0 to 15) is selected by the output "1" from AND 19, so that the byte-data is set in the selected WDR.
- selector (SEL) 17b selects one of the outputs of WD REGISTER 11b according to BANK SEL10 applied to SEL 17b from DEC 35 in BANK CONTROL 103 (see Fig. 1(a)) to output byte-data.
- the byte-data output from SEL 17b will be called a "write-data 0" hereinafter and indicated as "WD 0" in Fig. 2(a).
- WD 1, 2 and 3 are output from PART 1, 2 and 3 to SEL 24, respectively.
- Each BMR is a D-type flip-flop provided with a selector (SEL) which is representatively numbered as "SEL 15b" in Fig. 2(a). Combining thus the D-type flip-flop BMR with the selector is for performing partial-store merge access, and Fig. 2(b) shows the combined circuit for BMR 0.
- SEL selector
- FIG. 3 A partial-store merge access performed using the circuit shown in Fig. 2(b) will be explained with reference to the timing chart of Fig. 3.
- the same reference signs as in Fig. 1(b) designate the same or similar features as in Fig. 1(b).
- SEL 15b consists of two AND gates (ANDs 51 and 52) and an OR gate (OR 53) connected to BMR 0.
- bit 0 of BMK from MCU 200 which will be written "BMK(bit 0)", hereinafter, is "1", so that SET 0 from AND 19 becomes "1".
- Signals BMK (bit 0) and GO are sent to AND 52 of SEL 15b and SET 0 is sent to BMR 0.
- BMK (bit 0) is "1” and GO from MCU 200 is also "1"
- the output of AND 52 becomes “1” and is sent to OR 53 from which "1" is output.
- the partial-store merge access can be performed as follows, referring to a timing chart in Fig. 3:-
- GO and ADD designating BANK 0 and STD (1) including byte-data D1 in byte 1 are initially sent to MU 100 from MCU 200 to partially store D1 in BANK 0 as shown on the left-upper side of Fig. 3, and at the same time, BMK (11) including "1" in bit 1 is sent to MU 100 from MCU 200 as shown on left-lower side of Fig. 3.
- BANK CONTROL 103 starts advancing stages from 00, that is, starts advancing the bank address (in this case, bank address 0) through BANK-ADD PIPELINE 30 as shown on upper side of Fig. 3, and at the same time, GO, STD (1) and BMK (11) are sent to PART 1 of STORE-DATA REG 105 (see Fig. 2(a)), where, in stage 00, STD (1) including D1 is set in WDR 0 (1′) of PART 1, not depicted in Fig. 2(a), when activated by SET 0 output from AND 19, not depicted in Fig. 2(a).
- BMK (11) is set in BMR 0 (11′) of PART 1, not depicted in Fig. 2(a), as shown on left-lower side of Fig. 3.
- STD (2) including another byte-data D2 in byte 3 and BMK (22) including "1" in bit 3 are sent to MU 100
- STD (2) is set in WDR 0 (2′) of PART 3, not depicted in Fig. 2(a)
- BMK(22) is set in BMR 0 (22′) of PART 3, not depicted in Fig. 2(a).
- STD (3) including still another byte-data D3 in byte 3 and BMK (33) including "1" in bit 3 are sent to MU 100, STD (3) is set in WDR 0 (3′) of PART 3, as a result, D2 in byte 3 of WDR 0 which was stored due to STD (2) is replaced with D3.
- BMK (33) is set in BMR 0 (33′) of PART 3, thus retaining the "1" in bit 3 of BMR 0 which was stored due to BMK (22).
- BANK SEL 10 applied to SEL 17b and SEL 16b of PARTs 1 and 3, not depicted in Fig. 2(a), gates out WD including D1 and D3 in bytes 1 and 3 respectively and also BM including "1" in bits 1 and 3 respectively to SEL 24 (see Fig. 2(a)), where byte-data R1 and R3 in bytes 1 and 3 respectively of RD are replaced with D1 and D3 respectively, producing combined data CD consisting of R1, D1, R3 and D3, as shown in Fig. 3.
- partial-store access to each of a plurality of memory banks in a memory unit operating on the basis of an interleave method is carried out by: reading out one word of read-data from the memory banks in an access time; registering one word of write-data including partially storing data in store-data registers having the same number as the memory banks, in a state of overwriting, initially and at least one time successively within the access time; registering a positional signal for the partially storing data in position-signal registers having the same number as the memory banks, corresponding to registering of the storing data; combining the read out one word read-data with the registered partially storing data, replacing preceding data in the one word read-data with the partially storing data registered, using the registered positional signals, producing a rewrite-data, after the access time; and restoring the rewrite-data to the memory banks.
- the present invention provides a partially storing control circuit used in a memory unit including a memory device, for performing partial-store access to the memory device, said partially storing control circuit comprising:- read out means for reading out read data from the memory device, taking an access time, said read out means starting to operate in accordance with an initial access command sent from the exterior of the memory unit; register means for registering initial write-data including initial partially storing data in accordance with the initial access command and for registering succeeding write-data including succeeding partially storing data with overwrite operation before said access time is over in accordance with succeeding access command, said initial write-data, said succeeding write-data and said succeeding access command being sent from the exterior of the memory unit respectively; combining means for combining said read-data with said initial and succeeding partially storing data registered and left in said register means through said access time, replacing preceded data in said read-data with said initial and succeeding partially storing data left in said register means through said access time, after said access time is over, producing rewrite-data; and restoring said re
- the present invention provides a partially storing control circuit used in a memory unit including a plurality of memory banks, for performing partial-store access to the memory banks every bank through an interleave method; said partially storing control circuit comprising:- read out means for reading out one word read-data from the memory banks, taking an access time, said read out means starting to operate in accordance with an initial access command sent from the exterior of the memory unit; register means for registering initial one word write-data including initial partially storing data in accordance with the initial access command and for registering succeeding one word write-data including succeeding partially storing data with overwrite operation before said access time is over in accordance with succeeding access command, said initial one word write-data, said succeeding one word write-data and said succeeding access command being sent from the exterior of the memory unit respectively; combining means for combining said one word read-data with said initial and succeeding partially storing data registered and left in said register means through said access time, replacing preceding data in said one word read-data with said initial and succeeding partially storing data left
- the present invention provides a partially storing control circuit used in a memory unit including a plurality of memory banks, for performing partial-store access to the memory banks every bank through an interleave method; said partially storing control circuit comprising:- read out means for reading out one word read-data from the memory banks, taking an access time, said read out means starting to operate in accordance with an initial access command sent from the exterior of the memory unit; first register means for registering, corresponding to the memory banks, one word write-data including initial partially storing data in accordance with the initial access command and for registering succeeding one word write-data including succeeding partially storing data with overwrite operation before said access time is over in accordance succeeding access command, said initial one word write-data, said succeeding one word write-data and said succeeding access command being sent from the exterior of the memory unit respectively; second register means for registering, corresponding to the memory banks, positioning data for designating positions of said initial and succeeding partially storing data to be registered in said first register means respectively, in accordance with said initial access command and said succeed
- Said first register means may comprise first registers provided as much as the number of the memory banks and an AND gate circuit to produce set signals for setting said initial and succeeding one word write-data respectively, corresponding to the memory banks.
- Said second register means may comprise second registers and AND-OR circuits provided as much as the number of the memory banks respectively, each of said second registers being made out of a D-type flip-flop circuit for setting one of said positioning data when one of said set signals is applied thereto until said D-type flip-flop circuit is reset after said access time is over, and each of said AND-or circuits being for making said D-type flip-flop circuit register said positioning data until said access time is over.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Dram (AREA)
- Memory System (AREA)
- Memory System Of A Hierarchy Structure (AREA)
- Complex Calculations (AREA)
- Static Random-Access Memory (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
Abstract
read out means (BANK CONTROL 103, RD-REG 22, SEL 23) operable to read out read data (RD) from the memory device, the read out process extending over an access time period of the memory device, said read out means commencing operation in accordance with an externally generated initial access command (GO) sent to the memory unit (100);
register means (STORE-DATA REG 105, WD-REGISTER 11b, BM REGISTER 10b) operable to register initial write-data (WD) including initial partial-store data (STD) in accordance with the initial access command, and operable to register succeeding write-data including succeeding partial-store data with an overwrite operation, before said access time period has expired, in accordance with a succeeding access command, said initial write-data, said succeeding write-data and said succeeding access command being each generated externally of the memory unit (100);
combining means (SEL 24) operable to combine said read-data with said initial and succeeding partial-store data registered and left in said register means over said access time period, replacing preceding data in said read-data with said initial and succeeding partial-store data left in said register means over said access time period, after said access time period has expired, producing rewrite-data; and
restoring said rewrite-data into the memory device (102).
Description
- The present invention relates to a partial-store control circuit used in a memory unit for example having a memory device divided into a plurality of memory banks so that access can be performed to the memory device, using a memory bank as a unit, through an interleave method.
- In a memory unit of a computing system, an interleave method has been used for reducing practical access time of a memory device of the unit. When the interleave method is applied to the memory unit, a memory device in the memory unit is divided into a plurality of memory banks so that memory access to the respective memory banks can be performed partially in parallel in every memory cycle. To carry out the interleave method effectively, the access to the memory device is also divided in proportion to the number of memory banks provided and is performed by using a store-data pipeline and a bank-address pipeline both provided in the memory unit.
- In recently proposed computing systems, dynamic random access memory (DRAM) is used for memory devices for reducing the cost of the systems. However, since DRAM requires a long access time, in comparison with static random access memory (SRAM), a great many stages must be provided in store-data pipeline and in the bank-address pipeline in order for the memory unit to operate in synchronisation with a central processing unit (CPU) of high processing speed. In particular, when a partial-store merge access, which is a recently-proposed memory access method for improving processing efficiency of a computing system, is applied to the memory unit, the amount of hardware needed for circuits for controlling the partial-store merge access increases greatly with increases in the number of stages of the store-data pipeline and the bank-address pipeline.
- A memory unit including a partial-store control circuit will be explained with reference to Figs. 1(a), 1(b) and 1(c).
- Fig. 1(a) illustrates main features of the constitution of such a memory unit (MU) 100. As shown in Fig. 1(a),
MU 100 mainly consists of a memory device (MEMORY DEVICE) 102, a store-data pipeline (STORE-DATA PIPELINE) 101 and a bank-control (BANK CONTROL) 103. As shown by signal lines with reference signs GO, STD, ADD and BMK in Fig. 1(a),MU 100 is controlled by a memory control unit (MCU) 200. GO represents a command signal for starting a partial-store access inMU 100. STD represents store data consisting of one word in which at least one byte of data for partially storing in MEMORY DEVICE 102 is included. ADD represents a signal giving an address for STD to be partially stored inMEMORY DEVICE 101, and BMK represents a byte mark signal for specifying a byte position within STD where byte data for partially storing exists. - In this explanation, it will be assumed for simplicity that STD is one-word data consisting of four bytes and
MEMORY DEVICE 102 is divided into sixteen memory banks (BANKs) as shown byBANK - ADD consists of a plurality of address bits in which four low-order bits specify a BANK including one-word data which is to be replaced partially by STD and other high-order bits specify one-word data within the BANK. The use of ADD in
MU 100 will be explained more concretely below with reference to Figs. 1(a) and 1(b). - Fig. 1(b) is a timing chart for explaining partial-store access and partial-store merge access performed in
MU 100. In Fig. 1(b), reference sign "τ" represents a time interval of a clock signal sent from MCU 200 (a signal line for the clock signal is not depicted in Fig. 1(a)). Compound numerals such as 00, 01, 02, -----11 and 12 represent stages of pipelines. - When ADD is sent to
MU 100 from MCU 200, ADD is sent to a decoder (DEC) 31 inBANK CONTROL 103 and address registers (ADD-REG) 21 inMEMORY DEVICE 102. The first bank-select signal (BANK SEL*1) for selecting a BANK is produced inDEC 31 by decoding the four low-order bits of ADD and is sent to ADD-REG 21 to select one of theBANKs 0 to 15; a BANK thus selected will be called a "selected BANK" hereinafter. Meanwhile, the high-order bits of ADD are sent to the selected BANK through ADD-REG 21 and used for selecting one-word data to be partially stored (or replaced) with STD. - When one of
BANKs 0 to 15 is selected by BANK SEL*1 and the high-order bits of ADD are sent to the selected BANK via ADD-REG 21, one-word data to be replaced with STD, which data to be replaced is called memory read data (MRD) hereinafter, is read out and stored in one of the read data registers (RD-REG) 22 connected to the selected BANK. A time period from the time at which the ADD high-order bits are sent to the selected BANK to the time at which MRD is stored in RD-REG 22 is indicated by TAA in Fig. 1(b). TAA is the time obtained by adding time required to read out data from a memory cell and time wasted in peripheral circuits, such as BANK ADD-REG 21 and RD-REG 22. The timing for setting MRD in RD-REG 22 is determined by TAA. For example, when read out of MRD from a BANK is started in stage 00 (see Fig. 1(b)) and TAA is 100 nanoseconds (ns) and τ is 10 ns, MRD can be set in RD-REG 22 at the end ofstage 09 and output instage 10 as shown in Fig. 1(b). -
BANK CONTROL 103 consists of a bank-address pipeline (BANK-ADD PIPELINE) 30 composed of shift registers and decoders (DEC) 31, 34, 35 and 36 as shown in Fig. 1(a). DEC 31 has been explained above. Theother DECs ADD PIPELINE 30 instages ADD PIPELINE 30 shifts the bank address (four low-order bits of ADD) step by step through the registers number (00), (01), --- and (11). For example, BANK SEL09 represents a set of 16 bank-select signals into whichDEC 34 decodes the outputs of register (09) instage 09 shown in Fig. 1(a). - The MRD set in RD-REG 22 is sent to selector (SEL) 23, where one of the outputs of RD-REG 22 is selected by BANK SEL10 into which
DEC 35 decodes the output of register (10), and the output ofSEL 23, which will be called "RD" hereinafter, is sent to selector (SEL) 24. In SEL 24, STD sent from MCU 200 is combined with RD sent fromSEL 23. (In partial-store access, and in partial-store merge access which will be explained later, STD is used as write data (WD) for the memory banks, so that there is a case that WD is used instead of STD hereinafter). As shown in Fig. 1(b), STD fromMCU 200 is shifted by 10 clock time intervals (10τ ) by a write data pipeline (WD PIPELINE) 10b in STORE-DATA PIPELINE 101, which is for timing STD with RD. At the same time, BMK from MCU 200 is also shifted, to the same extent as STD in WD PIPELINE 10b, by a BMK pipeline (BMK PIPELINE) 10a, producing a shifted BMK which will be called BM hereinafter. The time relationships of WD and BM with RD are shown instage 10 in Fig. 1(b). - In
SEL 24, WD and RD are combined, as specified by BM. BM consists of four bits, corresponding to the four bytes of WD, the four bits being not all zeros or all ones. When a bit in BM is "1", a byte corresponding to the bit "1" is selected from WD, and when "0", a byte corresponding to the bit "0" is selected from RD, thus producing combined data (CD) consisting of four bytes. - The CD from
SEL 24 is set in one of the write-data registers (WD-REG) 27 selected by a bank select signal (BANK SEL-11) fromDEC 36, via the buffer register (BF)25 and with an error correction code added by the check code generator (CG)26. Partial-store access is performed by storing the contents of the selected writing register in the selected bank. - With the partial-store access mentioned above, when partial-store access is again required to be performed for the same memory address, it can occur that the succeeding partial-store access is required to be newly performed for the same memory address before the preceding partial-store access is terminated. In this case, however, the succeeding partial-store access has nonetheless to be performed after the preceding partial-store access is terminated. This causes an increase in the number of times partial store access is performed, decreasing the efficiency of the computing system.
- An improvement in relation to this problem has been provided by the inventor of the present invention. The improvement was disclosed in Laid-open Japanese Patent TOKUKAISHO 62-38953 (1987) and TOKAISHO 63-129437 (1988). Therein, a new partial-access method called "partial-store merge access" is disclosed. According to the partial-store merge access method, the succeeding partial-store access can be performed as a part of a preceding partial-store access.
- The present invention relates to the further improvement of the partial-store merge access method. Therefore, the partial-store merge access method will be discussed briefly below, in reference to Fig. 1(c).
- Fig. 1(c) is a schematic block diagram for illustrating partial-store merge access. Only those constituents relating to partial-store merge access are shown in STORE-
DATA PIPELINE 101 andBANK CONTROL 103 inMU 100. In Fig. 1(c), the same reference signs as in Fig. 1(a) designate the same or similar constituent units or blocks as in Fig. 1(a). In Fig. 1(c), signals and data such as GO, STD, ADD and BMK are sent toMU 100 fromMCU 200, as in Fig. 1(a), and a GO pipeline (GO PIPELINE) 12a and circuits associated with GO PIPELINE 12a are provided in STORE-DATA PIPELINE 101. - In
MCU 200 in Fig. 1(c), when a request for a succeeding partial-store access to be performed inMCU 200 is issued from, for example, a central processing unit (CPU) not depicted in Fig. 1(c), whilstMU 100 is performing a preceding partial-store access, MCU judges that the preceding partial-store access is in progress inMU 100 and sends GO toMU 100 with other signals such as STD, ADD and BMK, to be used for the succeeding partial-store access. GO for the succeeding partial-store access is used to informMU 100 that succeeding partial-store access is required to be performed inMU 100 as partial-store merge access. - Partial-store merge access will be discussed in relation to Fig. 1(c), using, for convenience, WD PIPELINE 11a for only a one-byte STD and BMK PIPELINE 10a for one bit corresponding to the one-byte STD. However, one-word data read from a bank, and so STD, consists usually of 16 bytes. In this case, 15 sets of WD PIPELINEs and BMK PIPELINEs, each being the same as WD PIPELINE 11a and BMK PIPELINE 10a in Fig. 1(c), are to exist in parallel with WD PIPELINE 11a and BMK PIPELINE 10a respectively.
- The STD from MCU 200 is shifted by WD PIPELINE (composed of registers) 11a and outputs WD00, WD01, ---, WD09 and WD10 from the registers for
stages SEL 24 will be further explained below. - BMK from
MCU 200 is shifted by BMK PIPELINE (composed of registers, or in this case, flip-flops) 10a and byte mark signals (BM00, BM01, ----, BM09 and BM10) are output from the registers forstages - The GO from
MCU 200 is shifted by GO PIPELINE (composed of flip-flops) 12a and the outputs of the flip-flops forstages - Four low-order bits of ADD from
MCU 200 are shifted by BANK-ADD PIPELINE (composed of registers) 30 and bank address signals from registers forstages CP 13a, respectively, together with the output of the register forstage 10. -
CP 13a checks the signals fromGO PIPELINE 12a to see whether signal GO exists inGO PIPELINE 12a.CP 13a also checks the bank address atstage 10 and the bank address in each stage for coincidence to see whether there is any succeeding STD in WD PIPELINE 11a to be merged with preceding STD which has advanced to stage 10 where MRD is read out. The latter check is based on a priority principle that the last-in data has the highest priority. Therefore, merge access signals (ST-MG00, ST-MG01, ---, ST-MG08 and ST-MG09) output from respective CP gates ofCP 13a are for indicating whether or not there is any succeeding partial-store merge access required when the preceding partial-store access is instage 10. - In an AND circuit (AND) 14a, the outputs of
CP 13a (ST-MG00, ST-MG01, ---, ST-MG08 and ST-MG09) are ANDed with the outputs of BMK PIPELINE 10a (BM00, BM01, ---, BM08 and BM09) by the AND gates of AND 14a respectively, and the outputs of the AND gates are sent to priority selector (P-SEL) 15a respectively. - The P-
SEL 15a is for performing priority selection of outputs of AND 14a, in other words, priority selection of BMK, based on the priority principle. Therefore, in P-SEL 15a, only the last-in BMK is selected even though other preceding BMKs exist in BMK PIPELINE 10a. - Output signal BM10 from BMK PIPELINE 10a is directly sent to P-
SEL 15a. When there is no succeeding STD to be partially stored, in other words when the partial-store merge access is not required and only the partial-store access is required to be performed, only BM10 is selected by P-SEL 15a, because in this case the signals input to P-SEL 15a from AND 14a are all "0" except BM10. - Output of P-
SEL 15a is sent to OR gate (OR) 16a and AND 17a at the same time. - When the output of P-
SEL 15a is all "0", which means no partial-store access is required, OR 16a outputs "0" for BM, as indicated by BM in Fig. 1(c), to selector (SEL) 24 and AND 17a outputs nothing (all "0") toSEL 24. Thus, when the output of OR 16a is "0",SEL 24 selects only RD to output. - When the outputs of P-
SEL 15a are all "0" except the output due to BM10, which means only partial-store access is required, OR 16a outputs "1" toSEL 24 and AND 17a selects WD10 to send toSEL 24. Thus, when "1" is sent toSEL 24 from OR 16a andWD 10 is sent toSEL 24 from AND 17a,SEL 24 selects WD10 instead of RD for performing the partial-store access, which is the same as performing the partial-store access in Fig. 1(a). - When some outputs from AND 14a to P-
SEL 15a are "1" with the output due to BM10 set to "1", the last-in "1" is selected with first priority by P-SEL 15a to output the selected "1" therefrom. As a result, OR 16a outputs a signal "1" due to the last-in "1" and sends the "1" toSEL 24, and AND 17a selects one of outputs, WD00, WD01, ---, WD08 and WD09, of WD PIPELINE 11a, corresponding to the last-in "1". In this case,SEL 24 selects the succeeding STD for performing partial-store merge access. - As indicated above, DRAM has a long access time, compared with SRAM; that is, the access time of DRAM is 2 to 3 times as long as that of SRAM. Therefore, if it is assumed that SRAM has been used in
MU 100 in Figs. 1(a) and 1(c) and the SRAM must be replaced with DRAM as a result of considerations of economy, the hardware needed for WD PIPELINE 11a,GO PIPELINE 12a, BMK PIPELINE 10a and BANK-ADD PIPELINE 30 and the circuits associated with each pipeline would be 2 to 3 times more than that in the case of SRAM. - As the number of stages of a pipeline exceeds the number of banks, circuits associated with partial-store access increase to a great extent.
- Furthermore, when using a pipeline, master-slave slip-flops, which are composed of more gates and are more expensive as compared with other types of flip-flops such as D-type flip-flops, are required for each pipeline to avoid a racing phenomenon occurring. The master-slave flip-flop circuit is not depicted in Figs. 1(a) and 1(c) but it is well-known to those skilled in the art. Therefore, when the number of stages of each pipeline increases, the amount of hardware required for controlling partial-store access increases significantly.
- An embodiment of the present invention can provide for improved efficiency of a partial-store control circuit used in a memory unit which has, for example, a memory device divided into a plurality of memory banks, and is controlled using an interleave method.
- An embodiment of the present invention can provide for a decrease in the quantity of hardware needed for a partial-store control circuit.
- An embodiment of the present invention can provide for reduced cost of a memory unit.
- An embodiment of the present invention can provide for increased reliability of a partial-store control circuit.
- In an embodiment of the present invention a store-data pipeline is excluded from the memory unit and one-word wide write-data registers and write-position registers are provided for the memory unit instead of the store-data pipeline, corresponding to the memory banks. Each write-data register is for storing one-word data, which includes data (partial-store data) to be partially stored into a memory bank and each write-position register is for specifying positions of the partial-store data in the one-word data. When performance of a partial-store access (an initial partial-store access) has started in the memory unit and performance of another, succeeding partial-store access in the memory unit is requested before the access time for the initial partial-store access elapses, incoming partial-store data, externally provided, is overwritten in the write-data registers at a position designated by an incoming, externally provided write position signal, thus successively renewing the partial-store data in the write-data registers, based on the principle that the last-in data has the highest priority. The contents of the write-position registers are successively ORed with the incoming write position signals and set in the write-position registers to accumulate the signals. When one-word data is read out from a memory bank for performing partial-store access (initial partial-store access), succeeding partial-store access can be performed together with the initial partial-store access, by replacing the data read from the memory bank with the contents of the write data registers in accordance with the write position signals from the write-position registers.
- Reference is made, by way of example, to the accompanying drawings, in which:-
- Fig. 1(a) is a schematic block diagram for illustrating function of a partially storing control circuit used in a memory unit;
- Fig. 1(b) is a timing chart for showing the access time of a partial-store access and timing of signals provided in the partially storing control circuit of Fig. 1(a).
- Fig. 1(c) is a schematic block diagram illustrating function of a store-data pipeline in a partially storing control circuit.
- Fig. 2(a) is a block diagram illustrating a store-data register in a partially storing control circuit embodying the present invention;
- Fig. 2(b) is a schematic circuit diagram of a selector used with a byte-mark register in the store-data register of Fig. 2(a).
- Fig. 3 is a timing chart for explaining timing of signals produced in a partially storing control circuit embodying the present invention.
- Figs. 2 serve to illustrate function of a store-data register in a partially storing control circuit embodying the present invention, and Fig. 3 is a timing chart for explaining the timing of signals produced in the partial storing control circuit illustrated by Figs. 2, based on an access time in partial-store access. In Figs. 2, the same reference signs as in Fig. 1(a) or 1(c) designate the same or similar units or parts as in Fig. 1(a) or 1(c). In Fig. 3, the same reference signs as in Fig. 1(b) designate the same or similar symbols or stages as in Fig. 1(b).
- For the purposes of the description below, it will be assumed for convenience that STD from
MCU 200 consists of four bytes and that, therefore, BMK fromMCU 200 consists of four bits, that GO fromMCU 200 is used not only for performing partial-store access but also for performing partial-store merge access and that the memory device is divided into sixteen memory banks, as in the case of Figs. 1(a), 1(b) and 1(c). - Fig. 2(a) shows a store-data register (STORE-DATA REG) 105 provided in
MU 100, instead of STORE-DATA PIPELINE 101 explained with reference to Fig. 1(a) or 1(c). The STORE-DATA REGISTER 105 consists of four similar parts (PARTs bytes bits PART 0 for thebyte 0 of STD is representatively depicted in Fig. 2(a). In each PART, there are sixteen one-byte wide write-data registers (WD REGISTER), sixteen byte-mark registers (BM REGISTER) and an AND circuit (AND) consisting of sixteen AND gates. The numbers of these registers and AND gates correspond to the sixteenBANKs PART 0, there areWD REGISTER 11b consisting of sixteen write-data registers, WDR0, WDR1, WDR2, ---, WDR14 and WDR15,BM REGISTER 10b consisting of sixteen byte-mark flip-flops, BMR0, BMR1, ---, BMR14 and BMR15 and AND 19, as shown in Fig. 2(a). - BANK SEL*1 from
DEC 31 inBANK CONTROL 103 and BMK fromMCU 200 are sent to the AND gates inPARTs 0 to 3, where sixteen decoded signals of BANK-SEL*1 and BMK are ANDed, respectively and GO fromMCU 200 is sent in parallel to byte-mark registers inPARTs 0 to 3. For example, in case ofPART 0, BANK-SEL*1 and BMK are sent to AND 19 and GO is sent toBM REGISTER 10b. In AND 19, BANK-SEL*1 and BMK are ANDed, so that (either) one of AND gates produces a "1". If byte-data to be partially stored exists in thebyte 0 of STD, one of the registers (WDRs 0 to 15) is selected by the output "1" from AND 19, so that the byte-data is set in the selected WDR. - When the partial-store access has advanced to stage 10 (see Fig. 1(b)), selector (SEL) 17b selects one of the outputs of
WD REGISTER 11b according to BANK SEL10 applied toSEL 17b fromDEC 35 in BANK CONTROL 103 (see Fig. 1(a)) to output byte-data. The byte-data output fromSEL 17b will be called a "write-data 0" hereinafter and indicated as "WD 0" in Fig. 2(a). In the same way as the above,WD PART SEL 24, respectively. - Meanwhile, when byte-data to be partially stored exists in
byte 0 of STD, one ofSETs 0 to 15 becomes "1" and selects one ofBMRs 0 to 15 ofBM REGISTER 10b to setBMK bit 0 in the selected BMR corresponding to the selected WDR. Each BMR is a D-type flip-flop provided with a selector (SEL) which is representatively numbered as "SEL 15b" in Fig. 2(a). Combining thus the D-type flip-flop BMR with the selector is for performing partial-store merge access, and Fig. 2(b) shows the combined circuit forBMR 0. In Fig. 2(b), the same reference signs as in Fig. 2(a) designate the same parts as in Fig. 2(a). - A partial-store merge access performed using the circuit shown in Fig. 2(b) will be explained with reference to the timing chart of Fig. 3. In Fig. 3, the same reference signs as in Fig. 1(b) designate the same or similar features as in Fig. 1(b).
- In Fig. 2(b),
SEL 15b consists of two AND gates (ANDs 51 and 52) and an OR gate (OR 53) connected toBMR 0. When byte-data to be partially stored inMU 100 exists inbyte 0 of STD,bit 0 of BMK fromMCU 200, which will be written "BMK(bit 0)", hereinafter, is "1", so thatSET 0 from AND 19 becomes "1". Signals BMK (bit 0) and GO are sent to AND 52 ofSEL 15b andSET 0 is sent toBMR 0. When BMK (bit 0) is "1" and GO fromMCU 200 is also "1", the output of AND 52 becomes "1" and is sent to OR 53 from which "1" is output. When the output of OR 53 is "1" andBMR 0 is triggered bySET 0,BMR 0 is set to "1". There is another AND gate 51 (AND 51) having two inputs connected to the output of BMR0 and GO and having an output connected to another input of OR 53. When the output ofBMR 0 is "1" and GO is activated, AND 51 outputs "1", then OR 53 outputs "1", thus retaining the "1" state ofBMR 0. Therefore, onceBMR 0 is set to "1" due to BMK (bit 0) of preceding partial-store access,BMR 0 always outputs "1", even if BMK (bit (0) of succeeding partial-store access is "0" and AND 52 does not output "1".BMR 0 retains the set "1" state until cleared by BANK SEL11 of BANK-ADD PIPELINE 30. - Therefore, in
MU 100, when a plurality of commands for partial-store access to the same address inBANK 0, for example, are required to be performed successively, within the access time for an initial partial-store access, in other words when partial-store merge access is required to be performed, the partial-store merge access can be performed as follows, referring to a timing chart in Fig. 3:- - GO and ADD designating
BANK 0 and STD (1) including byte-data D1 inbyte 1 are initially sent toMU 100 fromMCU 200 to partially store D1 inBANK 0 as shown on the left-upper side of Fig. 3, and at the same time, BMK (11) including "1" inbit 1 is sent toMU 100 fromMCU 200 as shown on left-lower side of Fig. 3. - BANK CONTROL 103 (see Figs. 2(a) and 1(a)) starts advancing stages from 00, that is, starts advancing the bank address (in this case, bank address 0) through BANK-
ADD PIPELINE 30 as shown on upper side of Fig. 3, and at the same time, GO, STD (1) and BMK (11) are sent toPART 1 of STORE-DATA REG 105 (see Fig. 2(a)), where, instage 00, STD (1) including D1 is set in WDR 0 (1′) ofPART 1, not depicted in Fig. 2(a), when activated bySET 0 output from AND 19, not depicted in Fig. 2(a). BMK (11) is set in BMR 0 (11′) ofPART 1, not depicted in Fig. 2(a), as shown on left-lower side of Fig. 3. - When the initial partial-store access is in
stage 02, and when another GO and ADD designating thesame BANK 0, STD (2) including another byte-data D2 inbyte 3 and BMK (22) including "1" inbit 3 are sent toMU 100, STD (2) is set in WDR 0 (2′) ofPART 3, not depicted in Fig. 2(a), and BMK(22) is set in BMR 0 (22′) ofPART 3, not depicted in Fig. 2(a). - When the initial partial-store access is in
stage 06, and still another GO and ADD designating thesame BANK 0, STD (3) including still another byte-data D3 inbyte 3 and BMK (33) including "1" inbit 3 are sent toMU 100, STD (3) is set in WDR 0 (3′) ofPART 3, as a result, D2 inbyte 3 ofWDR 0 which was stored due to STD (2) is replaced with D3. BMK (33) is set in BMR 0 (33′) ofPART 3, thus retaining the "1" inbit 3 ofBMR 0 which was stored due to BMK (22). - When the initial partial-store access advances to stage 10,
BANK SEL 10 applied toSEL 17b andSEL 16b ofPARTs bytes bits bytes - In accordance with an embodiment of the present invention partial-store access to each of a plurality of memory banks in a memory unit operating on the basis of an interleave method is carried out by: reading out one word of read-data from the memory banks in an access time; registering one word of write-data including partially storing data in store-data registers having the same number as the memory banks, in a state of overwriting, initially and at least one time successively within the access time; registering a positional signal for the partially storing data in position-signal registers having the same number as the memory banks, corresponding to registering of the storing data; combining the read out one word read-data with the registered partially storing data, replacing preceding data in the one word read-data with the partially storing data registered, using the registered positional signals, producing a rewrite-data, after the access time; and restoring the rewrite-data to the memory banks.
- The present invention provides a partially storing control circuit used in a memory unit including a memory device, for performing partial-store access to the memory device, said partially storing control circuit comprising:-
read out means for reading out read data from the memory device, taking an access time, said read out means starting to operate in accordance with an initial access command sent from the exterior of the memory unit;
register means for registering initial write-data including initial partially storing data in accordance with the initial access command and for registering succeeding write-data including succeeding partially storing data with overwrite operation before said access time is over in accordance with succeeding access command, said initial write-data, said succeeding write-data and said succeeding access command being sent from the exterior of the memory unit respectively;
combining means for combining said read-data with said initial and succeeding partially storing data registered and left in said register means through said access time, replacing preceded data in said read-data with said initial and succeeding partially storing data left in said register means through said access time, after said access time is over, producing rewrite-data; and
restoring said rewrite-data in the memory device. - The present invention provides a partially storing control circuit used in a memory unit including a plurality of memory banks, for performing partial-store access to the memory banks every bank through an interleave method; said partially storing control circuit comprising:-
read out means for reading out one word read-data from the memory banks, taking an access time, said read out means starting to operate in accordance with an initial access command sent from the exterior of the memory unit;
register means for registering initial one word write-data including initial partially storing data in accordance with the initial access command and for registering succeeding one word write-data including succeeding partially storing data with overwrite operation before said access time is over in accordance with succeeding access command, said initial one word write-data, said succeeding one word write-data and said succeeding access command being sent from the exterior of the memory unit respectively;
combining means for combining said one word read-data with said initial and succeeding partially storing data registered and left in said register means through said access time, replacing preceding data in said one word read-data with said initial and succeeding partially storing data left in said register means through said access time, after said access time is over, producing rewrite-data; and
restoring said rewrite-data in the memory banks. - The present invention provides a partially storing control circuit used in a memory unit including a plurality of memory banks, for performing partial-store access to the memory banks every bank through an interleave method; said partially storing control circuit comprising:-
read out means for reading out one word read-data from the memory banks, taking an access time, said read out means starting to operate in accordance with an initial access command sent from the exterior of the memory unit;
first register means for registering, corresponding to the memory banks, one word write-data including initial partially storing data in accordance with the initial access command and for registering succeeding one word write-data including succeeding partially storing data with overwrite operation before said access time is over in accordance succeeding access command, said initial one word write-data, said succeeding one word write-data and said succeeding access command being sent from the exterior of the memory unit respectively;
second register means for registering, corresponding to the memory banks, positioning data for designating positions of said initial and succeeding partially storing data to be registered in said first register means respectively, in accordance with said initial access command and said succeeding access commands respectively, said positioning data being sent from the exterior of the memory unit, corresponding to said initial and succeeding one word write-data respectively;
combining means for combining said one word read-data with said initial and succeeding partially storing data registered and left in said first register means through said access time, replacing preceded data in said one word read-data with said initial and succeeding partially storing data respectively, using said positioning data, after said access time is over, producing one word rewrite-data; and
restoring said one word rewrite data in the memory banks. - Said first register means may comprise first registers provided as much as the number of the memory banks and an AND gate circuit to produce set signals for setting said initial and succeeding one word write-data respectively, corresponding to the memory banks.
- Said second register means may comprise second registers and AND-OR circuits provided as much as the number of the memory banks respectively, each of said second registers being made out of a D-type flip-flop circuit for setting one of said positioning data when one of said set signals is applied thereto until said D-type flip-flop circuit is reset after said access time is over, and each of said AND-or circuits being for making said D-type flip-flop circuit register said positioning data until said access time is over.
Claims (5)
read out means operable to read out read data from the memory device, the read out process extending over an access time period of the memory device, said read out means commencing operation in accordance with an externally generated initial access command sent to the memory unit;
register means operable to register initial write-data including initial partial-store data in accordance with the initial access command, and operable to register succeeding write-data including succeeding partial-store data with an overwrite operation, before said access time period has expired, in accordance with a succeeding access command, said initial write-data, said succeeding write-data and said succeeding access command being each generated externally of the memory unit;
combining means operable to combine said read-data with said initial and succeeding partial-store data registered and left in said register means over said access time period, replacing preceding data in said read-data with said initial and succeeding partial-store data left in said register means over said access time period, after said access time period has expired, producing rewrite-data; and
restoring said rewrite-data into the memory device.
first register means operable to register, in correspondence to respective memory banks, one word write-data including said initial partial-store data in accordance with said initial access command, and operable to register said succeeding one word write-data including said succeeding partial-store data with overwrite operation, before said access time period has expired, in accordance with a succeeding access command; and
second register means, operable to register, in correspondence to respective memory banks, positioning data for designating positions of said initial and succeeding partial-store data to be registered in said first register means respectively, in accordance with said initial access command and said succeeding access commands respectively, said positioning data being generated externally of the memory unit, corresponding to said initial and succeeding one word write-data respectively;
and wherein the combining, effected by said combining means is carried out using said positioning data.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP01055407A JP3081614B2 (en) | 1989-03-08 | 1989-03-08 | Partial write control device |
JP55407/89 | 1989-03-08 |
Publications (3)
Publication Number | Publication Date |
---|---|
EP0386719A2 true EP0386719A2 (en) | 1990-09-12 |
EP0386719A3 EP0386719A3 (en) | 1992-01-22 |
EP0386719B1 EP0386719B1 (en) | 1998-11-25 |
Family
ID=12997694
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
EP90104325A Expired - Lifetime EP0386719B1 (en) | 1989-03-08 | 1990-03-07 | Partial store control circuit |
Country Status (7)
Country | Link |
---|---|
US (1) | US5206942A (en) |
EP (1) | EP0386719B1 (en) |
JP (1) | JP3081614B2 (en) |
KR (1) | KR920005739B1 (en) |
AU (1) | AU619088B2 (en) |
CA (1) | CA2011632C (en) |
DE (1) | DE69032776T2 (en) |
Families Citing this family (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0454652A (en) * | 1990-06-25 | 1992-02-21 | Nec Corp | Microcomputer |
JPH04242433A (en) * | 1991-01-17 | 1992-08-31 | Nec Corp | Microprocessor |
US5734927A (en) * | 1995-06-08 | 1998-03-31 | Texas Instruments Incorporated | System having registers for receiving data, registers for transmitting data, both at a different clock rate, and control circuitry for shifting the different clock rates |
US5982676A (en) * | 1998-05-26 | 1999-11-09 | Stmicroelectronics, Inc. | Low voltage generator for bitlines |
US6272609B1 (en) * | 1998-07-31 | 2001-08-07 | Micron Electronics, Inc. | Pipelined memory controller |
US6215708B1 (en) * | 1998-09-30 | 2001-04-10 | Integrated Device Technology, Inc. | Charge pump for improving memory cell low VCC performance without increasing gate oxide thickness |
JP3742250B2 (en) * | 1999-06-04 | 2006-02-01 | 富士通株式会社 | Packet data processing apparatus and packet relay apparatus using the same |
US7577640B1 (en) * | 2004-03-31 | 2009-08-18 | Avaya Inc. | Highly available, highly scalable multi-source logical database with low latency |
US20070150697A1 (en) * | 2005-05-10 | 2007-06-28 | Telairity Semiconductor, Inc. | Vector processor with multi-pipe vector block matching |
US20060259737A1 (en) * | 2005-05-10 | 2006-11-16 | Telairity Semiconductor, Inc. | Vector processor with special purpose registers and high speed memory access |
US8139399B2 (en) | 2009-10-13 | 2012-03-20 | Mosys, Inc. | Multiple cycle memory write completion |
JP2015108972A (en) * | 2013-12-04 | 2015-06-11 | 富士通株式会社 | Calculation device, determination method of calculation device, and program |
HUE048477T2 (en) | 2014-01-31 | 2020-07-28 | Hewlett Packard Development Co | Three-dimensional addressing for erasable programmable read only memory |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US3883854A (en) * | 1973-11-30 | 1975-05-13 | Ibm | Interleaved memory control signal and data handling apparatus using pipelining techniques |
JPS6238953A (en) * | 1985-08-14 | 1987-02-19 | Fujitsu Ltd | Main storage device for compression of partial write access |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS57105879A (en) * | 1980-12-23 | 1982-07-01 | Hitachi Ltd | Control system for storage device |
US4675808A (en) * | 1983-08-08 | 1987-06-23 | American Telephone And Telegraph Company At&T Bell Laboratories | Multiplexed-address interface for addressing memories of various sizes |
JPS60157646A (en) * | 1984-01-27 | 1985-08-17 | Mitsubishi Electric Corp | Memory bank switching device |
JPH0670773B2 (en) * | 1984-11-01 | 1994-09-07 | 富士通株式会社 | Advance control method |
US4601018A (en) * | 1985-01-29 | 1986-07-15 | Allen Baum | Banked memory circuit |
JPS62194561A (en) * | 1986-02-21 | 1987-08-27 | Toshiba Corp | Semiconductor storage device |
US4797850A (en) * | 1986-05-12 | 1989-01-10 | Advanced Micro Devices, Inc. | Dynamic random access memory controller with multiple independent control channels |
US4937781A (en) * | 1988-05-13 | 1990-06-26 | Dallas Semiconductor Corporation | Dual port ram with arbitration status register |
US5060145A (en) * | 1989-09-06 | 1991-10-22 | Unisys Corporation | Memory access system for pipelined data paths to and from storage |
-
1989
- 1989-03-08 JP JP01055407A patent/JP3081614B2/en not_active Expired - Fee Related
-
1990
- 1990-03-07 AU AU51134/90A patent/AU619088B2/en not_active Ceased
- 1990-03-07 CA CA002011632A patent/CA2011632C/en not_active Expired - Fee Related
- 1990-03-07 EP EP90104325A patent/EP0386719B1/en not_active Expired - Lifetime
- 1990-03-07 DE DE69032776T patent/DE69032776T2/en not_active Expired - Fee Related
- 1990-03-08 US US07/490,447 patent/US5206942A/en not_active Expired - Fee Related
- 1990-03-08 KR KR1019900003047A patent/KR920005739B1/en not_active IP Right Cessation
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US3883854A (en) * | 1973-11-30 | 1975-05-13 | Ibm | Interleaved memory control signal and data handling apparatus using pipelining techniques |
JPS6238953A (en) * | 1985-08-14 | 1987-02-19 | Fujitsu Ltd | Main storage device for compression of partial write access |
Non-Patent Citations (1)
Title |
---|
PATENT ABSTRACTS OF JAPAN vol. 11, no. 219 (P-596)(2666) 16 July 1987 & JP-A-62 038 953 ( FUJITSU LTD ) 19 February 1987 * |
Also Published As
Publication number | Publication date |
---|---|
EP0386719B1 (en) | 1998-11-25 |
CA2011632C (en) | 1996-07-09 |
KR920005739B1 (en) | 1992-07-16 |
EP0386719A3 (en) | 1992-01-22 |
AU5113490A (en) | 1990-09-20 |
DE69032776D1 (en) | 1999-01-07 |
JP3081614B2 (en) | 2000-08-28 |
DE69032776T2 (en) | 1999-04-22 |
AU619088B2 (en) | 1992-01-16 |
JPH02234242A (en) | 1990-09-17 |
US5206942A (en) | 1993-04-27 |
CA2011632A1 (en) | 1990-09-08 |
KR900014989A (en) | 1990-10-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4354232A (en) | Cache memory command buffer circuit | |
US5357473A (en) | Semiconductor storage system including defective bit replacement | |
US5960453A (en) | Word selection logic to implement an 80 or 96-bit cache SRAM | |
EP0386719B1 (en) | Partial store control circuit | |
US4755936A (en) | Apparatus and method for providing a cache memory unit with a write operation utilizing two system clock cycles | |
US6745291B1 (en) | High speed LRU line replacement system for cache memories | |
US5765203A (en) | Storage and addressing method for a buffer memory control system for accessing user and error imformation | |
US4419725A (en) | Cache/disk subsystem with tagalong copy | |
US4371949A (en) | Time-shared, multi-phase memory accessing system having automatically updatable error logging means | |
US4174537A (en) | Time-shared, multi-phase memory accessing system having automatically updatable error logging means | |
JPS6142303B2 (en) | ||
US4768197A (en) | Cache error code update | |
CN87103852A (en) | Partial write control apparatus | |
EP0787326B1 (en) | System and method for processing of memory data and communication system comprising such system | |
JP3190847B2 (en) | Data transfer control device | |
JPH0210446A (en) | Buffer storage device | |
JP2850340B2 (en) | Cache memory control circuit | |
JP2716563B2 (en) | Data write control method | |
JP3074897B2 (en) | Memory circuit | |
JPH1063569A (en) | Main memory data writing device | |
JPS5991548A (en) | Distributor | |
JPH0218638A (en) | Data control system | |
JPS63103342A (en) | Main memory controller | |
JPS5925302B2 (en) | Control method for multi-tiered storage device | |
JPH0561613A (en) | Access system for external storage device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PUAI | Public reference made under article 153(3) epc to a published international application that has entered the european phase |
Free format text: ORIGINAL CODE: 0009012 |
|
AK | Designated contracting states |
Kind code of ref document: A2 Designated state(s): DE ES FR GB |
|
PUAL | Search report despatched |
Free format text: ORIGINAL CODE: 0009013 |
|
AK | Designated contracting states |
Kind code of ref document: A3 Designated state(s): DE ES FR GB |
|
17P | Request for examination filed |
Effective date: 19920221 |
|
17Q | First examination report despatched |
Effective date: 19960409 |
|
GRAG | Despatch of communication of intention to grant |
Free format text: ORIGINAL CODE: EPIDOS AGRA |
|
GRAG | Despatch of communication of intention to grant |
Free format text: ORIGINAL CODE: EPIDOS AGRA |
|
GRAH | Despatch of communication of intention to grant a patent |
Free format text: ORIGINAL CODE: EPIDOS IGRA |
|
GRAH | Despatch of communication of intention to grant a patent |
Free format text: ORIGINAL CODE: EPIDOS IGRA |
|
GRAA | (expected) grant |
Free format text: ORIGINAL CODE: 0009210 |
|
RBV | Designated contracting states (corrected) |
Designated state(s): DE |
|
AK | Designated contracting states |
Kind code of ref document: B1 Designated state(s): DE |
|
REF | Corresponds to: |
Ref document number: 69032776 Country of ref document: DE Date of ref document: 19990107 |
|
PLBE | No opposition filed within time limit |
Free format text: ORIGINAL CODE: 0009261 |
|
STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: NO OPPOSITION FILED WITHIN TIME LIMIT |
|
26N | No opposition filed | ||
PGFP | Annual fee paid to national office [announced via postgrant information from national office to epo] |
Ref country code: DE Payment date: 20000306 Year of fee payment: 11 |
|
PG25 | Lapsed in a contracting state [announced via postgrant information from national office to epo] |
Ref country code: DE Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES Effective date: 20020101 |