SRAM with scan mode

Through pseudo three-port SRAM design and "dual pump" synchronous control, the problem of reduced access transistor density in traditional three-port SRAM is solved, flexible memory access and improved scan operation mode are achieved, and the density of memory and peripheral logic are improved. scannability.

CN118742962APending Publication Date: 2024-10-01QUALCOMM INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202380023145.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2022-03-23
Filing Date
2023-03-09
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

When traditional three-port SRAM implements simultaneous read/write operations, additional access transistors are added to each bit cell, which reduces density and cannot meet high-density storage requirements.

Method used

Using a pseudo three-port SRAM design, synchronization control in a "double pump" manner is achieved by asserting the read multiplexer clock signal during read operations and the write multiplexer clock signal during write operations. Avoid the addition of extra access transistors and bypass the write multiplexer and read multiplexer in scan operation mode.

Benefits of technology

It provides flexible access capabilities to three-port memories without increasing access transistor density, and improves the scannability of peripheral logic components through improved scan operation modes, reducing the load on global read bit lines.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118742962A_ABST
    Figure CN118742962A_ABST
Patent Text Reader

Abstract

A memory is provided with a clock circuit configured to concurrently assert a write multiplexer clock signal and a read multiplexer clock signal during a scan mode of operation. In the scan mode of operation, when the write multiplexer clock signal is asserted, a scan input signal is routed through the write multiplexer to the first bit line. Similarly, when the read multiplexer clock signal is asserted, the scan input signal is routed from the first bit line through the read multiplexer.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to memory, and more particularly to static random access memory (SRAM) having a scan mode of operation. Background Art

[0002] In a conventional static random access memory (SRAM), a bit cell is connected to a pair of bit lines through a corresponding pair of access transistors during a read operation. In order to turn on the access transistors during a read operation, a self-timing clock circuit controls the assertion of the voltage of the word line connected to the gate of each of the access transistors. The pair of access transistors and the corresponding bit lines can therefore be viewed as a single read port and a single write port to the bit cell. The pair of bit lines is shared by other bit cells and their corresponding access transistors. The resulting group of bit cells connected by their common bit line pair is typically represented as a column of bit cells. Since there is only one bit line pair for the column, only a single read operation or a single write operation can occur each time a word line is asserted.

[0003] In order to adapt to applications such as video processing that requires at least two access ports, three-port SRAMs have been developed. Then, one processor can access the three-port SRAM through a first read access port, while another processor accesses the three-port SRAM through a second read access port. In a three-port SRAM, each column has a pair of write bit lines and two separate read bit lines for write operations, one read bit line for each read port. Each bit cell can therefore have a pair of access transistors for coupling to the write bit lines, and has two additional access transistors, one access transistor for each read port. Although this type of three-port SRAM implements simultaneous read / write operations, the additional access transistors for each bit cell produce a lower density (the number of bit cells that can be implemented in a given area of ​​die space). Summary of the invention

[0004] According to a first aspect of the present disclosure, there is provided a memory, the memory comprising: a write driver configured to control a binary state of a write driver bit line during a scan operation mode in response to a binary state of a scan in signal during a scan operation mode; 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

[0005] A clock circuit is configured to assert the write multiplexer clock signal substantially simultaneously with the read multiplexer clock signal during the scan mode of operation.

[0006] According to a second aspect of the present disclosure, there is provided a scanning method for a memory, the scanning method comprising: asserting a write multiplexer clock signal while asserting a read multiplexer clock signal during a scan operation mode;

[0007] A scan input signal is coupled to a first bit line through a write multiplexer in response to the assertion of the write multiplexer clock signal; and the scan input signal from the first bit line is coupled to a global read bit line through a read multiplexer in response to the assertion of the read multiplexer signal.

[0008] According to a third aspect of the present disclosure, a memory is provided, comprising: a first switch configured to couple a write driver bit line to a first bit line in response to assertion of a write multiplexer clock signal; a global read bit line; a read amplifier configured to read a binary state of the first bit line in response to assertion of a read multiplexer clock signal to control the binary state of the global read bit line; and a clock circuit configured to assert the write multiplexer clock signal substantially simultaneously with the read multiplexer clock signal during a scan operation mode.

[0009] These and additional advantages may be better understood through the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] Figure 1 A PTP SRAM is illustrated where the scan path bypasses the write multiplexer and the read multiplexer.

[0011] Figure 2 A bit cell for a PTP SRAM according to an aspect of the present disclosure is illustrated.

[0012] Figure 3 is Figure 1 Figure 1 shows the timing diagram of various signals during a functional mode read operation and a functional mode write operation in a PTP SRAM.

[0013] Figure 4 A PTP SRAM according to an aspect of the present disclosure is illustrated, wherein a scan path passes through peripheral logic including a write multiplexer and a read multiplexer.

[0014] Figure 5 is a timing diagram of various signals during a scan mode of operation in a PTP SRAM according to an aspect of the present disclosure.

[0015] Figure 6 is a flow chart of an example method of operation for pseudo three-port memory peripheral logic scanning according to an aspect of the present disclosure.

[0016] Figure 7 Some example electronic systems according to an aspect of the present disclosure are illustrated, each incorporating a pseudo three-port memory with peripheral logic scan capability.

[0017] The specific implementation of the present disclosure and its advantages can be best understood by referring to the following detailed description.It should be understood that like reference numerals are used to identify like elements illustrated in one or more of the figures in the drawings. DETAILED DESCRIPTION

