TIME-INTERLEAVING SENSING SCHEME FOR PSEUDO DUAL-PORT MEMORY
20220406373 · 2022-12-22
Assignee
Inventors
Cpc classification
International classification
Abstract
The present invention provides a pseudo dual-port memory. The pseudo dual-port memory includes a single-port memory, a multiplexer, a timing control circuit and an output circuit. The multiplexer is configured to sequentially output a first address and a second address to the single-port memory. The output circuit is configured to receive output data from the single-port memory to generate a first reading result corresponding to the first address and a second reading result corresponding to the second address. The output circuit includes a first sense amplifier and a second sense amplifier, wherein the first sense amplifier receives the output data to generate first data serving as the first reading result according to a first control signal, and the second sense amplifier receives the output data to generate second data serving as the second reading result according to a second control signal.
Claims
1. A pseudo dual-port memory, comprising: a single-port memory; a multiplexer, configured to receive a first address and a second address, and output one of the first address and the second address to the single-port memory; a timing control circuit, configured to generate a multiplexer control signal to control the multiplexer to sequentially output the first address and the second address to the single-port memory; and an output circuit, configured to receive output data from the single-port memory to generate a first reading result corresponding to the first address and a second reading result corresponding to the second address; and the output circuit comprises: a first sense amplifier, configured to receive the output data from the single-port memory to generate first data to a first latch according to a first control signal, wherein the first data stored in the first latch serves as the first reading result; and a second sense amplifier, configured to receive the output data from the single-port memory to generate second data to a second latch according to a second control signal, wherein the second data stored in the second latch serves as the second reading result.
2. The pseudo dual-port memory of claim 1, wherein the timing control circuit generates the multiplexer control signal to control the multiplexer to sequentially output the first address and the second address to the single-port memory within a clock cycle, and the timing control circuit further generates the first control signal and the second control signal to sequentially enable the first sense amplifier and the second sense amplifier.
3. The pseudo dual-port memory of claim 2, wherein the first sense amplifier generates the first data to the first latch when the first control signal has an enable state, the second sense amplifier generates the second data to the second latch when the second control signal has the enable state, and the enable state of the first control signal and the enable state of the second control signal is within the a single clock cycle.
4. The pseudo dual-port memory of claim 3, wherein when the first control signal has the enable state to make the first sense amplifier generate the first data to the first latch, the second control signal does not have the enable state, and the second sense amplifier does not output any valid data.
5. The pseudo dual-port memory of claim 4, wherein when the second control signal has the enable state to make the second sense amplifier generate the second data to the second latch, the first control signal does not have the enable state, and the first sense amplifier does not output any valid data.
6. The pseudo dual-port memory of claim 1, wherein a timing of a generation of the second data and a timing of a generation of the first data are partially overlapped.
7. A control method of a pseudo dual-port memory, wherein the pseudo dual-port memory comprises: a single-port memory; a multiplexer, configured to receive a first address and a second address, and output one of the first address and the second address to the single-port memory; and an output circuit comprising a first sense amplifier and a second amplifier; wherein the control method comprises the steps of: in a first half of a clock cycle of the pseudo dual-port memory: controlling the multiplexer to input the first address to the single-port memory; enabling the first sense amplifier to receive output data of the single-port memory to generate first data serving as a first reading result corresponding to the first address; and in a second half of the clock cycle of the pseudo dual-port memory: controlling the multiplexer to input the second address to the single-port memory; enabling the second sense amplifier to receive the output data of the single-port memory to generate second data serving as a second reading result corresponding to the first address.
8. The control method of claim 7, further comprising: in the first half of the clock cycle of the pseudo dual-port memory: not enabling the second sense amplifier so that the second sense amplifier does not output any valid data.
9. The control method of claim 8, further comprising: in the second half of the clock cycle of the pseudo dual-port memory: not enabling the first second sense amplifier so that the first sense amplifier does not output any valid data.
10. The control method of claim 7, wherein a timing of a generation of the second data and a timing of a generation of the first data are partially overlapped.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0009]
[0010]
[0011]
[0012]
[0013]
[0014]
DETAILED DESCRIPTION
[0015] Certain terms are used throughout the following description and claims to refer to particular system components. As one skilled in the art will appreciate, manufacturers may refer to a component by different names. This document does not intend to distinguish between components that differ in name but not function. In the following discussion and in the claims, the terms “including” and “comprising” are used in an open-ended fashion, and thus should be interpreted to mean “including, but not limited to . . . ”. The terms “couple” and “couples” are intended to mean either an indirect or a direct electrical connection. Thus, if a first device couples to a second device, that connection may be through a direct electrical connection, or through an indirect electrical connection via other devices and connections.
[0016]
[0017] In the operation of the pseudo dual-port memory 100, the multiplexer 120 may receive two addresses A_adr and B_adr, and in a first half of a clock cycle, the timing control circuit 130 generates a multiplexer control signal to control the multiplexer 120 to output the address A_adr to the single-port memory 110, for the single-port memory 110 to select one memory cell corresponding to the address A_adr to generate an output data to the output circuit 140, then the output circuit 140 outputs a reading result ADO according to the output data. Then, in a second half of the clock cycle, the timing control circuit 130 generates the multiplexer control signal to control the multiplexer 120 to output the address B_adr to the single-port memory 110, for the single-port memory 110 to select one memory cell corresponding to the address B_adr to generate an output data to the output circuit 140, then the output circuit 140 outputs a reading result BDO according to the output data. By using this time-interleaving mechanism, the pseudo dual-port memory 100 can perform two read operations within the single clock cycle to output two reading results ADO and BDO sequentially.
[0018]
[0019] Specifically, the circuit 220 comprises a sense amplifier (SA) 222, a demultiplexer 226, an OR gate and two latches 228 and 229.
[0020] In light of above, because only the first control signal A_SAE and the second control signal B_SAE are used to control the sense amplifier 222 and the demultiplexer 226, this new design of the circuit 220 does not have racing issue occurred in the previous design.
[0021] In the embodiment shown in
[0022] Specifically, the circuit 520 comprises two sense amplifiers 522 and 524, and two latches 526 and 528, wherein the each of the sense amplifiers 522 and 524 may have the structure shown in
[0023] In the embodiment shown in
[0024] Briefly summarized, in the pseudo dual-port memory of the present invention, the output circuit is only controlled by two control signals A_SAE and B_SAE to receive the output data from the single-port memory and output two reading results within a single clock cycle. Therefore, the present invention does not suffer the racing issue between many control signals. In one embodiment, two sense amplifiers are designed to output two reading results separately in one clock cycle, to improve the efficiency of the pseudo dual-port memory.
[0025] Those skilled in the art will readily observe that numerous modifications and alterations of the device and method may be made while retaining the teachings of the invention. Accordingly, the above disclosure should be construed as limited only by the metes and bounds of the appended claims.