Static random access memory SRAM unit and related apparatus
AssigneesHuawei Technologies Co., Ltd., Tsinghua University
InventorsHan Xu, Fei Qiao, Miao Zheng
Life of this patent
Estimating the term…
Abstract
A static random access memory SRAM unit and a related apparatus are provided, to reduce power consumption of an SRAM when the SRAM memory is accessed. The SRAM unit is located in an SRAM memory, and the SRAM memory includes an SRAM storage array including a plurality of SRAM units. The SRAM unit includes: a storage circuit, connected to each of a write circuit and a read circuit, and configured to store data; the write circuit, configured to write data into the storage circuit; and the read circuit, configured to: after a read enabling signal is valid, enable data on a read bit line connected to the SRAM unit to be the data stored in the storage circuit.
Claims13
A static random access memory (SRAM) unit, located in an SRAM, wherein:
- the SRAM comprises an SRAM storage array comprising a plurality of SRAM units, and the SRAM unit comprises a storage circuit, a write circuit, and a read circuit;
- the storage circuit is connected to each of the write circuit and the read circuit, and is configured to store data, wherein the data is first data or second data, the first data is represented by a high level, and the second data is represented by a low level;
- the write circuit is further connected to a write word line and a write bit line, and is configured to write data into the storage circuit;
- the read circuit is further connected to a read enabling signal end and a read bit line, wherein when a first quantity of SRAM units that store the first data and that are in a column of the SRAM unit in the SRAM storage array is greater than a second quantity of SRAM units that store the second data and that are in the column, the read bit line is charged to the high level after the SRAM receives a read command and before a read enabling signal at the read enabling signal end is valid, and when the first quantity is less than the second quantity, the read bit line is discharged to the low level after the SRAM receives the read command and before the read enabling signal is valid;
- the read circuit is configured to enable data on the read bit line to be the data stored in the storage circuit after the read enabling signal is valid
- the read circuit comprises a first pull-up transistor, a first pull-down transistor, a first read transmission transistor, and a second read transmission transistor;
- a gate of the first pull-up transistor is connected to each of a gate of the first pull-down transistor and the storage circuit, a source of the first pull-up transistor is connected to a drain of a second pull-up transistor, and a drain of the first pull-up transistor is connected to each of a drain of the first pull-down transistor, a source of the first read transmission transistor, and a drain of the second read transmission transistor;
- a source of the first pull-down transistor is connected to a drain of a second pull-down transistor, a source of the second pull-down transistor is grounded, and a source of the second pull-up transistor is connected to a power supply;
- a gate of the second pull-up transistor and a gate of the second pull-down transistor are used to receive a first read control signal or a second read control signal;
- when the gate of the second pull-up transistor and the gate of the second pull-down transistor receive the first read control signal, the second pull-up transistor is in an off state, and the second pull-down transistor is in an on state;
- and when the gate of the second pull-up transistor and the gate of the second pull-down transistor receive the second read control signal, the second pull-up transistor is in the on state, and the second pull-down transistor is in the off state;
- a drain of the first read transmission transistor is connected to each of a source of the second read transmission transistor and the read bit line, a gate of the first read transmission transistor is connected to a first read enabling signal end, and a gate of the second read transmission transistor is connected to a second read enabling signal end;
- when a first read enabling signal at the first read enabling signal end is valid, and a second read enabling signal at the second read enabling signal end is valid, both the first read transmission transistor and the second read transmission transistor are in the on state;
- and
- the read enabling signal end comprises the first read enabling signal end and the second read enabling signal end, the read enable signal comprises the first read enable signal and the second read enable signal, and the second read enabling signal is a phase-inverted signal of the first read enabling signal.
A static random access memory (SRAM), comprising an SRAM storage array comprising a plurality of SRAM units, and the SRAM unit comprises a storage circuit, a write circuit, and a read circuit;
- wherein the storage circuit is connected to each of the write circuit and the read circuit, and is configured to store data;
- wherein the write circuit is connected to a write word line and a write bit line, and is configured to write data into the storage circuit;
- wherein the read circuit is connected to a read enabling signal end and a read bit line and is configured to enable data on the read bit line to be the data stored in the storage circuit after the read enabling signal is valid;
- wherein the SRAM further comprises N data statistics collection circuits, N multiplexers, and M×N read control signal storage circuits, wherein N is equal to a data bit width, each bit of data corresponding to the data bit width corresponds to M columns in an SRAM storage array, the N data statistics collection circuits are in a one-to-one correspondence with the N multiplexers, and the SRAM storage array comprises M×N columns of SRAM units;
- wherein each of the N data statistics collection circuits is connected to M of the read control signal storage circuits through a corresponding multiplexer, and each of the M×N read control signal storage circuits is connected to one column of SRAM units in the SRAM storage array;
- wherein the data statistics collection circuit is configured to:
- collect statistics on a quantity of pieces of first data and a quantity of pieces of second data in data that needs to be written into a target SRAM unit, wherein the target SRAM unit is a column of SRAM units that are connected to the data statistics collection circuit and that are in the SRAM storage array;
- when the quantity of pieces of first data is greater than the quantity of pieces of second data, generate a first read control signal used to control a read bit line to be charged to a high level;
- and when the quantity of pieces of first data is less than the quantity of pieces of second data, generate a second read control signal used to control the read bit line to be discharged to a low level;
- and
- wherein a read control signal storage circuit connected to the target SRAM unit is configured to store the first read control signal or the second read control signal, wherein the first read control signal is at a high level and the second read control signal is at a low level.
A processing circuit chip, comprising a static random access memory (SRAM) and one or more processing circuits, wherein the SRAM is configured to store data when the one or more processing circuits run;
- wherein the SRAM unit comprises a storage circuit, a write circuit, and a read circuit;
- wherein the storage circuit is connected to each of the write circuit and the read circuit, and is configured to store data;
- wherein the write circuit is connected to a write word line and a write bit line, and is configured to write data into the storage circuit;
- wherein the read circuit is connected to a read enabling signal end and a read bit line and is configured to enable data on the read bit line to be the data stored in the storage circuit after the read enabling signal is valid;
- wherein the SRAM further comprises N data statistics collection circuits, N multiplexers, and M×N read control signal storage circuits, wherein N is equal to a data bit width, each bit of data corresponding to the data bit width corresponds to M columns in an SRAM storage array, the N data statistics collection circuits are in a one-to-one correspondence with the N multiplexers, and the SRAM storage array comprises M×N columns of SRAM units;
- wherein each of the N data statistics collection circuits is connected to M of the read control signal storage circuits through a corresponding multiplexer, and each of the M×N read control signal storage circuits is connected to one column of SRAM units in the SRAM storage array;
- wherein the data statistics collection circuit is configured to:
- collect statistics on a quantity of pieces of first data and a quantity of pieces of second data in data that needs to be written into a target SRAM unit, wherein the target SRAM unit is a column of SRAM units that are connected to the data statistics collection circuit and that are in the SRAM storage array;
- when the quantity of pieces of first data is greater than the quantity of pieces of second data, generate a first read control signal used to control a read bit line to be charged to a high level;
- and when the quantity of pieces of first data is less than the quantity of pieces of second data, generate a second read control signal used to control the read bit line to be discharged to a low level;
- and
- wherein a read control signal storage circuit connected to the target SRAM unit is configured to store the first read control signal or the second read control signal, wherein the first read control signal is at a high level and the second read control signal is at a low level.
Dependencies are inferred from the claim text.