[0018] In order to provide flexibility in access to a three-port memory without incurring a density penalty of more than two access transistors per bit cell, a pseudo three-port SRAM is disclosed. In a pseudo three-port (PTP) bit cell, a first word line controls a first access transistor coupled to a bit line, and a second word line controls a second access transistor coupled to a complementary bit line. Thus, a first read port is formed by the bit line and the first access transistor. Similarly, a second read port is formed by the complementary bit line and the second access transistor. The two bit lines and the two access transistors form a write port. Read access and write access are synchronized in a "double pumping" manner by a memory clock signal, so that a read operation to the bit cell occurs during a first portion of a cycle of the memory clock signal, and a write operation occurs during a second portion of a cycle of the memory clock signal.

[0019] During a read operation, the read multiplexer selects the bit line being accessed. Similarly, during a write operation, the write multiplexer selects the bit line pair being accessed. During a read operation, the write multiplexer is inactive so that it does not interfere with the write operation. Similarly, during a write operation, the read multiplexer is inactive. The read multiplexer and the write multiplexer together with associated components (such as write drivers and sense amplifiers) form a logic that can be represented as a peripheral logic for a memory. However, the mutually exclusive operation of the read multiplexer and the write multiplexer complicates the implementation of a scan operation mode for testing peripheral logic. If the scan mode occurs during the first part of the memory clock cycle, the write multiplexer is inactive, while the read multiplexer is inactive during the second part of the memory clock cycle. Therefore, conventionally, the scan operation mode bypasses both the write multiplexer and the read multiplexer in a pseudo three-port SRAM.

[0020] Therefore, a pseudo three-port (PTP) SRAM with a scan operation mode is disclosed, and the scan operation mode scans the peripheral logic including the read multiplexer and the write multiplexer. In order to better understand this novel scan operation mode, the following will first be discussed. Figure 1 1 shows another scan operation mode of the PTP SRAM 100 shown in FIG. A system component, such as a processor (not illustrated), generates a data input signal (data in signal) for a write operation. The processor is in a system power domain powered by a system power voltage, and the PTP SRAM 100 is in a memory power domain powered by a memory power voltage. Therefore, the data input signal is level-shifted from the system power domain to the memory power domain by a level shifter 105. A first inverter 110 inverts the level-shifted output of the level shifter 105 to form a complementary data input signal dinb. A second inverter 115 inverts the complementary data input signal dinb to form a data input signal din.

[0021] During a write operation, assuming that the bit mask signal ibyte_n is not asserted, the write driver 120 drives the write driver bit line wd in response to the data input signal din. If the bit mask signal ibyte_n signal is asserted, the write driver 120 does not respond to the data input signal din. The write driver 120 also drives the complementary write driver bit line wdb in response to the complementary data input signal dinb (again assuming that the bit mask signal ibyte_n is not asserted). The write multiplexer (mux) 125 couples the write driver bit line wd to the memory group bit line ubl0 in response to the assertion of the write multiplexer clock signal uwm. Similarly, the write multiplexer 125 couples the complementary write driver bit line wdb to the memory group complementary bit line ublb0 in response to the assertion of the write multiplexer clock signal uwm. The bit lines ubl0 and ublb0 form a bit line pair.

[0022] Prior to a write operation, the bit line pair ubl0 and ublb0 are precharged to the memory supply voltage. If the data input signal dinb is a binary one value (assuming an active high implementation), the bit line ubl0 remains charged while the complementary bit line ublb0 is discharged. Conversely, if the data input signal dinb is a binary zero value, the bit line ubl0 is discharged while the complementary bit line ublb0 remains charged. Based on the complementary charge states of the bit line pair ubl0 and ublb0, the accessed PTP bit cells (not illustrated) are written accordingly. The bit lines ubl0 and ublb0 and the corresponding PTP bit cells form columns in an upper group (not illustrated) in the PTP SRAM 100. A group is an array of columns and corresponding bit cells.

[0023] During a write operation, both ubl0 and ublb0 of the bit line pair are driven by the write driver 120 through the write multiplexer 125. However, during a read operation, each bit line forms its own read port. In the PTP SRAM 100, a read multiplexer (mux) and a sense amplifier 130 are combined. Depending on the low-level active assertion of the read multiplexer clock signal rmp, the read multiplexer and the sense amplifier 130 are powered or not. If the power supply is controlled by the read multiplexer clock signal rmp, the read column multiplexer and the sense amplifier 130 read both the bit line ubl0 and the corresponding bit line lbl0 from the lower group (not illustrated).

[0024] As defined herein, a binary signal is considered "asserted" when it is logically true, regardless of whether an active high or active low convention is used to represent the logically true state. Since the read multiplexer clock signal rmp is an active low signal, it is asserted by discharging it to ground. Conversely, if the read multiplexer clock signal rmp is an active high signal, it will be asserted by charging it to the memory supply voltage.

[0025] If the read multiplexer address signal rmp is asserted and the bit line ubl0 remains charged during the read operation because the accessed PTP bit cell stores a binary bit, the read column multiplexer and sense amplifier 130 functions to discharge its output signal 131 to ground. The output signal 131 drives the gate of an n-type metal oxide semiconductor (NMOS) transistor M1, which has a source coupled to ground and a drain coupled to the global read bit line grbl.

[0026] The global read bit line grbl is part of the system power domain. Prior to a read operation, the precharge of the global read bit line grbl thus precharges it to the system power voltage. The discharged state of the output signal 131 prevents the transistor M1 from turning on, so that the global read bit line grbl remains charged. However, if the accessed PTP bit cell is storing a binary zero, the bit line ubl0 will discharge during the read operation, so that the output signal 131 will be asserted to the memory power voltage when the read multiplexer clock signal rmp is asserted. The global read bit line grbl will then discharge toward ground due to the high state of the output signal 131. A global data output latch (not illustrated) latches the state of the global read bit line grbl as a data output (dout) signal during a read operation.

