SRAM with Scan Mode
A memory is provided with a clock circuit configured to simultaneously assert a write multiplexer clock signal and a read multiplexer clock signal during a scan mode of operation. In the scan mode of operation, a scan in signal routes through a write multiplexer to a first bit line while the write multiplexer clock signal is asserted. Similarly, the scan in signal routes from the first bit line through a read multiplexer while the read multiplexer clock signal is asserted.
This application relates to memories, and more particularly to a static random-access memory (SRAM) with a scan mode of operation.
BACKGROUNDIn a conventional static random-access memory (SRAM), a bitcell connects to a pair of bit lines through a corresponding pair of access transistors during a read operation. To switch on the access transistors during a read operation, a self-timed clock circuit controls the assertion of the voltage of a word line that connects to a gate of each of the access transistors. The pair of access transistors and corresponding bit lines may thus be treated as a single read port and a single write port to the bitcell. The pair of bit lines are shared by other bitcells and their corresponding access transistors. The resulting group of bitcells linked by their common bit line pair is typically denoted as a column of bitcells. Since there is just one bit line pair for the column, only a single read operation or a single write operation can occur each time the word line is asserted.
To accommodate applications such as video processing that require at least two access ports, triple-port SRAMS have been developed. One processor may then access the triple-port SRAM through a first read access port while another processor accesses the triple-port SRAM through a second read access port. In a triple-port SRAM, each column has a pair of write bit lines for a write operation and two separate read bit lines, one for each read port. Each bitcell may thus have one pair of access transistors for coupling to the write bit lines and have another two additional access transistors, one for each read port. Although such triple-port SRAMs enable simultaneous read/write operations, the extra access transistors for each bitcell produce a lower density (the number of bitcells that can be implemented in a given area of die space).
SUMMARYIn accordance with a first aspect of the disclosure, a memory is provided that includes: a write driver configured to control a binary state of a write driver bit line during a scan mode of operation responsive to a binary state of a scan in signal during a scan mode of operation; a write multiplexer configured to couple the write driver bit line to a first bit line in response to an assertion of a write multiplexer clock signal; a read multiplexer configured to couple the first bit line to a global read bit line in response to an assertion of a read multiplexer clock signal; and a clock circuit configured to assert the write multiplexer clock signal substantially simultaneously with the read multiplexer clock signal during the scan mode of operation.
In accordance with a second aspect of the disclosure, a scan method for a memory is provided that includes: asserting a write multiplexer clock signal while a read multiplexer clock signal is asserted during a scan mode of operation; coupling a scan in signal through a write multiplexer to a first bit line in response to the assertion of the write multiplexer clock signal; and coupling the scan in signal from the first bit line through a read multiplexer to a global read bit line in response to the assertion of the read multiplexer signal.
In accordance with a third aspect of the disclosure, a memory is provided that includes: a first switch configured to couple a write driver bit line to a first bit line in response to an assertion of a write multiplexer clock signal; a global read bit line; a sense amplifier configured to sense a binary state of the first bit line to control a binary state of the global read bit line in response to an assertion of a read multiplexer clock signal; and a clock circuit configured to assert the write multiplexer clock signal substantially simultaneously with the read multiplexer clock signal during a scan mode of operation.
These and additional advantages may be better appreciated through the following detailed description.
Implementations of the present disclosure and their advantages are best understood by referring to the detailed description that follows. It should be appreciated that like reference numerals are used to identify like elements illustrated in one or more of the figures.
DETAILED DESCRIPTIONTo provide the flexibility of access of a triple-port memory without incurring the density penalty of more than two access transistors per bitcell, a pseudo-triple-port SRAM is disclosed. In a pseudo-triple-port (PTP) bitcell, a first word line controls a first access transistor coupled to a bit line whereas a second word line controls a second access transistor coupled to a complement bit line. A first read port is thus formed by the bit line and the first access transistor. Similarly, a second read port is formed by the complement bit line and the second access transistor. Both bit lines and both access transistor form a write port. Read and write accesses are synchronized by a memory clock signal in a “double pumped” fashion such that a read operation occurs to a bitcell during a first portion of a cycle of the memory clock signal whereas a write operation occurs during a second portion of the cycle of the memory clock signal.
During a read operation, a read multiplexer selects for the bit line being accessed. Similarly, a write multiplexer selects for the bit line pair being accessed during a write operation. During the read operation, the write multiplexer is inactive so that it does not interfere with the write operation. Similarly, the read multiplexer is inactive during the write operation. The read and write multiplexers along with associated components such as a write driver and a sense amplifier form what may be denoted as peripheral logic for the memory. But the mutually exclusive operation of the read and write multiplexers complicates the implementation of a scan mode of operation to test the peripheral logic. If the scan mode takes place during the first portion of a memory clock cycle, the write multiplexer is inactive whereas the read multiplexer is inactive during the second portion of the memory clock cycle. It is thus conventional that the scan mode of operation bypasses both the write multiplexer and the read multiplexer in a pseudo-triple-port SRAM.
A pseudo-triple-port (PTP) SRAM is thus disclosed with a scan mode of operation that scans the peripheral logic including the read and write multiplexers. To provide a better appreciation of this innovative scan mode of operation, another scan mode of operation for a PTP SRAM 100 as shown in
During a write operation, a write driver 120 drives a write driver bit line wd responsive to the data input signal din assuming that a bit mask signal ibyte_n is not asserted. Should the bit mask signal ibyte_n signal be asserted, write driver 120 does not respond to the data input signal din. Write driver 120 also drives a complement write driver bit line wdb responsive to the complement data input signal dinb (again assuming that the bit mask signal ibyte_n is not asserted). A write multiplexer (mux) 125 couples the write driver bit line wd to a memory bank bit line ubl0 in response to an assertion of a write multiplexer clock signal uwm. Similarly, write multiplexer 125 couples the complement write driver bit line wdb to a memory bank complement bit line ublb0 in response to the assertion of the write multiplexer clock signal uwm. Bit lines ubl0 and ublb0 form a bit line pair.
Prior to the write operation, the bit line pair ubl0 and ublb0 were pre-charged to the memory power supply voltage. Should the data input signal dinb be a binary one value (assuming an active high implementation), the bit line ubl0 remains charged whereas the complement bit line ublb0 is discharged. Conversely, the bit line ubl0 is discharged whereas the complement bit line ublb0 remains charged if the data input signal dinb is a binary zero value. Based upon the complementary charged state of the bit line pair ubl0 and ublb0, an accessed PTP bitcell (not illustrated) is written to accordingly. Bit lines ubl0 and ublb0 and the corresponding PTP bitcells form a column in an upper bank (not illustrated) in PTP SRAM 100. A bank is an array of columns and corresponding bitcells.
The pair of bit lines ubl0 and ublb0 are both driven by write driver 120 through write multiplexer 125 during a write operation. But each bit line forms its own read port during a read operation. In PTP SRAM 100, a read multiplexer (mux) and a sense amplifier 130 are combined. Depending upon an active-low assertion of a read multiplexer clock signal rmp, read multiplexer and sense amplifier 130 is either powered or not. If powered as controlled by the read multiplexer clock signal rmp, read column multiplexer and sense amplifier 130 senses both the bit line ubl0 and a corresponding bit line lbl0 from a lower bank (not illustrated).
As defined herein, a binary signal is deemed to be “asserted” when that signal is logically true, regardless of whether the logical true state is represented using an active-high or an active-low convention. Since the read multiplexer clock signal rmp is an active-low signal, it is thus asserted by being discharged to ground. In contrast, should the read multiplexer clock signal rmp be an active-high signal, it would be asserted by being charged to the memory power supply voltage.
Should the read multiplexer address signal rmp be asserted and the bit line ubl0 remains charged during a read operation due to the accessed PTP bitcell storing a binary one bit, read column multiplexer and sense amplifier 130 functions to discharge its output signal 131 to ground. Output signal 131 drives a gate of an n-type metal-oxide-semiconductor (NMOS) transistor M1 having a source coupled to ground and a drain coupled to a global read bit line grbl.
The global read bit line grbl is part of the system power domain Prior to the read operation, a pre-charge of the global read bit line grbl thus pre-charges it to the system power supply voltage. The discharged state of output signal 131 keeps transistor M1 from switching on so that the global read bit line grbl remains charged. But if the accessed PTP bitcell were storing a binary zero, bit line ubl0 would discharge during the read operation such that output signal 131 would be asserted to the memory power supply voltage when the read multiplexer clock signal rmp is asserted. The global read bit line grbl would then discharge towards ground due to the high state of output signal 131. A global data output latch (not illustrated) latches the state of the global read bit line grbl as a data out (dout) signal during the read operation.
An example column 200 for a PTP SRAM as disclosed herein is shown in
A bit line pair formed by a bit line ubl0 and complement bit line ublb0 extends across column 200. A read port A word line WLA0 extends across the zeroth row and drives a first n-type metal-oxide semiconductor (NMOS) access transistor M3 in PTP bitcell 205 that couples between the true bit node Q of PTP bitcell 205 and the bit line ubl0. The read port A word line WLA0 similarly drives other first access transistors in the remaining PTP bitcells (not illustrated) in the zeroth row. A read port B word line WLB0 also extends across the zeroth row and drives a second NMOS access transistor M4 that couples between the complement bit node QB of PTP bitcell 205 and complement bit line ublb0. The read port B word line WLB0 similarly drives other second access transistors (not illustrated) in the zeroth row. Since the word lines are controlled independently during a read operation, the combination of the bit line ubl0, the read port A word line WLA0, and the access transistor M3 form a read port A for PTP bitcell 205. The bit line ubl0 may thus also be denoted as the read port A bit line. Similarly, the combination of the complement bit line ublb0, the read port B word line WLB0, and the access transistor M4 form a read port B for bitcell 205. The complement bit line ublb0 may thus also be denoted as a read port B bit line.
The word line pair for the first row of bitcells is analogous. For example. a read port A word line WLA1 in the word line pair extends across the first row to drive an access transistor M5 in PTP bitcell 210. The read port A word line WLA1 similarly drives other first access transistors in the remaining bitcells (not illustrated) in the first row. A read port B word line WLB1 extends across the first row to drive an access transistor M6 in PTP bitcell 210. The read port B word line WLB1 similarly drives other second access transistors (not illustrated) in the first row. PTP bitcell 210 thus has a read port A from a combination of its access transistor M5, the bit line ubl0, and the read port A word line WLA1. Similarly, PTP bitcell 210 has a read port B from a combination of its access transistor M6, the complement bit line ublb0 and the read port B word line WLB1.
Suppose that read port A is accessed in PTP bitcell 205 through an assertion of a voltage for the word line WLA0. Since access transistor M3 couples between the bit node Q of PTP bitcell 205, the voltage of bit line ublb0 will be charged accordingly to the binary contents of PTP bitcell 205 when the voltage of the read port A word line WLA0 is asserted. If PTP bitcell 205 is storing a binary one in a binary-high convention, the bit node Q of PTP bitcell 205 will thus be charged to the memory power supply voltage. Prior to the read operation, the bit line ubl0 is precharged to the memory power supply voltage. During the read operation to read port A, the bit line ubl0 will thus remain charged to the memory power supply voltage when PTP bitcell 205 is storing a binary one. But if PTP bitcell 205 had been storing a binary zero, the read operation to read port A would cause the bit line ubl0 to be discharged towards ground while the access transistor M3 is switched on.
Some example waveforms for such a read operation to PTP bitcell 205 are shown in
Since a read access through one of the bit lines in the bit line pair does not use the voltage of the remaining bit line, the resulting read operation is single-ended. Referring again to PTP SRAM, an access to such a read port A then causes the global read bit line grbl of SRAM 100 (
With the read operation completed, the read multiplexer clock signal rmp is de-asserted following after time t2. A write pre-charge period extends from time t2 to a time t4. In some implementations, a pre-charge circuit charges the bit line ubl0 and the complement bit line ublb0 to the memory power supply voltage during the write pre-charge period. Thus, the bit line ubl0 is shown in
A write port access then occurs from time t4 to a time t5 to PTP bitcell 205. At or before time t4, write driver 120 (
Since the write driver bit line wd is discharged in this example, the bit line ubl0 is thus discharged during the write port access from time t4 to time t5. The word line assertion period from time t4 to time t5 has a sufficient length so that the data input signal din (in this example, a binary zero) is written into the accessed bitcell. As shown in
During the read operation, the write multiplexer clock signal uwm is de-asserted so that the write column multiplexer 125 is inactive. In this fashion, the write driver 120 is prevented from undesirably affecting the read operation. Similarly, the read multiplexer address signal rmp is de-asserted by being charged to the memory power supply voltage during the write operation to keep read column multiplexer and sense amplifier 130 powered down so that the global read bit line grbl is undisturbed during the write operation.
Self-timed clock circuit 140 controls the complementary assertions of the write multiplexer address signal uwm and the read multiplexer address signal responsive to cycles of the memory clock (clk) signal. In addition, self-timed clock circuit 140 controls the discharge of the write clock signal wrclk_n to open write driver 120. Self-timed clock circuit 140 includes various elements such as a dummy word line and a dummy bit line so that the electrical behavior of the actual word lines and bit lines may be mimicked. The complementary assertion of the read multiplexer clock signal rmp and the write multiplexer clock signal uwm by self-timed clock circuit 140 prevents a scan mode of operation from scanning through the peripheral logic including write driver 120, write column multiplexer 125 and read column multiplexer and sense amplifier 130. For example, the read column multiplexer and sense amplifier 130 is active and can be scanned while the read multiplexer clock signal rmp is asserted. But then the write column multiplexer 125 is closed due to the complementary de-assertion of the write multiplexer clock signal uwm. Similarly, the write column multiplexer 125 is open and can be scanned while the write multiplexer clock signal uwm is asserted but then read column multiplexer and sense amplifier 130 is powered down due to the complementary de-assertion of the read multiplexer clock signal rmp.
PTP SRAM 100 includes a bypass scan logic circuit such as a NOR gate 135 that responds to an assertion of a scan mode control signal (scan_n) so as to bypass the write driver 120, write column multiplexer 125, and read column multiplexer and sense amplifier 130 during a scan mode of operation. In the scan mode of operation, level-shifter 105 level shifts a scan in signal instead of the data in signal to form a level-shifted scan in signal (sin). NOR gate 135 NORs the level-shifted scan in signal sin with the scan mode control signal scan_n to control whether an NMOS transistor M2 conducts to discharge the global read bit line grbl. In this implementation, the scan mode control signal scan_n is an active-low signal. Transistor M2 has a source coupled to ground and a drain coupled to the global read bit line grbl. During a functional mode (non-scan) mode of operation, the scan mode control signal scan_n is charged to the memory power supply voltage so that NOR gate 135 discharges the gate of transistor M2. Transistor M2 thus is off during the functional mode of operation so as to not disturb any read operation. During the scan mode of operation, the scan mode control signal scan_n is asserted by being discharged (scan_n being an active-low signal). NOR gate 135 can then respond to the level-shifted scan in signal sin. Should the level-shifted scan in signal sin be binary high, NOR gate 135 continues to discharge the gate of transistor M2. Since the global read bit line grbl is pre-charged prior to receipt of the level-shifted scan in signal sin, the global read bit line grbl remains charged to the system power supply voltage should the level-shifted scan in signal sin be binary high. During the scan mode of operation, the global read bit line grbl voltage determines the binary state of a scan out (sout) signal. The sout signal will thus be a binary high signal in response to the binary high state of the level-shifted scan in signal sin. But if the level-shifted scan in signal sin is a binary low signal (discharged to ground), NOR gate 135 switches on transistor M2 to discharge the sout signal. Although the level-shifted scan in signal sin may then be passed as the sout signal, the resulting scan completely bypasses the write driver 120, write column multiplexer 125, and read column multiplexer and sense amplifier 130 during the scan mode of operation. Such a PTP scan thus cannot detect errors in the operation of these peripheral logic components. A PTP SRAM with an improved scan mode that scans the peripheral logic components will now be discussed in more detail.
To provide an in-depth scan of the peripheral logic components, an SRAM is disclosed with a scan mode of operation that scans the peripheral logic including the write driver, the write column multiplexer, and the read column multiplexer. The following discussion will be directed to a PTP SRAM having this improved scan mode of operation but it will be appreciated that other types of six-transistor-bitcell SRAMs such as a single-port SRAM that incorporates both a read multiplexer and a write multiplexer may also implement the disclosed scan mode of operation. In a PTP SRAM, the PTP bitcells may be implemented as discussed for PTP bitcells 205 and 210. Similarly, the timing of the read multiplexer clock signal rmp assertion and the timing of the write multiplexer clock uwm assertion during the functional mode may be performed as discussed for
A scan mode controller (not illustrated) controls whether the scan mode of operation is active by discharging an active-low scan mode control signal scan_n. The following description will focus on the scan mode of operation. To force a write driver 460 to be transparent (active or open) during the scan mode of operation, a logic gate such as a NAND gate 405 processes the scan mode control signal scan_n with the write clock signal wrclk_n. With the scan_n signal being a logical zero in the scan mode of operation, an output signal of NAND gate 405 is forced to a logical one. An inverter 415 then inverts the output signal of NAND gate 405 to output a logical zero signal. A NOR gate 420 NORs the output signal of inverter 415 with the byte mask signal ibyte_n to form the bmsk_n signal. During the scan mode of operation, the byte mask signal ibyte_n is a logical zero. Thus, the bmsk_n signal is asserted to a logic one when the scan_n signal is a logic zero to force write driver 460 to be operative.
In one implementation, write driver 460 includes a NAND gate 430 that NANDS the level-shifted scan in signal sin with the bmsk_n signal. With the bmsk_n signal asserted to a logic one value during the scan mode of operation because of the discharge of the scan mode control signal scan_n, NAND gate 430 functions as an inverter to drive a gate of a p-type metal-oxide-semiconductor (PMOS) transistor P2 having a source coupled to a power supply node for the memory power supply voltage and having a drain coupled to the write driver bit line wd. If the level-shifted scan in signal sin is a binary one, transistor P2 switches on in response to the binary low output signal of NAND gate 430 to charge the write driver bit line wd to the power supply voltage.
An inverter 440 inverts the output signal of NAND gate 430 to drive a gate of an NMOS transistor M7 having a source coupled to ground and a drain coupled to the complement write driver bit line wdb. If the level-shifted scan in signal sin is a binary one, the output signal of inverter 440 will be asserted to a binary one also. Transistor M7 is then switched on to discharge the complement write driver bit line wdb accordingly. Conversely, if the level-shifted scan in signal sin is a binary zero, the output signal from NAND gate 430 is a binary one, which forces transistor P2 off so that it cannot affect the charge of the write driver bit line wd. Similarly, the binary high state of the output signal from NAND gate 430 is inverted by inverter 440, which also forces transistor M7 to be off so that it cannot affect the charge of the complement write driver bit line wd.
Write driver 460 may also include a NAND gate 425 that NANDS the level-shifted complement scan in signal sinb with the bmsk_n signal. With the bmsk_n signal asserted to a logic one value during the scan mode of operation because of the discharge of the scan_n signal, NAND gate 425 functions as an inverter to drive a gate of a PMOS transistor P1 having a source coupled to the power supply node for the memory power supply voltage and having a drain coupled to the complement write driver bit line wdb. If the level-shifted complement scan in signal sinb is a binary one, transistor P1 switches on in response to the binary low output signal of NAND gate 425 to charge the complement write driver bit line wdb to the memory power supply voltage.
An inverter 435 inverts the output signal of NAND gate 425 to drive a gate of an NMOS transistor M8 having a source coupled to ground and a drain coupled to the write driver bit line wd. If the level-shifted complement scan in signal sinb is a binary one, the output signal of inverter 435 will be asserted to a binary one also. Transistor M8 is then switched on to discharge the write driver bit line wd accordingly. Conversely, if the level-shifted complement scan in signal sinb is a binary zero, the output signal from NAND gate 425 is a binary one, which forces transistor P1 off so that it cannot affect the charge of the write driver bit line wd. Similarly, the binary high state of the output signal from NAND gate 425 is inverted by inverter 435, which also forces transistor M8 to be off so that it cannot affect the charge of the complement write driver bit line wd.
Write driver 460 thus responds to the level-shifted scan in signal sin so that write driver bit lines wd and wdb are charged accordingly. If the level-shifted scan in signal sin is a binary one signal, write driver 460 discharges the complement write driver bit line wdb and charges the write driver bit line wd to the memory power supply voltage. Conversely, if the level-shifted scan in signal sin is a binary zero signal, write driver 460 discharges the write driver bit line wd and charges the complement write driver bit line wdb to the memory power supply voltage.
For the timing of the read multiplexer clock signal rmp, it has already been described how self-timed clock circuit 140 of PTP SRAM 100 asserts the read multiplexer clock signal rmp from approximately time t1 to approximately time t2 of
Write multiplexer 465 includes a first switch such as a first transmission gate T1 that conducts in response to the assertion of the write multiplexer clock signal uwm (and the active-low assertion of a complement write multiplexer clock signal uwmn that is formed by an inversion of the write multiplexer clock signal uwm). With transmission gate T1 being open (conductive), the write driver bit line wd is coupled to a zeroth upper bank bit line ubl0. In this fashion, the zeroth upper bank bit line ubl0 will be driven to the same binary stage of the level-shifted scan in signal sin. Similarly, write multiplexer 465 includes a second transmission gate T2 that when open couples the complement write driver bit line wdb to a zeroth upper bank complement bit line ublb0. Transmission gate T2 opens in response to the assertion of the write multiplexer clock signal uwm and the active-low assertion of the complement write multiplexer clock signal uwmn.
A combined read multiplexer and sense amplifier 470 includes a NAND gate 445 that NANDs the zeroth upper bank bit line ubl0 and a corresponding zeroth lower bank bit line 1b10. NAND gate 445 is powered through a PMOS transistor P3 that is switched on in response to the active-low assertion of the read multiplexer clock signal rmp. A drain of transistor P3 couples to a power supply node of NAND gate 445 whereas a source of transistor P3 couples to a power supply node for the memory power supply voltage. The read multiplexer clock signal rmp drives a gate of transistor P3 to control whether transistor P3 powers NAND gate 445. As discussed earlier, a bank is a contiguous array of bit cells. The lower bank is not illustrated for illustration clarity. Prior to the receipt of the level-shifted scan in signal sin, the bit lines in the upper and lower banks are pre-charged to the memory power supply voltage. Similarly, the global read bit line grbl is also pre-charged to the system power supply voltage. Should the level-shifted scan in signal sin be charged to the memory power supply voltage during the scan mode of operation, the zeroth upper bank bit line ubl0 will remain charged to the memory power supply voltage so that the output signal of NAND gate 445 will be discharged to ground. The output signal of NAND gate 445 controls a gate of NMOS transistor M1 discussed for PTP SRAM 100. The global read bit line grbl will thus remain charged to the system power supply voltage in response to the high state of the level-shifted scan in signal sin. But if the level-shifted scan in signal sin is a binary zero, the output signal of NAND gate 445 will charged to the memory power supply voltage in response to the active-low assertion of the read multiplexer clock signal rmp. Transistor M1 is then switched on so that the global read bit line grbl is discharged to ground accordingly. To keep transistor M1 off while the active-low read multiplexer clock signal rmp is de-asserted by being charged to the power supply voltage, the read multiplexer clock signal rmp also drives a gate of an NMOS transistor M9 having a drain coupled to the gate of transistor M1 and a source coupled to ground. Transistor M9 is thus switched on while the read multiplexer clock signal rmp is charged to the power supply voltage to keep transistor M1 off. An analogous read multiplexer and sense amplifier (not illustrated) to read multiplexer and sense amplifier 470 couples to zeroth upper bank complement bit line ublb0 to control a binary state of a complement global read bit line (not illustrated).
Consider the advantages of the peripheral logic scan of PTP SRAM 400. Not only are the peripheral logic components such as write driver 460, write multiplexer 465, and read multiplexer and sense amplifier 470 able to be fully scanned but the clock margin is essentially the same as during the functional mode. In contrast, the bypass scan through NOR gate 135 and transistor M2 has a very different clock margin as compared to that achieved by PTP SRAM 100 during the functional mode. In addition, the peripheral logic scan of PTP SRAM 400 does not add any significant loading to the global read bit line grbl. In contrast, transistor M2 adds to the loading of the global read bit line grbl in PTP SRAM 100.
Some example waveforms for the peripheral logic scan in PTP SRAM 400 are shown in
Referring again to PTP SRAM 400, self-timed clock circuit 450 is configured to control the word lines WLA0 and WLB0 for the zeroth row bitcell 205 as discussed for the timing waveforms of
A method of operation for a peripheral logic scan in a PTP memory will now be discussed for the flowchart of
A memory as disclosed herein may be incorporated into a wide variety of electronic systems. For example, as shown in
The disclosure will now be summarized by the following example clauses:
Clause 1. A memory, comprising:
-
- a write driver configured to control a binary state of a write driver bit line during a scan mode of operation responsive to a binary state of a scan in signal during a scan mode of operation;
- a write multiplexer configured to couple the write driver bit line to a first bit line in response to an assertion of a write multiplexer clock signal;
- a read multiplexer configured to couple the first bit line to a global read bit line in response to an assertion of a read multiplexer clock signal; and
- a clock circuit configured to assert the write multiplexer clock signal substantially simultaneously with the read multiplexer clock signal during the scan mode of operation.
Clause 2. The memory of clause 1, wherein the clock circuit includes a logic gate configured to assert the write multiplexer clock signal during the scan mode of operation in response to an assertion of the read multiplexer clock signal and a scan mode control signal.
Clause 3. The memory of clause 2, wherein the logic gate comprises a NOR gate.
Clause 4. The memory of any of clauses 1-3, wherein the write driver is further configured to receive a complement scan in signal during the scan mode of operation to control a binary state of a complement write driver bit line.
Clause 5. The memory of clause 4, wherein the write multiplexer is further configured to couple the complement write driver bit line to a first complement bit line in response to the assertion of the write multiplexer clock signal.
Clause 6. The memory of clause 5, wherein the write multiplexer comprises a first transmission gate coupled between the write driver bit line and the first bit line and comprises a second transmission gate coupled between the complement write driver bit line and the first complement bit line.
Clause 7. The memory of any of clauses 5-6, further comprising: - a first bitcell including: a first pair of cross-coupled inverters having an output node for a first bit and a complement output node for a complement of the first bit, a first access transistor coupled between the output node and the first bit line, and a second access transistor coupled between the complement output node and the first complement bit line;
- a first word line coupled to a gate of the first access transistor; and
- a second word line coupled to a gate of the second access transistor, wherein the clock circuit is further configured to control an assertion of the first word line to perform a single-ended read of the first bit through the first bit line during a first portion of a first cycle of a memory clock signal and to assert both the first word line and the second word line during a second portion of the first cycle of the memory clock signal to perform a differential write of a second bit to the first bitcell.
Clause 8. The memory of any of clauses 1-7, wherein the clock circuit is a self-timed clock circuit.
Clause 9. The memory of clause 7, wherein the first access transistor and the second access transistor each comprises an n-type metal-oxide semiconductor (NMOS) transistor.
Clause 10. The memory of clause 7, further comprising:
-
- a second bitcell including a third access transistor coupled between an output node of the second bitcell and the first bit line and including a fourth access transistor coupled between a complement output node of the second bitcell and the first complement bit line;
- a third word line coupled to a gate of the third access transistor; and
- a fourth word line coupled to a gate of the fourth access transistor, the clock circuit being further configured to control an assertion of the fourth word line during the first portion of the first cycle of the memory clock signal to perform a single-ended read to the second bitcell through the first complement bit line.
Clause 11. The memory of any of clauses 1-10, wherein the read multiplexer further comprises a sense amplifier.
Clause 12. The memory of clause 11, further comprising: - a global read bit line; and
- a transistor coupled between the global read bit line and ground, wherein the sense amplifier comprises a NAND gate configured to drive a gate of the transistor.
Clause 13. The memory of clause 12, wherein the transistor is an NMOS transistor having a source coupled to ground and a drain coupled to the global read bit line.
Clause 14. The memory of clause 2, wherein the write driver is further configured to control the binary state of the write driver bit line during the scan mode of operation responsive to a binary state of a bit mask signal.
Clause 15. A scan method for a memory, comprising: - asserting a write multiplexer clock signal while a read multiplexer clock signal is asserted during a scan mode of operation;
- coupling a scan in signal through a write multiplexer to a first bit line in response to the assertion of the write multiplexer clock signal; and
- coupling the scan in signal from the first bit line through a read multiplexer to a global read bit line in response to the assertion of the read multiplexer signal.
Clause 16. The scan method of clause 15, further comprising: - receiving a memory clock signal edge at a clock circuit, wherein the assertion of the write multiplexer clock signal and the assertion of the read multiplexer clock signal is responsive to the memory clock signal edge.
Clause 17. The scan method of clause 16, wherein the assertion of the write multiplexer clock signal is further responsive to an assertion of a scan mode control signal.
Clause 18. The scan method of any of clauses 15-17, further comprising: - performing a single-ended read through the first bit line to a first bitcell by asserting a first word line in a first pair of word lines for the first bitcell during a first portion of a first memory clock cycle, wherein performing the single-ended read further includes asserting the read multiplexer clock signal while the write multiplexer clock signal is not asserted.
Clause 19. The scan method of clause 18, further comprising: - asserting both the first word line and a second word line in the first pair of word lines to write to the first bitcell through the first bit line and through a first complement bit line during a second portion of the first memory clock cycle, wherein performing the write to the first bitcell further includes asserting the write multiplexer clock signal while the read multiplexer clock signal is not asserted.
Clause 20. A memory, comprising: - a first switch configured to couple a write driver bit line to a first bit line in response to an assertion of a write multiplexer clock signal;
- a global read bit line;
- a sense amplifier configured to sense a binary state of the first bit line to control a binary state of the global read bit line in response to an assertion of a read multiplexer clock signal; and
- a clock circuit configured to assert the write multiplexer clock signal substantially simultaneously with the read multiplexer clock signal during a scan mode of operation.
Clause 21. The memory of clause 20, further comprising: - a first transistor coupled between the global read bit line and ground, and wherein the sense amplifier comprises:
- a first logic gate coupled between the first bit line and a gate of the first transistor; and a second transistor coupled between a power supply node for a memory power supply voltage and a power supply node of the first logic gate, wherein the second transistor is configured to switch on in response to an assertion of a read multiplexer clock signal.
Clause 22. The memory of clause 21, wherein the first logic gate comprises a NAND gate.
Clause 23. The memory of clause 21, wherein the first transistor comprises an NMOS transistor, and wherein the second transistor comprises a PMOS transistor.
Clause 24. The memory of any of clause 20-23, wherein the first switch comprises a first transmission gate.
As those of some skill in this art will by now appreciate and depending on the particular application at hand, many modifications, substitutions and variations can be made in and to the materials, apparatus, configurations and methods of use of the devices of the present disclosure without departing from the scope thereof. In light of this, the scope of the present disclosure should not be limited to that of the particular implementations illustrated and described herein, as they are merely by way of some examples thereof, but rather, should be fully commensurate with that of the claims appended hereafter and their functional equivalents.
Claims
1. A memory, comprising:
- a write driver configured to control a binary state of a write driver bit line during a scan mode of operation responsive to a binary state of a scan in signal during a scan mode of operation;
- a write multiplexer configured to couple the write driver bit line to a first bit line in response to an assertion of a write multiplexer clock signal;
- a read multiplexer configured to couple the first bit line to a global read bit line in response to an assertion of a read multiplexer clock signal; and
- a clock circuit configured to assert the write multiplexer clock signal substantially simultaneously with the read multiplexer clock signal during the scan mode of operation.
2. The memory of claim 1, wherein the clock circuit includes a logic gate configured to assert the write multiplexer clock signal during the scan mode of operation in response to an assertion of the read multiplexer clock signal and a scan mode control signal.
3. The memory of claim 2, wherein the logic gate comprises a NOR gate.
4. The memory of claim 1, wherein the write driver is further configured to receive a complement scan in signal during the scan mode of operation to control a binary state of a complement write driver bit line.
5. The memory of claim 4, wherein the write multiplexer is further configured to couple the complement write driver bit line to a first complement bit line in response to the assertion of the write multiplexer clock signal.
6. The memory of claim 5, wherein the write multiplexer comprises a first transmission gate coupled between the write driver bit line and the first bit line and comprises a second transmission gate coupled between the complement write driver bit line and the first complement bit line.
7. The memory of claim 5, further comprising:
- a first bitcell including: a first pair of cross-coupled inverters having an output node for a first bit and a complement output node for a complement of the first bit, a first access transistor coupled between the output node and the first bit line, and a second access transistor coupled between the complement output node and the first complement bit line;
- a first word line coupled to a gate of the first access transistor; and
- a second word line coupled to a gate of the second access transistor, wherein the clock circuit is further configured to control an assertion of the first word line to perform a single-ended read of the first bit through the first bit line during a first portion of a first cycle of a memory clock signal and to assert both the first word line and the second word line during a second portion of the first cycle of the memory clock signal to perform a differential write of a second bit to the first bitcell.
8. The memory of claim 1, wherein the clock circuit is a self-timed clock circuit.
9. The memory of claim 7, wherein the first access transistor and the second access transistor each comprises an n-type metal-oxide semiconductor (NMOS) transistor.
10. The memory of claim 7, further comprising:
- a second bitcell including a third access transistor coupled between an output node of the second bitcell and the first bit line and including a fourth access transistor coupled between a complement output node of the second bitcell and the first complement bit line;
- a third word line coupled to a gate of the third access transistor; and
- a fourth word line coupled to a gate of the fourth access transistor, the clock circuit being further configured to control an assertion of the fourth word line during the first portion of the first cycle of the memory clock signal to perform a single-ended read to the second bitcell through the first complement bit line.
11. The memory of claim 1, wherein the read multiplexer further comprises a sense amplifier.
12. The memory of claim 11, further comprising:
- a global read bit line; and
- a transistor coupled between the global read bit line and ground, wherein the sense amplifier comprises a NAND gate configured to drive a gate of the transistor.
13. The memory of claim 12, wherein the transistor is an NMOS transistor having a source coupled to ground and a drain coupled to the global read bit line.
14. The memory of claim 2, wherein the write driver is further configured to control the binary state of the write driver bit line during the scan mode of operation responsive to a binary state of a bit mask signal.
15. A scan method for a memory, comprising:
- asserting a write multiplexer clock signal while a read multiplexer clock signal is asserted during a scan mode of operation;
- coupling a scan in signal through a write multiplexer to a first bit line in response to the assertion of the write multiplexer clock signal; and
- coupling the scan in signal from the first bit line through a read multiplexer to a global read bit line in response to the assertion of the read multiplexer signal.
16. The scan method of claim 15, further comprising:
- receiving a memory clock signal edge at a clock circuit, wherein the assertion of the write multiplexer clock signal and the assertion of the read multiplexer clock signal is responsive to the memory clock signal edge.
17. The scan method of claim 16, wherein the assertion of the write multiplexer clock signal is further responsive to an assertion of a scan mode control signal.
18. The scan method of claim 15, further comprising:
- performing a single-ended read through the first bit line to a first bitcell by asserting a first word line in a first pair of word lines for the first bitcell during a first portion of a first memory clock cycle, wherein performing the single-ended read further includes asserting the read multiplexer clock signal while the write multiplexer clock signal is not asserted.
19. The scan method of claim 18, further comprising:
- asserting both the first word line and a second word line in the first pair of word lines to write to the first bitcell through the first bit line and through a first complement bit line during a second portion of the first memory clock cycle, wherein performing the write to the first bitcell further includes asserting the write multiplexer clock signal while the read multiplexer clock signal is not asserted.
20. A memory, comprising:
- a first switch configured to couple a write driver bit line to a first bit line in response to an assertion of a write multiplexer clock signal;
- a global read bit line;
- a sense amplifier configured to sense a binary state of the first bit line to control a binary state of the global read bit line in response to an assertion of a read multiplexer clock signal; and
- a clock circuit configured to assert the write multiplexer clock signal substantially simultaneously with the read multiplexer clock signal during a scan mode of operation.
21. The memory of claim 20, further comprising:
- a first transistor coupled between the global read bit line and ground, and wherein the sense amplifier comprises:
- a first logic gate coupled between the first bit line and a gate of the first transistor; and a second transistor coupled between a power supply node for a memory power supply voltage and a power supply node of the first logic gate, wherein the second transistor is configured to switch on in response to an assertion of the read multiplexer clock signal.
22. The memory of claim 21, wherein the first logic gate comprises a NAND gate.
23. The memory of claim 21, wherein the first transistor comprises an NMOS transistor, and wherein the second transistor comprises a PMOS transistor.
24. The memory of claim 20, wherein the first switch comprises a first transmission gate.
Type: Application
Filed: Mar 23, 2022
Publication Date: Sep 28, 2023
Inventors: Arun Babu PALLERLA (San Diego, CA), Anil Chowdary KOTA (San Diego, CA), Changho JUNG (San Diego, CA)
Application Number: 17/702,770