Semiconductor device and method of operating the same
By introducing static random access memory circuits, sense amplifiers and multiplexers into semiconductor devices, and using timing delay circuits and shadow latches, the problem of unstable time maintenance of the output signal in the design test mode is solved, and the output Signal stability and similarity in normal operating modes improve the reliability and quality of the device.
Patent Information
- Application Number
- CN202311662981.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-06-08
- Filing Date
- 2023-12-06
- Publication Date
- 2024-10-08
AI Technical Summary
In the design test mode of existing semiconductor devices, the timing of the output signal is unstable, resulting in the problem of output maintenance degradation. It is difficult to maintain the normal operation timing of the signal under high integration density and fast performance requirements.
A semiconductor device is designed, including a static random access memory circuit, a sense amplifier and a multiplexer. Through a timing delay circuit and a shadow latch, it is ensured that the time of the output signal in the design test mode is maintained to be the same as in the normal operation mode. The output signals are similar, and a multiplexer is used to switch the outputs of the sense amplifier and shadow latch to achieve signal stability.
It effectively eliminates the output maintenance degradation, ensures that the time maintenance of the output signal in the design test mode is similar to that in the normal operation mode, and improves the reliability and quality of the semiconductor device.
Smart Images

Figure CN118748029A_ABST
Abstract
Description
Technical Field
[0001] An embodiment of the present disclosure relates to a semiconductor device and an operating method thereof, and more particularly to a semiconductor device having a design for testability circuit and an operating method thereof. Background Art
[0002] The semiconductor industry has experienced rapid growth due to continued improvements in the integration density of various electronic components, such as transistors, diodes, resistors, capacitors, etc. Generally, such improvements in integration density come from repeated reductions in minimum feature size, which allows more components to be integrated into a given area. Summary of the invention
[0003] A semiconductor device includes a memory circuit and a design for testability circuit. The memory circuit receives a clock signal and generates an output signal, and the memory circuit includes a timing delay circuit. The design for testability circuit includes a shadow latch. The design for testability circuit is used to: receive the output of the timing delay circuit, and generate a design for testability output signal through the shadow latch, wherein a first output of the output signal is maintained to be approximately equal to a second output of the design for testability output signal.
[0004] A semiconductor device includes a static random access memory circuit, a sense amplifier and a multiplexer. The static random access memory circuit includes a shadow latch that generates an output signal, and the static random access memory circuit includes a timing delay circuit, and the timing delay circuit is electrically coupled to at least one logic gate that generates an enable signal. The sense amplifier is electrically coupled to a bit cell and receives the enable signal and provides a sense amplifier output signal based on the bit cell. The multiplexer is used to: receive the sense amplifier output signal and the output of the master latch; and provide one of the sense amplifier output signal and the output of the master latch as an input to the shadow latch.
[0005] A method for operating a semiconductor device, the method comprising the following steps: receiving a clock signal and a DFT enable signal for a static random access memory circuit; generating an enable input for a shadow latch and an enable signal for a sense amplifier based on the clock signal and a timing delay circuit of the static random access memory circuit; and switching the output of the static random access memory circuit between the output of the sense amplifier and the DFT output via a multiplexer according to the DFT enable signal, wherein a first output of the static random access memory circuit in a DFT operation mode is maintained approximately equal to a second output of the static random access memory circuit in a normal operation mode. BRIEF DESCRIPTION OF THE DRAWINGS
[0006] The aspects of one embodiment of the present disclosure will be best understood from the following detailed description when read in conjunction with the accompanying drawings. Please note that, in accordance with standard practices in the industry, various features are not drawn to scale. In fact, the dimensions of the various features may be arbitrarily increased or reduced for clarity of discussion.
[0007] According to some embodiments, Figure 1 A schematic block diagram of a static random access memory (SRAM) circuit without output retention decay that implements design for test (DFT) mode scan write test (SWT) functionality is shown;
[0008] According to some embodiments of the present disclosure, Figure 2 Diagram Figure 1 The waveforms of the signals of the circuit shown in both normal operation mode and DFT mode;
[0009] According to some embodiments, Figure 3 A schematic block diagram illustrating another SRAM circuit without output sustain degradation implementing DFT mode SWT functionality;
[0010] According to some embodiments, Figure 4 The diagram is similar to Figure 3 A schematic block diagram of an SRAM circuit including an additional delay circuit is shown;
[0011] According to some embodiments of the present disclosure, Figure 5 Graphic via Figure 3 and Figure 4 The waveform of the signal generated by the circuit shown during operation in the DFT mode;
[0012] According to some embodiments, Figure 6 A schematic block diagram illustrating yet another SRAM circuit without output sustain decay implementing DFT mode SWT functionality;
[0013] According to some embodiments of the present disclosure, Figure 7 A flow chart illustrating an example method of operating the disclosed SRAM circuit described herein is shown.
[0014]
Explanation of symbols
[0015] 100:SRAM circuit
[0016] 102: Normal operation path
[0017] 106: Clock input signal
[0018] 108: Data input signal
[0019] 110:SWT permission signal
[0020] 112: Write enable signal
[0021] 114: Second NAND gate
[0022] 116: First NAND gate
[0023] 118: Timing delay circuit
[0024] 120: Sense amplifier enable signal
[0025] 122: First inverter
[0026] 124: Second inverter
[0027] 126: Bit unit
[0028] 128: Sense amplifier
[0029] 130: Sense amplifier latch
[0030] 132: Write circuit
[0031] 134: transistor / first transistor pair
[0032] 136: Logic Gates
[0033] 138: The third inverter
[0034] 140: Master latch
[0035] 142: Shadow latch
[0036] 144: transistor / second transistor pair
[0037] 146: Output signal
[0038] 200: Graphics
[0039] 202: Grouping
[0040] 204: Grouping
[0041] 300:SRAM circuit
[0042] 306: Input clock signal
[0043] 308: Input data signal
[0044] 310: Input SWT permission signal
[0045] 312: Input write enable signal
[0046] 314: Second NAND gate
[0047] 316: First NAND gate
[0048] 318: Timing delay circuit
[0049] 320: Sense amplifier enable signal
[0050] 322: First inverter
[0051] 324: Second inverter
[0052] 326:Bit unit
[0053] 328:Sense Amplifier
[0054] 330: Sense amplifier latch
[0055] 332: Write circuit
[0056] 334: first transistor pair
[0057] 336: Logic Gates
[0058] 338: The third inverter
[0059] 340: Master latch
[0060] 342: Shadow latch
[0061] 344: Second transistor pair
[0062] 345: AND Gate
[0063] 400:SRAM circuit
[0064] 406: Input clock signal
[0065] 408: Input data signal
[0066] 410: Input SWT permission signal
[0067] 412: Input write enable signal
[0068] 414: Second NAND gate
[0069] 416: First NAND gate
[0070] 418: Timing delay circuit
[0071] 422: First inverter
[0072] 424: Second inverter
[0073] 426:Bit unit
[0074] 428:Sense Amplifier
[0075] 430: Sense amplifier latch
[0076] 432: Write circuit
[0077] 434: first transistor pair
[0078] 436: Logic Gates
[0079] 438: The third inverter
[0080] 440: Master latch
[0081] 442: Shadow latch
[0082] 444: second transistor pair
[0083] 445: AND Gate
[0084] 448: Additional delay circuit
[0085] 500: Graphics
[0086] 502: Group
[0087] 504: Write cycle
[0088] 506: Group
[0089] 508: Write cycle
[0090] 600:SRAM circuit
[0091] 606: Input clock signal
[0092] 608: Input data signal
[0093] 610: Input SWT permission signal
[0094] 612: Input write enable signal
[0095] 614: Second NAND gate
[0096] 616: First NAND gate
[0097] 618: Timing delay circuit
[0098] 622: first inverter
[0099] 624: Second inverter
[0100] 626:Bit unit
[0101] 628:Sense amplifier
[0102] 632: Write circuit
[0103] 634: first transistor pair
[0104] 636: Logic Gates
[0105] 640: Master latch
[0106] 642: Shadow latch
[0107] 644: second transistor pair
[0108] 645: AND Gate
[0109] 646: Output signal
[0110] 647: Additional Buffer
[0111] 700: Method
[0112] 702: Operation
[0113] 704: Operation
[0114] 706: Operation
[0115] CLK: Input clock signal
[0116] CKD: Output clock signal
[0117] CKDB: Enable signal
[0118] D: Data input signal
[0119] Q: Output signal
[0120] SAE: Sense Amplifier Enable Signal
[0121] SAEB: Sense amplifier allows the signal to be logically inverted
[0122] SWT:SWT enable signal
[0123] WEB: Write enable signal DETAILED DESCRIPTION
[0124] The following disclosure provides many different embodiments or examples for implementing the different features of the provided subject matter. Specific examples of components and configurations will be described below to simplify an embodiment of the present disclosure. Of course, these are only examples and are not intended to be limiting. For example, a first feature in the subsequent description is formed above a second feature, or may include an embodiment in which the first feature and the second feature are formed in direct contact and may also include an embodiment in which an additional feature may be formed between the first feature and the second feature so that the first feature and the second feature cannot be directly contacted. In addition, the present disclosure may repeat reference numbers and / or letters in various examples. This repetition is for the purpose of simplicity and clarity and does not itself dictate the relationship between the various embodiments and / or configurations discussed.
[0125] Additionally, to facilitate description of the relationship of one element or feature to another element or feature(s) as illustrated in the figures, spatially relative terms, such as "below," "beneath," "lower," "above," "upper," "top," "bottom," and the like, may be used herein. Spatially relative terms are intended to encompass different orientations of the device in use or operation in addition to the orientation depicted in the figures. The device may be otherwise oriented (rotated 90 degrees or at other orientations), and the spatially relative descriptors used herein should be similarly interpreted accordingly.
[0126] Static random access memory circuits provide an efficient and reliable solution for high-speed data storage in a wide range of applications, such as computing devices, embedded systems, and communications devices. One advantage of SRAM circuits is that they can retain data without constant refresh, thereby providing faster access times and lower power consumption than alternative memory technologies. In addition, SRAM circuits often use advanced design techniques, including error correction mechanisms and redundancy, to ensure data integrity and improve overall system performance.
[0127] Circuit testing and verification techniques such as design for testability techniques can be used to test SRAM circuits during and after manufacturing. These methods can be used to facilitate the identification and correction of manufacturing defects, thereby ensuring a high yield and cost-effective production process. Testing techniques such as DFT may involve the implementation of additional logic circuit elements such as scan chains and shadow latches to improve testability and fault detection. By enabling comprehensive testing of memory arrays, these techniques help maintain the reliability and quality of SRAM circuits while adapting to the ever-increasing demand for higher memory density and faster performance in modern electronic devices.
[0128] However, challenges arise when implementing these SRAM circuits because care must be taken to ensure that the outputs of the DFT portion of the circuit operate with timing similar to the outputs during normal operation of the circuit. Alternative approaches utilizing the techniques described herein must utilize additional circuitry external to the SRAM circuit to compensate for the narrow time window of valid data when the SRAM circuit is operated in DFT mode (e.g., implementing an SWT procedure). The narrow time window for reading valid data may be referred to as output sustain decay. The techniques described herein address these and other issues by providing SRAM circuits that utilize a timing path through the SRAM circuit that is similar to the path used in the SRAM circuit during normal operation. This ensures that the output of the SRAM circuit has an output sustain time similar to the output sustain time under normal operating conditions when operating in DFT mode, thereby effectively eliminating output sustain decay.
[0129] According to some embodiments, Figure 1A schematic block diagram of an SRAM circuit 100 without output maintenance decay that implements DFT mode SWT functionality is shown. An SRAM circuit is a type of memory circuit that can be used in a computer system. An SRAM circuit includes volatile memory elements (e.g., bit cells 126) that can store digital data as long as power is supplied. Each of the components shown in the SRAM circuit 100 can receive power from one or more voltage sources. The SRAM circuit 100 may include one or more logic gates and subcircuits, each of which may be constructed from one or more logic gates. A logic gate is an electronic device that performs a logic operation on one or more input signals to produce a single output signal.
[0130] Various embodiments of the circuits and logic gates implementing the SRAM circuit 100 may include various transistors. The transistors described herein may be of a certain type (n-type or p-type), but the embodiments are not limited thereto. The transistors may be any suitable type of transistor, including but not limited to metal oxide semiconductor field effect transistors (MOSFET), complementary metal oxide semiconductor (CMOS) transistors, P-channel metal oxide semiconductors (PMOS), N-channel metal oxide semiconductors (NMOS), bipolar junction transistors (BJT), high voltage transistors, high frequency transistors, P-channel and / or N-channel field effect transistors (PFET / NFET), FinFETs, planar MOS transistors with raised source / drain, nanosheet FETs, nanowire FETs, or the like.
[0131] As shown, the SRAM circuit 100 receives a clock signal 106 (shown as "CLK"), a data input signal 108 (shown as "D"), a SWT enable signal 110 (shown as "SWT", and sometimes referred to as a "DFT enable signal"), and a write enable signal 112 (shown as "WEB"). In this example, the write enable signal 112 may be an "active low" signal. An active low signal refers to a type of signal that is considered to be active or valid when the signal is at a logic level of a low or "zero" voltage (e.g., a ground voltage). In other words, the signal is active or true when it is in a low state, and is inactive or false when it is in a high state. The write enable signal 112 is a signal that initiates a write operation to a bit cell 126 of the SRAM circuit 100. The SWT enable signal 110 indicates that the DFT mode of the SRAM circuit 100 is activated, and various components of the SRAM circuit 100 are activated as described herein to perform SWT and / or other DFT functionality. In this example, the SWT enable signal 110 may be an active high signal. An active high signal refers to a type of signal that is considered active or valid when the signal is at a logic level that is high or "one" voltage (e.g., approximately close to one or more logic supply voltages of the SRAM circuit). In other words, the signal is active or true when in a high state and inactive or false when in a low state.
[0132] The clock signal 106 may be used to synchronize the timing of various components within the SRAM circuit. The clock signal 106 may be a regularly repeating signal (e.g., a square wave signal) that cycles between a high voltage level and a low voltage level at a predetermined frequency. The clock signal 106 may be generated by an oscillator circuit that provides the clock signal to the components of the SRAM circuit 100. As shown, the clock signal is provided as an input to the first NAND gate 116 via a negative input terminal (e.g., via an inverter). The output of the first NAND gate 116 is provided as a first input to the second NAND gate 114.
[0133] The second NAND gate 114 receives the output of the inverter 122 as a second input (described in more detail herein in conjunction with the timing delay circuit) and generates a corresponding signal that is provided as a second input to the first NAND gate 116. A feedback loop is created by the first NAND gate 116, the timing delay circuit 118, and the second NAND gate 114 in the NAND output signal at the output of the first NAND gate 116, which is a delayed version of the input clock signal. This output signal generated by the first NAND gate 116 is provided as an input to the timing delay circuit and as an input to the logic gate 136 that mediates write operations and DFT mode operations, as described herein.
[0134] The timing delay circuit 118 is a circuit that receives the output signal generated by the first NAND gate 116 and generates the sense amplifier enable signal 120. The timing delay circuit 118 can be any type of electronic circuit that introduces a specific delay between the input signal and the output signal. The timing delay circuit 118 can be used to generate a delayed version of the output of the second NAND gate 116, which itself is a logically delayed version of the clock signal 106. In this example configuration, the timing delay circuit 118 generates an enable signal for the sense amplifier 128. For example, the timing delay circuit 118 can generate the sense amplifier enable signal 120 so that the sense amplifier 128 is enabled after the data from the bit cell 126 has been correctly stored and stabilized.
[0135] As shown, the sense amplifier enable signal 120 (shown as "SAE") is provided as an input to the sense amplifier 128, the first inverter 122, and the second inverter 124. The second inverter 124 provides a corresponding output that is the logical inverse of the sense amplifier enable signal 120 (shown as "SAEB") as an enable input to the sense amplifier latch 130. The first inverter 122 provides the same logic signal as SAEB as an input to the second NAND gate 114 and as an input to the third inverter 138, which generates a logically inverted version of the SAEB signal (shown as CKDB) as an enable input to the shadow latch 142. The CKDB signal (e.g., the enable signal of the shadow latch 142) has the same logic state as the sense amplifier enable signal 120, with a delay caused by the first inverter 122 and the third inverter 138.
[0136] The bit cell 126 may be a memory cell that can be addressed and manipulated using components of the SRAM circuit 100. The bit cell 126 may be a memory cell that can store a single bit of binary data. The bit cell 126 may have any suitable configuration, and any type of bit cell may be used to implement the bit cell 126 in the SRAM circuit 100. For example, in some implementations, the bit cell 126 may include a plurality of transistors configured to form a bistable latch that can hold a binary value of 0 or 1. The data stored in the bit cell 126 may be modified by the write circuit 132 (e.g., a write operation) and accessed by the sense amplifier 128 (e.g., a read operation). When writing data to the SRAM, the bit cell is set to a desired binary value, and when reading data from the SRAM, the bit cell is accessed and the stored binary value is retrieved.
[0137] The sense amplifier 128 of the SRAM circuit 100 is an electronic circuit that amplifies and detects a small voltage difference between two complementary bit lines in the bit cell 126. The sense amplifier 128, when enabled (e.g., in a logic high state) by the sense amplifier enable signal 120, can amplify the voltage difference between the two bit lines of the bit cell 126 corresponding to the stored binary data and convert the voltage difference into a logic level output signal, which is provided as an input to the sense amplifier latch 130. When the SRAM circuit 100 is operating in a normal mode (e.g., a “mission” mode), the sense amplifier latch 130 provides the output of the SRAM circuit 100 via the transistor 134.
[0138] The write circuit 132 of the SRAM circuit 100 may be an electronic circuit that can write data into the bit cell 126. Although not shown in the figure for visual clarity, Figure 1 1, but in some implementations, the write circuit 132 may receive the write enable signal 112 (or a logical inverse or derivative signal generated by the write enable signal 112) and may be enabled or activated. The write circuit 132 may include various logic components, such as a write driver and a bit line precharge circuit. To write data to the bit cell 126, the write circuit 132 (e.g., after being enabled by the enable signal, etc.) may receive the data at the output of the master latch 140. The write driver of the write circuit 132 may apply a voltage to the bit cell 126, which causes the bit cell 126 to change its state to a desired binary value.
[0139] The bit line precharge circuitry of the write circuit 132 can ensure that the other complementary bit line of the bit cell 126 remains at the precharge voltage level to avoid any interference between the two bit lines. As described herein, once data has been written to the bit cell 126, the data can be accessed by the sense amplifier 128 via the sense amplifier latch 130. In some implementations, various circuits can be implemented in the SRAM circuit 100 to prevent reading of the bit cell 126 during a write operation, or to prevent writing of the bit cell 126 during a write operation. In some implementations, the write circuit 132 can also be enabled during a SWT operation (e.g., when the SWT enable signal 110 is active). For example, and as will be described in more detail herein, the DFT mode of the SRAM circuit 100 can be used to write predetermined binary data into the bit cell 126, which can then be scanned out and compared to an expected pattern to evaluate the SRAM circuit 110.
[0140] Each of the master latch 140, the shadow latch 142, and the sense amplifier latch 130 may receive at least two input signals and provide one output signal. Each of the master latch 140, the shadow latch 142, and the sense amplifier latch 130 may be an electronic circuit that can store a single bit of binary data. The single bit has two stable states determined by the input signal and the enable signal. Each of the master latch 140, the shadow latch 142, and the sense amplifier latch 130 may receive a low-state active enable signal represented by a circle at the lower left corner of the corresponding latch. When the enable signal of the corresponding latch is at a logic low (e.g., valid), the output of the corresponding latch (e.g., the signal at the upper right corner of the corresponding latch) is set to match the input of the corresponding latch (e.g., the signal at the upper left corner of the corresponding latch). The output of the latch maintains its current state until the next input signal changes, or until the enable signal changes. If the enable signal is logic high (ie, inactive), the output of the latch remains unchanged, even if the set input changes state.
[0141] The SRAM circuit 100 includes at least one output signal 146, shown as "Q" in the figure. The output signal 146 can be selected by a multiplexer formed by transistors 134 and 144. The multiplexer can be a two-input multiplexer and can be selected based in part on a DFT enable signal (e.g., an SWT enable signal, another signal that is valid when the SRAM circuit 100 is in DFT mode, etc.).
[0142] The first transistor 134 and the second transistor 144 can thus together form a two-input four-transistor multiplexer that enables selection between the output of the shadow latch 142 and the output of the sense amplifier latch 130, thereby defining two timing paths (normal operation path 102, DFT mode path 104) through the SRAM circuit, as shown. The four-transistor multiplexer circuit may include two pairs of complementary transistors (e.g., a first transistor pair 134 and a second transistor pair 144). The first transistor pair 134 and the second transistor pair 144 are each shown as a PMOS transistor and an NMOS transistor. The first transistor pair 134 acts as a switch for the output of the sense amplifier latch 130, and the second transistor pair 144 acts as a switch for the output of the shadow latch 142. The transistor pairs 134 and 144 are linked in series, thereby forming a common node provided as an input to the buffer, which provides an output signal 146 of the SRAM circuit 100.
[0143] As shown, two timing paths are defined through the SRAM circuit 100. The first timing path 102 is the timing path through which the output data propagates during normal operation of the SRAM circuit 100 (e.g., when the SWT enable signal 110 is logic low and the clock signal 106 oscillates normally). In such implementations, the first transistor pair 134 is turned on and conductive when the second transistor pair 144 is turned off and non-conductive, thus permitting the output of the sense amplifier latch 130 to propagate as the output signal 146 of the SRAM circuit 100. As shown, the first timing path 102 begins with the clock signal, which propagates through the first and second NAND gates 116 and 114, respectively, and through the timing delay circuit 118 that generates the sense amplifier enable signal 120. The sense amplifier enable signal 120 can enable the sense amplifier 128 according to the timing delay circuit 118 and propagate through the second inverter 124, thereby providing an inverted enable signal to the sense amplifier latch 130.
[0144] When sense amplifier 128 is enabled, sense amplifier latch 130 is therefore also enabled and changes state according to the output of sense amplifier 128 (e.g., based on the data stored in bit cell 126). When sense amplifier enable signal 120 returns to logic low, sense amplifier 128 is disabled and the SAEB signal transitions to logic high, causing sense amplifier latch 130 to maintain the output value of sense amplifier 128 as output. Because transistor pair 134 is conductive, the output of sense amplifier latch 130 propagates through the buffer as output signal 146 of the circuit, completing the first timing path.
[0145] The second timing path 104 is a timing path through which output data propagates during a DFT operation (e.g., scan write test) of the SRAM circuit 100 (e.g., when the SWT enable signal 110 is logic high and the clock signal 106 oscillates normally). In such implementations, the first transistor pair 134 is turned off and non-conductive when the second transistor pair 144 is turned on and conductive, thus permitting the output of the shadow latch 142 to propagate as the output signal 146 of the SRAM circuit 100.
[0146] To ensure that the output of the SRAM circuit remains substantially the same during operation of the first timing path 102 and the second timing path 104, the SRAM circuit 100 is configured so that the second timing path 104 also propagates through the timing delay circuit 118, which manages when the sense amplifier 128 is enabled during the normal operating mode, as described herein. As shown, the sense amplifier enable signal 120 propagates through the first inverter 122 and the third inverter 138, thereby generating an enable signal (shown as "CKDB") for the shadow latch 142.
[0147] In the DFT mode of operation, the SWT 110 is set to a logic high state, causing the logic gate 136 to activate the enable signal for the master latch 140. The master latch 140 can be used to perform a write operation during a write mode (e.g., when the write enable signal 112 is logic low), or to perform a SWT operation during the DFT mode of operation. In this example, the logic gate includes an OR gate that receives a negative input of the write enable signal 112 (which is itself an active low signal) and the SWT 110. When either or both of the SWT enable signal 110 or the write enable signal are active, the OR gate of the logic gate 136 produces a logic high output.
[0148] The output of the OR gate of logic gate 136 is provided as an input to the AND gate of logic gate 136. The AND gate of logic gate 136 receives a second input from the output of first NAND gate 116 (e.g., the same signal provided as an input to timing delay circuit 118). Thus, when either or both of SWT enable signal 110 or write enable signal 112 are active and the other is a logic low signal, logic gate 136 generates an output clock signal (shown as "CKD"). Master latch 140 receives data provided via data input signal 108 and propagates the data to the output of master latch 140 according to clock signal CKD (e.g., when clock signal CKD is logic low).
[0149] In write mode (e.g., write enable signal 112 is logic low), the output of master latch 140 is provided as an input to write circuit 132, which can update the data in bit cell 126 as described herein. The output of master latch 140 is provided as a set input to shadow latch 142. When SWT enable signal 110 is logic high (e.g., write mode is in effect, etc.), first transistor pair 134 is turned off and non-conductive, while second transistor pair 144 is turned on and conductive. Shadow latch 142 receives CKDB signal as enable input as described herein. When CKDB signal is logic low, shadow latch 142 propagates its input (e.g., output of master latch 140) to its output. Because second transistor pair 144 is turned on and conductive when SRAM circuit 100 operates in DFT mode, the output of shadow latch 142 propagates through second transistor pair 144 and buffer as output signal 146 of SRAM circuit 100. As shown, because shadow latch 142 is enabled based on the output of timing delay circuit 118, the output of SRAM circuit 100 when operating in DFT mode (eg, second timing path 104) is approximately equal to the output of SRAM circuit 100 when operating in normal mode.
[0150] Although SRAM circuit 100 is shown and described as providing an output of a single bit of information, it should be understood that the techniques described herein are presented in a manner for simplicity. In fact, it should be understood that any latch, bit cell, timing delay circuit, write circuit, input signal, or output signal may include a number of parallel signals (e.g., corresponding to bytes, words, double words, vectors, etc.) propagated according to the techniques described herein.
[0151] exist Figure 1 The components described in the context of the reference Figure 2 , according to some embodiments of the present disclosure, illustrates a diagram showing both a normal operating mode and a DFT mode Figure 1 200 of waveforms of signals of the SRAM circuit 100 of the SRAM circuit 100. In the graph 200, the signals grouped according to 202 show waveforms of the input clock signal CLK (e.g., the clock signal 106), the SAEB signal (e.g., the output signal 120 of the timing delay circuit 118 propagated through the second inverter 124), and the output signal Q of the SRAM circuit (e.g., the output signal 146) during the normal mode operation of the SRAM circuit 100. As shown, when the clock signal CLK transitions to a logic high state, the timing delay circuit 118 generates the sense amplifier enable signal 120 (reflected as the logic inverse signal SAEB during the logic low period) that transitions to a logic high around the falling edge of the clock signal CLK. As described herein, this causes the sense amplifier latch 130 to change state, which is reflected as the shaded area of the output signal Q. When the transition of the sense amplifier latch is completed, the output signal generated by the sense amplifier latch 130 remains at the output signal Q because the SAEB signal has returned to a logic high.
[0152] In graph 200, signals grouped according to 204 show waveforms of signal CKD (e.g., clock signal 106 gated by first NAND gate 116 and logic gate 136), CKDB signal (e.g., output signal of third inverter 138, which matches the logic state of the output of timing delay circuit 118 including a small delay), and output signal Q of the SRAM circuit (e.g., output signal 146) during DFT mode operation of the SRAM circuit 100. As shown, the generated CKDB signal generated as the output of the first inverter 122 is substantially synchronous with the SAEB signal. The CKDB signal causes the shadow latch 130 to change state in a manner substantially synchronous with when the SRAM circuit 100 operates in the normal operating mode, reflected as the shaded area of the output signal Q. Therefore, the output of the SRAM circuit 100 when operating in the DFT mode remains approximately equal to the output of the SRAM circuit 100 when operating in the normal mode.
[0153] According to some embodiments, Figure 3A schematic block diagram of another SRAM circuit 300 without output maintenance decay that implements DFT mode SWT functionality is shown. As shown, the SRAM circuit 300 can be similar to the SRAM circuit 100, and any components described in conjunction with the SRAM circuit 300 can implement similar functionality and include those in conjunction with the SRAM circuit 100. Figure 1 Any structures similar to the corresponding components described.
[0154] For example, the input clock signal 306, the input data signal 308, the input SWT enable signal 310, and the input write enable signal 312 received by the SRAM circuit 300 may be similar to Figure 1 The clock signal 106, the input data signal 108, the input SWT enable signal 110 and the input write enable signal 112. The first NAND gate 316, the second NAND gate 314, the timing delay circuit 318, the bit cell 326, the sense amplifier 328, the write circuit 332, the logic gate 336, the sense amplifier latch 330, the master latch 340, the shadow latch 342, the first inverter 322, the second inverter 324, the third inverter 338, the first transistor pair 334 and the second transistor pair 344 can each be similar to the following and include any of the same structures as the following and implement the same functionality as the following: Figure 1 The first NAND gate 116, the second NAND gate 114, the timing delay circuit 116, the bit cell 126, the sense amplifier 128, the write circuit 132, the logic gate 136, the sense amplifier latch 130, the master latch 140, the shadow latch 142, the first inverter 122, the second inverter 124, the third inverter 138, the first transistor pair 134 and the second transistor pair 144.
[0155] In addition to the aforementioned components, circuit 300 includes an AND gate 345 that gates the output of timing delay circuit 318 with the negative input of SWT enable signal 310. As shown, AND gate 345 generates a signal similar to Figure 1 As shown, due to the negative input of SWT enable signal 310, sense amplifier 328 is de-enabled when circuit 300 operates in DFT mode (e.g., SWT enable signal is at logic high), but is enabled when SWT enable signal is at logic low state as shown in combination with Figure 1 This reduces the overall power consumption of the SRAM circuit 300 by deactivating the sense amplifier 328 when the SRAM circuit 300 is in the DFT mode of operation.
[0156] According to some embodiments, Figure 4 The diagram is similar to Figure 3FIG. 4 is a schematic block diagram of an SRAM circuit 400 including an additional delay circuit of the SRAM circuit 300 shown in FIG. 4. Any components described in conjunction with the SRAM circuit 400 may implement similar functionality and include components in conjunction with the SRAM circuit 400. Figure 3 For example, the input clock signal 406, the input data signal 408, the input SWT enable signal 410, and the input write enable signal 412 received by the SRAM circuit 400 may be similar to Figure 3 The input clock signal 306, the input data signal 308, the input SWT enable signal 310 and the input write enable signal 312.
[0157] The first NAND gate 416, the second NAND gate 414, the timing delay circuit 418, the bit cell 426, the sense amplifier 428, the write circuit 432, the logic gate 436, the sense amplifier latch 430, the master latch 440, the shadow latch 442, the first inverter 422, the second inverter 424, the third inverter 438, the first transistor pair 434, the second transistor pair 444, and the AND gate 445 may each be similar to and include any of the same structures and implement the same functionality as the following: Figure 3 The first NAND gate 316, the second NAND gate 314, the timing delay circuit 318, the bit cell 326, the sense amplifier 328, the write circuit 332, the logic gate 336, the sense amplifier latch 330, the master latch 340, the shadow latch 342, the first inverter 322, the second inverter 324, the third inverter 338, the first transistor pair 334, the second transistor pair 344 and the AND gate 345.
[0158] As shown, the SRAM circuit 400 includes an additional delay circuit 448, as shown, which receives the output of the first NAND gate 416 and provides a delayed input to the AND gate of the logic gate 436. As shown, in this example implementation, the additional delay circuit 448 includes an OR gate that receives the output of the first NAND gate 416. To facilitate the entire example, two buffers in series receive the output of the first NAND gate 416 in parallel with the OR gate and provide a second input to the OR gate. This effectively causes the CKD signal to have a delayed high state when either or both of the SWT enable signal 410 or the write enable signal 412 are asserted. In combination Figure 5 Example waveforms demonstrating latency are depicted.
[0159] refer to Figure 5 According to some embodiments of the present disclosure, a diagram is shown showing the operation of the DFT mode via Figure 3 and Figure 4500 is a graph of waveforms of signals generated by SRAM circuit 300 and SRAM circuit 400. As shown, the signals in group 502 are generated by Figure 3 The signal generation of the SRAM circuit 300 of FIG. 400, wherein the LT / LO signal corresponds to the output of the shadow latch 340. As shown, due to the short time window between the falling edge of the CKDB signal and the falling edge of the CKD signal, the write period 504 of the shadow latch 340 is narrow. Due to the added delay reflected as the signal of the group 506 generated by the SRAM circuit 400, the logic high period of the CKD signal is extended relative to the CKDB signal, thereby extending the write period 508 to be longer than the write period 504. This ensures timing compliance with the operating tolerance of the shadow latch 442. The operating tolerance of a latch refers to the range of input signal voltage or timing variations that the latch can withstand while still operating correctly.
[0160] According to some embodiments, Figure 6 A schematic block diagram of yet another SRAM circuit 600 that implements DFT mode SWT functionality without output hold decay is shown. As shown, SRAM circuit 600 is similar to SRAM circuit 300, but includes one less latch, thereby reducing the overall circuit area. In particular, SRAM circuit 600 lacks the sense amplifier latch 300 of SRAM circuit 300, and shadow latch 642 is instead shared by both sense amplifier 628 and master latch 640. Any of the components described in conjunction with SRAM circuit 600 may implement similar functionality and include those in conjunction with Figure 3 For example, the input clock signal 606, the input data signal 608, the input SWT enable signal 610, and the input write enable signal 612 received by the SRAM circuit 600 may be similar to Figure 3 The input clock signal 306, the input data signal 308, the input SWT enable signal 310 and the input write enable signal 312.
[0161] The first NAND gate 616, the second NAND gate 614, the timing delay circuit 618, the bit cell 626, the sense amplifier 628, the write circuit 632, the logic gate 636, the master latch 640, the shadow latch 642, the first inverter 622, the second inverter 624, the first transistor pair 634, the second transistor pair 644, and the AND gate 645 may each be similar to and include any of the same structures and implement the same functionality as the following: Figure 3The first NAND gate 316, the second NAND gate 314, the timing delay circuit 318, the bit unit 326, the sense amplifier 328, the write circuit 332, the logic gate 336, the master latch 340, the shadow latch 342, the first inverter 322, the second inverter 324, the first transistor pair 334, the second transistor pair 344 and the AND gate 345.
[0162] As shown, the third inverter 338 has been removed from the circuit, and the output of the AND gate 645 is provided as an input to an additional buffer 647 before propagating through the second inverter 624. In this example implementation, the shadow latch 642 is combined with Figure 3 To implement this example implementation, a multiplexer implemented by first transistor pair 634 and second transistor pair 644 is positioned in SRAM circuit 600 to switch the input of shadow latch 642 rather than switching output signal 646 of SRAM circuit 600.
[0163] When the SRAM circuit 600 is in a normal operation mode (e.g., the SWT enable signal 610 is logic low), the first transistor pair 634 is enabled and the signal from the sense amplifier 628 is propagated to the shadow latch 642 (e.g., the shadow latch acts like a sense amplifier latch). When the SRAM circuit 600 is in a DFT operation mode (e.g., the SWT enable signal 610 is logic high), the first transistor pair 634 is disabled and non-conductive, while the second transistor pair 644 is enabled and conductive, so that the signal from the master latch 640 is propagated to the shadow latch 642 (e.g., the shadow latch acts like a sense amplifier latch). Figure 1 The additional buffer 647 creates additional delay to compensate for timing variations in the circuit configuration of the SRAM circuit 600. The signal propagating through the shadow latch 642 (e.g., a signal from the sense amplifier 628 or the master latch 640) is provided as an output signal 646 of the SRAM circuit 600.
[0164] According to some embodiments of the present disclosure, Figure 7 A flow chart of an example method 700 of operating the disclosed SRAM circuit 600 is shown. The method 700 may be used to operate an SRAM device (e.g., the SRAM circuit 100, the SRAM circuit 300, the SRAM circuit 400, the SRAM circuit 600, etc.) wherein the output maintenance when operating in the DFT mode is approximately equal to the output maintenance during the normal operating mode. For example, at least some of the operations described in the method 700 use Figure 1 , Figure 3 , Figure 4 and Figure 6Please note that method 700 is only an example and is not intended to limit one embodiment of the present disclosure. Accordingly, please understand that additional operations may be performed in Figure 7 700 are provided before, during, and after, and some other operations may only be briefly described herein.
[0165] In a brief overview, method 700 begins with operation 702 of receiving a clock signal and a DFT enable signal (e.g., SWT enable signal) of an SRAM circuit. Method 700 continues with operation 704 of generating an enable input for a shadow latch and an enable signal for a sense amplifier based on the clock signal and a timing delay circuit of the SRAM circuit. Method 700 ends with operation 706 of switching an output of the SRAM circuit between an output of the sense amplifier and a DFT output via a multiplexer according to the DFT enable signal. A first output of the SRAM circuit in a DFT operation mode remains approximately equal to a second output of the SRAM circuit in a normal operation mode.
[0166] Referring to operation 702, a clock signal (e.g., clock signal 106) and a DFT enable signal (e.g., SWT enable signal 110) of an SRAM circuit (e.g., SRAM circuit 100, 300, 400, 600, etc.) are received. The clock signal may be provided via one or more oscillator circuits. The SWT enable signal may be provided as an input to one or more logic gates (e.g., logic gate 136, AND gate 345, etc.) that cause the SRAM circuit to implement a DFT operating mode. The SWT enable signal may be received by components of the SRAM circuit from one or more control circuits.
[0167] Referring to operation 704, an enable input (e.g., CKDB signal) for a shadow latch (e.g., shadow latch 142) and an enable signal (e.g., sense amplifier enable signal 120) for a sense amplifier (e.g., sense amplifier 128) are generated based on the clock signal and a timing delay circuit (e.g., timing delay circuit 118, etc.) of the SRAM circuit. The enable input for the shadow latch may be generated based on an output of the timing delay circuit. For example, the input of the shadow latch may be a logic version of a buffered signal generated by the output of the timing circuit. The enable signal for the sense amplifier may be synchronized with (e.g., have the same logic state as) the enable input for the shadow latch. The enable signal for the sense amplifier may cause the sense amplifier to be enabled and read data from at least one bit cell.
[0168] Referring to operation 706, an output of the SRAM circuit is switched between an output of the sense amplifier (e.g., via the sense amplifier latch 130) and a DFT output (e.g., the output of the shadow latch 142) via a multiplexer (e.g., a multiplexer implemented by the first transistor pair 134 and the second transistor pair 144) according to the DFT enable signal. In some implementations, the DFT output may be provided via a master latch (e.g., the master latch), and the multiplexer switches the output of the SRAM circuit by switching the input of the shadow latch (e.g., as combined with Figure 6 In these implementations, the output of the shadow latch (eg, shadow latch 642) is provided as the output of the SRAM circuit.
[0169] In one aspect of the present disclosure, a semiconductor device is disclosed. The semiconductor device includes a memory circuit, the memory circuit is used to receive a clock signal and generate an output signal. The memory circuit includes a timing delay circuit. The semiconductor device includes a DFT circuit with a shadow latch. The DFT circuit can receive the output of the timing delay circuit and generate a DFT output signal via the shadow latch. A first output of the output signal is maintained to be approximately equal to a second output of the DFT output signal.
[0170] In some embodiments, the design for testability circuit is enabled after receiving a scan write test enable signal.
[0171] In some embodiments, the semiconductor device further includes a multiplexer that receives the output signal and the design for testability output signal and provides one of the output signal or the design for testability output signal to the output node.
[0172] In some embodiments, the design for testability circuit includes at least one inverter that receives an output of the timing delay circuit and generates an input of the shadow latch.
[0173] In some embodiments, the semiconductor device further includes a sense amplifier circuit that generates an output signal via at least one latch.
[0174] In some embodiments, the sense amplifier circuit receives the output of the timing delay circuit as an enable signal.
[0175] In some embodiments, the semiconductor device further includes at least one logic gate that receives the output of the timing delay circuit and the scan write test enable signal and provides the enable signal to the sense amplifier circuit.
[0176] In some embodiments, the semiconductor device further includes a write circuit and a master latch. The write circuit writes data to at least one bit cell. The master latch receives an input signal and provides output data to the write circuit.
[0177] In some embodiments, the output of the master latch is provided as an input to a shadow latch of the design for testability circuit.
[0178] In some embodiments, the enable input of the master latch is generated by a plurality of logic gates, and the logic gates provide a clock delay that increases the write data cycle of the shadow latch according to a predetermined tolerance.
[0179] In another aspect of the present disclosure, another semiconductor device is disclosed. The semiconductor device includes an SRAM circuit, the SRAM circuit including a shadow latch for generating an output signal. The SRAM circuit includes a timing delay circuit, the timing delay circuit electrically coupled to at least one logic gate that generates an enable signal. The semiconductor device includes a sense amplifier electrically coupled to the bit cell. The sense amplifier can receive the enable signal and provide a sense amplifier output signal based on the bit cell. The semiconductor device includes a multiplexer, the multiplexer is used to receive the sense amplifier output signal and the output of the master latch and provide one of the sense amplifier output signal and the output of the master latch as an input to the shadow latch.
[0180] In some embodiments, the master latch is clocked with a signal generated by a plurality of logic gates based on at least one clock signal and at least one enable signal.
[0181] In some embodiments, the at least one enable signal includes one or more of a scan write test enable signal or a write enable signal.
[0182] In some embodiments, at least one logic gate is an AND gate, and the enable signal is generated based on the output of the timing delay circuit as an output of the AND gate.
[0183] In some embodiments, the AND gate further receives a scan write test enable signal as an input.
[0184] In some embodiments, the shadow latch is clocked using a clock signal generated based on an output of the timing delay circuit.
[0185] In some embodiments, the semiconductor device further includes at least one buffer connected in series with the at least one inverter, the at least one buffer receiving an output of the timing delay circuit and the at least one inverter generating a clock signal for the shadow latch.
[0186] In some embodiments, the multiplexer is controlled based at least in part on a scan write test enable signal.
[0187] In another aspect of the present disclosure, a method is disclosed. The method includes receiving a clock signal and a DFT enable signal for an SRAM circuit. The method includes generating an enable input for a shadow latch and an enable signal for a sense amplifier based on the clock signal and a timing delay circuit of the SRAM circuit. The method includes switching an output of the SRAM circuit between an output of the sense amplifier and a DFT output via a multiplexer according to the DFT enable signal. A first output of the SRAM circuit in a DFT operating mode is maintained approximately equal to a second output of the SRAM circuit in a normal operating mode.
[0188] In some embodiments, the step of switching the output of the SRAM circuit includes the step of switching an input to a shadow latch that generates the output of the SRAM circuit.
[0189] As used herein, the terms "about" and "approximately" generally mean the value described plus or minus 10%. For example, about 0.5 may include 0.45 and 0.55, about 10 may include 9 to 11, and about 1000 may include 900 to 1100.
[0190] The foregoing summarizes the features of several embodiments so that those skilled in the art can better understand the aspects of an embodiment of the present disclosure. Those skilled in the art should understand that they can easily use the present disclosure as a basis for designing or modifying other processes and structures for achieving the same purposes and / or achieving the same advantages as the embodiments described herein. Those skilled in the art should also recognize that such equivalent constructions do not depart from the spirit and scope of an embodiment of the present disclosure, and that those skilled in the art can make various changes, substitutions, and modifications herein without departing from the spirit and scope of an embodiment of the present disclosure.
Claims
1. A semiconductor device, characterized in that: The semiconductor device comprises: a memory circuit configured to receive a clock signal and generate an output signal, the memory circuit comprising a timing delay circuit; and A design for testability circuit comprising a shadow latch, the design for testability circuit being configured to: receiving an output of the timing delay circuit; and A design for testability output signal is generated via the shadow latch, wherein a first output of the output signal is maintained to be approximately equal to a second output of the design for testability output signal.
2. The semiconductor device according to claim 1, wherein The design for testability circuit includes at least one inverter, and the at least one inverter is used to receive the output of the timing delay circuit and generate an input of the shadow latch.
3. The semiconductor device according to claim 1, wherein The semiconductor device further comprises: a write circuit for writing data into at least one bit cell; and A master latch is used to receive an input signal and provide output data to the write circuit.
4. The semiconductor device according to claim 3, wherein An enable input of the master latch is generated by a plurality of logic gates, and the logic gates are used to provide a clock delay that increases a write data cycle of the shadow latch according to a predetermined tolerance.
5. A semiconductor device, characterized in that: The semiconductor device comprises: a static random access memory circuit comprising a shadow latch for generating an output signal, the static random access memory circuit comprising a timing delay circuit electrically coupled to at least one logic gate for generating an enable signal; a sense amplifier electrically coupled to a bit cell and configured to receive the enable signal and provide a sense amplifier output signal based on the bit cell; A multiplexer, the multiplexer being configured to: receiving the sense amplifier output signal and an output of a master latch; and One of the sense amplifier output signal and the output of the master latch is provided as input to the shadow latch.
6. The semiconductor device according to claim 5, wherein wherein the master latch is clocked by a signal generated by a plurality of logic gates based on at least one clock signal and at least one enable signal, The at least one enable signal includes one or more of a scan write test enable signal and a write enable signal.
7. The semiconductor device according to claim 5, wherein wherein the at least one logic gate is an AND gate, and wherein the enable signal is generated based on an output of the timing delay circuit as an output of the AND gate, The AND gate further receives a scan write test enable signal as an input.
8. The semiconductor device according to claim 5, wherein wherein the shadow latch is clocked by a clock signal generated based on an output of the timing delay circuit, The semiconductor device further includes at least one buffer connected in series with at least one inverter, wherein the at least one buffer receives the output of the timing delay circuit and the at least one inverter generates the clock signal for the shadow latch.
9. A method of operating a semiconductor device, characterized in that The method comprises the following steps: receiving a clock signal and a design for testability enable signal for a static random access memory circuit; generating an enable input for a shadow latch and an enable signal for a sense amplifier based on the clock signal and a timing delay circuit of the static random access memory circuit; and An output of the SRAM circuit is switched between an output of the sense amplifier and a DFT output via a multiplexer according to the DFT enable signal, wherein a first output of the SRAM circuit in a DFT operation mode remains approximately equal to a second output of the SRAM circuit in a normal operation mode.
10. The method according to claim 9, wherein The step of switching the output of the static random access memory circuit includes the following steps: switching an input to the shadow latch that generates the output of the static random access memory circuit.