[0027] Figure 2200 of a PTP SRAM as disclosed herein is shown. Column 200 includes a first PTP bit cell 205 and a second PTP bit cell 210, but it should be understood that column 200 may include additional PTP bit cells that are not shown for clarity of illustration. Each PTP bit cell is in its own row, with other bit cells in the row sharing a corresponding pair of word lines. For example, PTP bit cell 205 is arranged in the zeroth row of bit cells. Similarly, PTP bit cell 210 is in the first row of bit cells. Each PTP bit cell includes a cross-coupled inverter pair that drives a true bit node Q and a complementary bit node QB.

[0028] The bit line pair formed by the bit line ubl0 and the complementary bit line ublb0 extends across the column 200. The read port A word line WLA0 extends across the zeroth row and drives the first n-type metal oxide semiconductor (NMOS) access transistor M3 in the PTP bit cell 205, which is coupled between the true bit node Q of the PTP bit cell 205 and the bit line ubl0. The read port A word line WLA0 similarly drives the other first access transistors in the remaining PTP bit cells (not illustrated) in the zeroth row. The read port B word line WLB0 also extends across the zeroth row and drives the second NMOS access transistor M4, which is coupled between the complementary bit node QB of the PTP bit cell 205 and the complementary bit line ublb0. The read port B word line WLB0 similarly drives the other second access transistors (not illustrated) in the zeroth row. Since the word lines are independently controlled during a read operation, the combination of bit line ub10, read port A word line WLA0, and access transistor M3 forms a read port A for PTP bit cell 205. Bit line ub10 may therefore also be denoted as a read port A bit line. Similarly, the combination of complementary bit line ub1b0, read port B word line WLB0, and access transistor M4 forms a read port B for bit cell 205. Complementary bit line ub1b0 may therefore also be denoted as a read port B bit line.

[0029] The word line pairs for the first row of bit cells are similar. For example, the read port A word line WLA1 in the word line pair extends across the first row to drive the access transistor M5 in the PTP bit cell 210. The read port A word line WLA1 similarly drives the other first access transistors in the remaining bit cells (not illustrated) in the first row. The read port B word line WLB1 extends across the first row to drive the access transistor M6 in the PTP bit cell 210. The read port B word line WLB1 similarly drives the other second access transistors (not illustrated) in the first row. Therefore, the PTP bit cell 210 has a read port A from the combination of its access transistor M5, the bit line ub10, and the read port A word line WLA1. Similarly, the PTP bit cell 210 has a read port B from the combination of its access transistor M6, the complementary bit line ub10, and the read port B word line WLB1.

[0030] Assume that read port A is accessed in PTP bit cell 205 by asserting the voltage of word line WLA0. Since access transistor M3 is coupled between bit node Q of PTP bit cell 205, when the voltage of read port A word line WLA0 is asserted, the voltage of bit line ub1b0 will be charged according to the binary content of PTP bit cell 205. If PTP bit cell 205 is storing binary one in binary high level convention, the bit node Q of PTP bit cell 205 will be charged to memory supply voltage accordingly. Before the read operation, bit line ub10 is precharged to memory supply voltage. During the read operation on read port A, when PTP bit cell 205 is storing binary one, bit line ub10 will remain charged to memory supply voltage accordingly. But if PTP bit cell 205 has been storing binary zero, the read operation on read port A will cause bit line ub10 to discharge towards ground, and access transistor M3 is turned on.

[0031] Figure 3Some example waveforms for such a read operation on the PTP bit cell 205 are shown in FIG. 1 . Prior to the assertion of the memory clock signal CLK at time t0, the bit line ubl0 is charged to the memory supply voltage. The assertion of the memory clock signal at time t0 triggers a read cycle and a subsequent write cycle in one cycle of the memory clock signal CLK. From time t1 to time t2, the read port A word line WLA0 of the zeroth row is asserted. Therefore, there is a read port A access to the bit cell 205 from time t1 to time 2. As the word line voltage is formed, the read multiplexer clock signal rmp is then asserted. In this specific implementation, the read multiplexer clock signal rmp is a low-level active signal, so it is asserted by discharging it to ground. In this example, it is assumed that the PTP bit cell 205 is storing a binary bit, so that the bit node Q of the PTP bit cell 205 is charged to the supply voltage. The bit line ubl0 therefore remains charged to the supply voltage during the word line assertion period from time t1 to time t2. Note that during the same word line assertion cycle from time t1 to time 2, the first row (not in Figure 3 ) to perform a read port B access to the PTP bit cell 210.

[0032] 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 the PTP SRAM, access to such a read port A then results in the SRAM 100 ( Figure 1 )'s global read bit line grbl remains charged to the system power supply voltage. Figure 3 As shown in , the data output signal dout is then charged to a high level at time t3.

[0033] After the read operation is completed, the read multiplexer clock signal rmp is de-asserted after time t2. The write precharge period extends from time t2 to time t4. In some implementations, the precharge circuit charges the bit line ubl0 and the complementary bit line ublb0 to the memory supply voltage during the write precharge period. Therefore, the bit line ubl0 is Figure 3 is shown as remaining charged to the memory supply voltage during the write precharge cycle.

[0034] Then, a write port access to the PTP bit cell 205 occurs from time t4 to time t5. At or before time t4, the write driver 120 ( Figure 1 ) couples bit line ub10 to write driver bit line wd. Similarly, write driver 120 couples complementary bit line ub1b0 to complementary write driver bit line wdb. To allow write driver 120 to respond to byte mask command ibyte_n, logic gates (such as Figure 1 The "NOR" gate 145 shown in the figure processes the bit mask command with a low-level active write clock signal wrclk_n. If the bit cell accessed in the write operation is to be masked as part of the masked byte, the byte mask command signal ibyte_n is asserted as a logic one binary value, which causes the output signal bmsk_n of the "NOR" gate 145 to be a logic zero. If the byte mask command ibyte_n is a logic zero, the "NOR" gate 145 plays a role in inverting the low-level active write clock signal wrclk_n to form the output signal bmsk_n. During the write operation without byte masking, the write clock signal wrclk_n signal is grounded so that the output signal bmsk_n is a logic one. The write driver 120 is configured to couple the bit line ubl0 to the write driver bit line wd only when bmsk_n is a logic one. In the following discussion of the PTP SRAM 100, it will be assumed that bmsk_n is asserted as a logic 1 value. In this example, the write driver bit line wd is discharged in response to the data input signal din also being discharged. Therefore, the binary state of the complementary write driver bit line wdb is binary one. With the write driver 120 charging the bit line pair accordingly, the self-timing clock circuit 140 controls the assertion of the word line WLA0 and the word line WLB0 from time t4 to time t5 to write the data input signal din to the PTP bit cell 205. Both the access transistor M3 and the access transistor M4 are turned on during the write port access due to the simultaneous word line assertion.

[0035] Since the write driver bit line wd is discharged in this example, the bit line ubl0 is discharged during the write port access from time t4 to time t5. The word line assertion period from time t4 to time t5 is of sufficient length so that the data input signal din (in this example, binary zero) is written into the accessed bit cell. Figure 3 As shown in , the write multiplexer clock signal uwm is asserted before time t4, so that the bit line voltage can be driven accordingly when the word line is asserted at time t4. In this specific implementation, the write multiplexer clock signal uwm is a high-level active signal, so that it is charged to the memory power supply voltage. With the release of the word line at time t5, the write multiplexer clock signal uwm can also be released.

[0036] During a read operation, the write multiplexer clock signal uwm is deasserted so that the write column multiplexer 125 is inactive. In this way, the write driver 120 is prevented from undesirably affecting the read operation. Similarly, the read multiplexer address signal rmp is deasserted by charging it to the memory supply voltage during a write operation to keep the read column multiplexer and sense amplifier 130 powered off so that the global read bit line grbl is not disturbed during a write operation.

[0037] The self-timing clock circuit 140 controls the complementary assertion of the write multiplexer address signal uwm and the read multiplexer address signal in response to the cycle of the memory clock (clk) signal. In addition, the self-timing clock circuit 140 controls the discharge of the write clock signal wrclk_n to turn on the write driver 120. The self-timing clock circuit 140 includes various elements, such as dummy word lines and dummy bit lines, so that the electrical behavior of actual word lines and bit lines can be simulated. The complementary assertion of the read multiplexer clock signal rmp and the write multiplexer clock signal uwm by the self-timing clock circuit 140 prevents the scan operation mode from scanning through the peripheral logic including the write driver 120, the write column multiplexer 125, and the read column multiplexer and the read amplifier 130. For example, the read column multiplexer and the read amplifier 130 are active and can be scanned when 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 opened and can be scanned when the write multiplexer clock signal uwm is asserted, but then the read column multiplexer and sense amplifier 130 are powered down due to the complementary de-assertion of the read multiplexer clock signal rmp.

[0038] The PTP SRAM 100 includes a bypass scan logic circuit, such as a NOR gate 135, which is responsive to the assertion of the scan mode control signal (scan_n) to bypass the write driver 120, the write column multiplexer 125, and the read column multiplexer and the sense amplifier 130 during the scan operation mode. In the scan operation mode, the level shifter 105 level shifts the scan input signal instead of the data input signal to form a level-shifted scan input signal (sin). The NOR gate 135 performs a NOR operation on the level-shifted scan input signal sin and the scan mode control signal scan_n to control whether the NMOS transistor M2 is turned on to discharge the global read bit line grbl. In this specific implementation, the scan mode control signal scan_n is a low-level active signal. The transistor M2 has a source coupled to ground and a drain coupled to the global read bit line grbl. During the operation mode of the functional mode (non-scanning), the scan mode control signal scan_n is charged to the memory power supply voltage, so that the "NOR" gate 135 discharges the gate of the transistor M2. Therefore, the transistor M2 is disconnected during the functional operation mode so as not to interfere with any read operation. During the scan operation mode, the scan mode control signal scan_n (scan_n is a low-level active signal) is asserted by discharging the scan mode control signal. The "NOR" gate 135 can then respond to the level-shifted scan input signal sin. If the level-shifted scan input signal sin is a binary high level, the "NOR" gate 135 continues to discharge the gate of the transistor M2. Since the global read bit line grbl is precharged before receiving the level-shifted scan input signal sin, if the level-shifted scan input signal sin is a binary high level, the global read bit line grbl remains charged to the system power supply voltage. During the scan operation mode, the global read bit line grbl voltage determines the binary state of the scan output (sout) signal. Therefore, in response to the binary high state of the level-shifted scan input signal sin, the sout signal will be a binary high signal. But if the level-shifted scan input signal sin is a binary low signal (discharged to ground), the "NOR" gate 135 turns on transistor M2 to discharge the sout signal. Although the level-shifted scan input signal sin can then be passed as the sout signal, the resulting scan completely bypasses the write driver 120, the write column multiplexer 125, and the read column multiplexer and sense amplifier 130 during the scan mode of operation. Therefore, this PTP scan cannot detect errors in the operation of these peripheral logic components. A PTPSRAM with an improved scan mode for scanning peripheral logic components will now be discussed in more detail.

[0039] In order to provide an in-depth scan of peripheral logic components, an SRAM is disclosed having a scan operation mode for scanning peripheral logic including a write driver, a write column multiplexer, and a read column multiplexer. The following discussion will relate to a PTP SRAM having this improved scan operation mode, but it should be understood that other types of six-transistor bit cell SRAMs (such as single-port SRAMs) that incorporate both a read multiplexer and a write multiplexer may also implement the disclosed scan operation mode. In the PTP SRAM, the PTP bit cell may be implemented as discussed for PTP bit cells 205 and 210. Similarly, the timing of assertion of the read multiplexer clock signal rmp and the timing of assertion of the write multiplexer clock uwm during the functional mode may be as discussed for Figure 3 Execute as discussed. Figure 4 An example PTP SRAM 400 with this robust peripheral logic scan capability is shown in FIG. As discussed with respect to PTP SRAM 100, level shifter 105 functions during the functional operation mode to level shift the data input signal from the system power domain to the memory power domain to form a level-shifted din signal. Similarly, level shifter 105 level shifts the scan input signal during the scan operation mode to form a level-shifted scan input signal (sin). During the functional operation mode, inverter 110 inverts the level-shifted din signal to form a level-shifted complementary data input signal (dinb). Similarly, inverter 110 inverts the level-shifted scan input signal sin during the scan operation mode to form a level-shifted complementary scan input signal (sinb).

[0040] The scan mode controller (not illustrated) controls whether the scan operation mode is active by discharging the low-level effective scan mode control signal scan_n. The following description will focus on the scan operation mode. In order to force the write driver 460 to be transparent (active or open) during the scan operation mode, a logic gate (such as a "NAND" gate 405) processes the scan mode control signal scan_n and the write clock signal wrclk_n. In the case where the scan_n signal is a logic zero in the scan operation mode, the output signal of the "NAND" gate 405 is forced to be a logic one. The inverter 415 then inverts the output signal of the "NAND" gate 405 to output a logic zero signal. The "NOR" gate 420 performs a NOR operation with the output signal of the inverter 415 and the byte mask signal ibyte_n to form a bmsk_n signal. During the scan operation mode, the byte mask signal ibyte_n is a logic zero. Therefore, when the scan_n signal is logic zero, the bmsk_n signal is asserted to logic one to force the write driver 460 to operate normally.

[0041] In one specific implementation, the write driver 460 includes a NAND gate 430 that performs a NAND operation on the level-shifted scan input signal sin and the bmsk_n signal. When the bmsk_n signal is asserted to a logic one value during the scan operation mode due to the discharge of the scan mode control signal scan_n, the NAND gate 430 acts as an inverter to drive the gate of a p-type metal oxide semiconductor (PMOS) transistor P2, which has a source coupled to a power supply node for a memory power supply voltage and a drain coupled to the write driver bit line wd. If the level-shifted scan input signal sin is a binary one, the transistor P2 is turned on in response to the binary low level output signal of the NAND gate 430 to charge the write driver bit line wd to the power supply voltage.

[0042] Inverter 440 inverts the output signal of NAND gate 430 to drive the gate of NMOS transistor M7, which has a source coupled to ground and a drain coupled to the complementary write driver bit line wdb. If the level-shifted scan input signal sin is binary one, the output signal of inverter 440 will also be asserted as binary one. Then transistor M7 is turned on to discharge the complementary write driver bit line wdb accordingly. On the contrary, if the level-shifted scan input signal sin is binary zero, the output signal from NAND gate 430 is binary one, which forces transistor P2 to disconnect so that it cannot affect the charging 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 disconnect so that it cannot affect the charging of the complementary write driver bit line wd.

[0043] The write driver 460 may also include a NAND gate 425 that performs a NAND operation on the level-shifted complementary scan input signal sinb and the bmsk_n signal. When the bmsk_n signal is asserted to a logic one value during the scan operation mode due to the discharge of the scan_n signal, the NAND gate 425 acts as an inverter to drive the gate of a PMOS transistor P1 having a source coupled to a power supply node for a memory power supply voltage and having a drain coupled to a complementary write driver bit line wdb. If the level-shifted complementary scan input signal sinb is a binary one, transistor P1 is turned on in response to the binary low level output signal of the NAND gate 425 to charge the complementary write driver bit line wdb to the memory power supply voltage.

[0044] Inverter 435 inverts the output signal of NAND gate 425 to drive the gate of NMOS transistor M8, which has a source coupled to ground and a drain coupled to the write driver bit line wd. If the level-shifted complementary scan input signal sinb is binary one, the output signal of inverter 435 will also be asserted as binary one. Then transistor M8 is turned on to discharge the write driver bit line wd accordingly. On the contrary, if the level-shifted complementary scan input signal sinb is binary zero, the output signal from NAND gate 425 is binary one, which forces transistor P1 to disconnect so that it cannot affect the charging 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 disconnect so that it cannot affect the charging of the complementary write driver bit line wd.

[0045] The write driver 460 therefore responds to the level-shifted scan input signal sin so that the write driver bit lines wd and wdb are charged accordingly. If the level-shifted scan input signal sin is a binary one signal, the write driver 460 discharges the complementary 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 input signal sin is a binary zero signal, the write driver 460 discharges the write driver bit line wd and charges the complementary write driver bit line wdb to the memory power supply voltage.

[0046] For the timing of reading the multiplexer clock signal rmp, the Figure 31 to about time t2, the self-timing clock circuit 140 of the PTP SRAM 100 asserts the read multiplexer clock signal rmp. Similarly, from time t4 to time t5, the self-timing clock circuit 140 asserts the write multiplexer clock signal uwm. This "double pumping" timing can be maintained by the self-timing clock circuit 450 of the PTPSRAM 400 with respect to the read multiplexer clock signal rmp and the write multiplexer clock signal uwm'. In order to activate the write multiplexer 465 while the read multiplexer clock signal rmp is asserted during the scan operation mode, the self-timing clock circuit 450 may include a logic gate, such as a "NOR" gate 455 (shown separately from the self-timing clock circuit 450 for clarity of illustration). It should be understood that the logic circuits (such as the "NOR" gate 455) disclosed herein are merely exemplary, as other types of logic gates (or combinations of logic gates) may be used in alternative implementations. The NOR gate 455 performs an NOR operation on the read multiplexer clock signal rmp and the low-level active scan mode control signal scan_n, which is asserted through ground to activate the scan operation mode. The self-timing clock circuit 450 includes a logic gate, such as an OR gate 475, which performs an OR operation on the output signal of the NOR gate 455 and the write multiplexer clock signal uwm' to control the binary state of the write multiplexer clock signal uwm. The write multiplexer clock signal uwm will therefore be asserted to the memory supply voltage substantially simultaneously with the low-level active assertion of the read multiplexer clock signal rmp. During the functional operation mode, the self-timing clock circuit 450 can be connected to the memory power supply voltage at any time. Figure 3 The "double pumping" approach discussed controls the read multiplexer clock signal rmp and the write multiplexer clock signal uwm so that the read multiplexer clock signal rmp is asserted during a first portion of the memory clock signal (clk) and so that the write multiplexer clock signal uwm is asserted during a second portion of the memory clock signal. Note that the NOR gate 455 is powered off during write operations in the functional mode so that it does not interfere with the write cycle timing. Similarly, the active low scan mode control signal scan_n is charged to the memory supply voltage during the functional mode so that the output signal of the NOR gate 455 is discharged during the functional mode read operation so as not to interfere with the write cycle timing as well.

[0047] The write multiplexer 465 includes a first switch, such as a first transmission gate T1, which is turned on in response to the assertion of the write multiplexer clock signal uwm (and the low-level active assertion of the complementary write multiplexer clock signal uwmn formed by the inversion of the write multiplexer clock signal uwm). When the transmission gate T1 is turned on (conducting), the write driver bit line wd is coupled to the zeroth upper group bit line ubl0. In this way, the zeroth upper group bit line ubl0 will be driven to the same binary level as the level-shifted scan input signal sin. Similarly, the write multiplexer 465 includes a second transmission gate T2, which, when turned on, couples the complementary write driver bit line wdb to the zeroth upper group complementary bit line ublb0. The transmission gate T2 is turned on in response to the assertion of the write multiplexer clock signal uwm and the low-level active assertion of the complementary write multiplexer clock signal uwmn.

[0048] The combined read multiplexer and sense amplifier 470 includes a NAND gate 445 that performs a NAND operation on the zeroth upper group bit line ubl0 and the corresponding zeroth lower group bit line lbl0. The NAND gate 445 is powered by a PMOS transistor P3, which is turned on in response to a low-level active assertion of the read multiplexer clock signal rmp. The drain of transistor P3 is coupled to the power supply node of the NAND gate 445, and the source of transistor P3 is coupled to the power supply node for the memory power supply voltage. The read multiplexer clock signal rmp drives the gate of transistor P3 to control whether transistor P3 powers the NAND gate 445. As previously discussed, a group is a continuous array of bit cells. For clarity of illustration, the lower group is not illustrated. The bit lines in the upper group and the lower group are precharged to the memory power supply voltage before receiving the level-shifted scan input signal sin. Similarly, the global read bit line grbl is also precharged to the system power supply voltage. If the level-shifted scan input signal sin is charged to the memory power supply voltage during the scan operation mode, the zeroth upper group bit line ubl0 will remain charged to the memory power supply voltage, so that the output signal of the "NAND" gate 445 will be discharged to ground. The output signal of the "NAND" gate 445 controls the gate of the NMOS transistor M1 discussed for the PTP SRAM 100. The global read bit line grbl will therefore remain charged to the system power supply voltage in response to the high state of the level-shifted scan input signal sin. But if the level-shifted scan input signal sin is a binary zero, the output signal of the "NAND" gate 445 will be charged to the memory power supply voltage in response to the low-level active assertion of the read multiplexer clock signal rmp. Then turn on the transistor M1, so that the global read bit line grbl is discharged to ground accordingly. In order to keep transistor M1 off when the low active read multiplexer clock signal rmp is de-asserted by charging the low active read multiplexer clock signal to the power supply voltage, the read multiplexer clock signal rmp also drives the gate of an NMOS transistor M9 having a drain coupled to the gate of transistor M1 and a source coupled to ground. Therefore, transistor M9 is turned on when the read multiplexer clock signal rmp is charged to the power supply voltage to keep transistor M1 off. A read multiplexer and sense amplifier (not illustrated) similar to the read multiplexer and sense amplifier 470 is coupled to the zeroth upper group complementary bit line ublb0 to control the binary state of the complementary global read bit line (not illustrated).

[0049] The advantages of the peripheral logic scan of the PTP SRAM 400 are discussed. Not only can the peripheral logic components (such as write driver 460, write multiplexer 465, and read multiplexer and sense amplifier 470) be fully scanned, but the clock margin is substantially the same as during the functional mode. In contrast, the bypass scan through the "NOR" gate 135 and transistor M2 has a very different clock margin than the clock margin achieved by the PTP SRAM 100 during the functional mode. In addition, the peripheral logic scan of the PTP SRAM 400 does not add any significant load to the global read bit line grbl. In contrast, transistor M2 adds load to the global read bit line grbl in the PTP SRAM 100.

[0050] Figure 5 4 shows some example waveforms for a peripheral logic scan in a PTP SRAM 400. In the scan operation mode, the word lines WL0 and WLB0 to the bit cell 205 remain discharged. The assertion of the memory clock signal at time t0 triggers the self-timing clock circuit 450 to discharge the low-level active read multiplexer clock signal from time t1 to time t2, as will be performed during a read operation in the functional mode. In addition, also from time t1 to time t2, the self-timing clock circuit 450 also asserts the write multiplexer clock signal uwm. In contrast, in the functional mode, the self-timing clock circuit 440 asserts the write multiplexer clock signal uwm only during the write operation portion of the memory clock cycle.

[0051] Referring again to the PTP SRAM 400, the self-timing clock circuit 450 is configured to control the word lines WLA0 and WLB0 of the zeroth row of bit cells 205, as for Figure 3 As discussed in the timing waveform of . In a read access to port A, the self-timing clock circuit 450 controls the word lines so that only the word line WLA0 is charged to the memory power supply voltage, while the word line WLB0 will remain discharged. During a read access to port A of the zeroth row of bit cells 205, the self-timing clock circuit 450 may control the word lines in a read access to port B so that only the word line WLB1 is charged to the memory power supply voltage, while the word line WLA1 will remain discharged.

[0052] Now it will target Figure 6The method of operation for peripheral logic scanning in a PTP memory is discussed with reference to a flowchart of . The method includes an action 600 of asserting a write multiplexer clock signal while asserting a read multiplexer clock signal during a scan operation mode. An example of action 600 is: asserting a low level active read multiplexer clock signal rmp and a high level active write multiplexer clock signal uwm by the self-timing clock circuit 450. The method also includes an action 605 of coupling a scan input signal to a first bit line through a write multiplexer in response to the assertion of the write multiplexer clock signal. An example of action 605 is: opening a transmission gate T1 in response to the assertion of the write multiplexer clock signal uwm to couple a level-shifted scan input signal sin to the bit line ubl0. Finally, the method also includes an action 610 of coupling a scan input signal from a first bit line to a global read bit line through a read multiplexer in response to the assertion of the read multiplexer signal. An example of action 610 is coupling the level-shifted scan input signal sin to the global read bit line grbl through the read multiplexer and sense amplifier 470 .

[0053] The memory disclosed herein can be incorporated into a variety of electronic systems. For example, Figure 7 As shown in , a cell phone 700, a laptop computer 705, and a tablet PC 710 can all include a memory with peripheral logic scanning according to the present disclosure. Other exemplary electronic systems such as music players, video players, communication devices, and personal computers can also be configured with a memory constructed according to the present disclosure.

[0054] The present disclosure will now be summarized by the following example clauses:

[0055] Clause 1. A memory, the memory comprising:

[0056] a write driver configured to control a binary state of a write driver bit line during a scan mode of operation in response to a binary state of a scan input signal during a scan mode of operation;

[0057] a write multiplexer configured to couple the write driver bit line to a first bit line in response to assertion of a write multiplexer clock signal;

[0058] a read multiplexer configured to couple the first bit line to a global read bit line in response to assertion of a read multiplexer clock signal; and

[0059] A clock circuit is configured to assert the write multiplexer clock signal substantially simultaneously with the read multiplexer clock signal during the scan mode of operation.

[0060] Clause 2. The memory of Clause 1, wherein the clock circuit comprises a logic gate configured to assert the write multiplexer clock signal in response to assertion of the read multiplexer clock signal and a scan mode control signal during the scan mode of operation.

[0061] Clause 3. The memory of Clause 2, wherein the logic gate comprises a NOR gate.

[0062] Clause 4. The memory of any of Clauses 1 to 3, wherein the write driver is further configured to receive a complementary scan input signal to control a binary state of a complementary write driver bit line during the scan mode of operation.

[0063] Clause 5. The memory of Clause 4, wherein the write multiplexer is further configured to couple the complementary write driver bit line to a first complementary bit line in response to the assertion of the write multiplexer clock signal.

[0064] Clause 6. The memory of Clause 5, wherein the write multiplexer comprises a first send gate coupled between the write driver bit line and the first bit line, and comprises a second send gate coupled between the complementary write driver bit line and the first complementary bit line.

[0065] Clause 7. The memory according to any one of clauses 5 to 6, further comprising:

[0066] a first bit cell, the first bit cell comprising: a first pair of cross-coupled inverters having an output node for a first bit and a complementary output node for a complement of the first bit, a first access transistor coupled between the output nodes and the first bit line, and a second access transistor coupled between the complementary output node and the first complementary bit line;

[0067] a first word line coupled to a gate of the first access transistor; and

[0068] a second word line coupled to a gate of the second access transistor, wherein the clock circuit is further configured to control assertion of the first word line to: perform the

[0069] A single-ended read of a first bit, and asserting 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 bit cell.

[0070] Clause 8. The memory of any one of clauses 1 to 7, wherein the clock circuit is a self-timing clock circuit.

[0071] Clause 9. The memory of Clause 7, wherein the first access transistor and the second access transistor each comprise an n-type metal oxide semiconductor (NMOS) transistor.

[0072] Clause 10. The memory according to clause 7, further comprising:

[0073] a second bit cell comprising a third access transistor coupled between an output node of the second bit cell and the first bit line, and comprising a fourth access transistor coupled between a complementary output node of the second bit cell and the first complementary bit line;

[0074] a third word line coupled to a gate of the third access transistor; and

[0075] a fourth word line coupled to a gate of the fourth access transistor, the clock circuit being further configured to control 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 of the second bit cell through the first complementary bit line.

[0076] Clause 11. The memory of any of Clauses 1 to 10, wherein the read multiplexer further comprises a sense amplifier.

[0077] Clause 12. The memory according to clause 11, further comprising:

[0078] a global read bit line; and

[0079] A transistor is coupled between the global read bit line and ground, wherein the sense amplifier includes a NAND gate configured to drive a gate of the transistor.

[0080] 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.

[0081] 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 in response to a binary state of a bit mask signal during the scan mode of operation.

[0082] Clause 15. A scanning method for a memory, the scanning method comprising:

[0083] asserting a write multiplexer clock signal simultaneously with asserting a read multiplexer clock signal during a scan mode of operation;

[0084] coupling a scan input signal to a first bit line through a write multiplexer in response to said assertion of said write multiplexer clock signal; and

[0085] The scan input signal from the first bit line is coupled to a global read bit line through a read multiplexer in response to the assertion of the read multiplexer signal.

[0086] Clause 16. The scanning method according to clause 15, further comprising:

[0087] A memory clock signal edge is received at a clock circuit, wherein the assertion of the write multiplexer clock signal and the assertion of the read multiplexer clock signal are performed in response to the memory clock signal edge.

[0088] Clause 17. The scanning method of Clause 16, wherein the assertion of the write multiplexer clock signal is also performed in response to assertion of a scan mode control signal.

[0089] Clause 18. The scanning method according to any one of clauses 15 to 17, further comprising:

[0090] A single-ended read of the first bit cell through a first bit line is performed by asserting a first word line of a first pair of word lines for the first bit cell during a first portion of a first memory clock cycle, wherein performing the single-ended read further comprises asserting the read multiplexer clock signal while the write multiplexer clock signal is not asserted.

[0091] Clause 19. The scanning method according to clause 18, further comprising:

[0092] Asserting both the first word line and the second word line of the first pair of word lines during a second portion of the first memory clock cycle to write to the first bit cell through the first bit line and through a first complementary bit line, wherein performing the write to the first bit cell further includes asserting the write multiplexer clock signal while the read multiplexer clock signal is not asserted.

[0093] Clause 20. A memory comprising:

[0094] a first switch configured to couple the write driver bit line to the first bit line in response to assertion of a write multiplexer clock signal;

[0095] Global read bit line;

[0096] 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 assertion of a read multiplexer clock signal; and

[0097] A clock circuit is configured to assert the write multiplexer clock signal substantially simultaneously with the read multiplexer clock signal during a scan mode of operation.

[0098] Clause 21. The memory of clause 20, further comprising:

[0099] a first transistor coupled between the global read bit line and ground, and wherein the sense amplifier comprises:

[0100] 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 turn on in response to assertion of the read multiplexer clock signal.

[0101] Clause 22. The memory of Clause 21, wherein the first logic gate comprises a NAND gate.

[0102] Clause 23. The memory of Clause 21, wherein the first transistor comprises an NMOS transistor, and wherein the second transistor comprises a PMOS transistor.

[0103] Clause 24. The memory of any one of clauses 20 to 23, wherein the first switch comprises a first send gate.

[0104] As those skilled in the art will understand by now and depending on the specific application at hand, many modifications, substitutions and changes may be made to the materials, devices, configurations and methods of using the apparatus of the present disclosure without departing from the scope of the present disclosure. In view of this, the scope of the present disclosure should not be limited to the specific implementations illustrated and described herein (as they are only some examples of the present disclosure), but should be fully equivalent to the attached claims 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 in response to a binary state of a scan input 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 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 assertion of a read multiplexer clock signal; and A clock circuit is 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 comprises a logic gate configured to assert the write multiplexer clock signal in response to assertion of the read multiplexer clock signal and a scan mode control signal during the scan mode of operation.

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 complementary scan input signal to control a binary state of a complementary write driver bit line during the scan mode of operation.

5. The memory of claim 4, wherein the write multiplexer is further configured to couple the complementary write driver bit line to a first complementary 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 complementary write driver bit line and the first complementary bit line.

7. The memory according to claim 5, further comprising: a first bit cell, the first bit cell comprising: a first pair of cross-coupled inverters having an output node for a first bit and a complementary output node for a complement of the first bit, a first access transistor coupled between the output nodes and the first bit line, and a second access transistor coupled between the complementary output node and the first complementary 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 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 assert both the first word line and the second word line to perform a differential write of a second bit to the first bit cell during a second portion of the first cycle of the memory clock signal.

8. The memory of claim 1, wherein the clock circuit is a self-timing clock circuit.

9. The memory of claim 7, wherein the first access transistor and the second access transistor each comprise an n-type metal oxide semiconductor (NMOS) transistor.

10. The memory according to claim 7, further comprising: a second bit cell comprising a third access transistor coupled between an output node of the second bit cell and the first bit line, and comprising a fourth access transistor coupled between a complementary output node of the second bit cell and the first complementary 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 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 of the second bit cell through the first complementary bit line.

11. The memory of claim 1 wherein the read multiplexer further comprises a sense amplifier.

12. The memory according to claim 11, further comprising: 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 in response to a binary state of a bit mask signal during the scan mode of operation.

15. A scanning method for a memory, the scanning method comprising: asserting a write multiplexer clock signal simultaneously with asserting a read multiplexer clock signal during a scan mode of operation; coupling a scan input signal to a first bit line through a write multiplexer in response to said assertion of said write multiplexer clock signal; as well as The scan input signal from the first bit line is coupled to a global read bit line through a read multiplexer in response to the assertion of the read multiplexer signal.

16. The scanning method according to claim 15, further comprising: A memory clock signal edge is received at a clock circuit, wherein the assertion of the write multiplexer clock signal and the assertion of the read multiplexer clock signal are performed in response to the memory clock signal edge.

17. The scanning method of claim 16, wherein the assertion of the write multiplexer clock signal is also performed in response to the assertion of a scan mode control signal.

18. The scanning method according to claim 15, further comprising: A single-ended read of the first bit cell through a first bit line is performed by asserting a first word line of a first pair of word lines for the first bit cell during a first portion of a first memory clock cycle, wherein performing the single-ended read further comprises asserting the read multiplexer clock signal while the write multiplexer clock signal is not asserted.

19. The scanning method according to claim 18, further comprising: Asserting both the first word line and the second word line of the first pair of word lines during a second portion of the first memory clock cycle to write to the first bit cell through the first bit line and through a first complementary bit line, wherein performing the write to the first bit cell 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 the write driver bit line to the first bit line in response to assertion of a write multiplexer clock signal; 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 assertion of a read multiplexer clock signal; and A clock circuit is 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 according to 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 turn on in response to assertion of the read multiplexer clock signal.

22. The memory of claim 21, wherein the first logic gate comprises a NAND gate. Door.

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.