Sense amplifier flip-flop and method for fixing setup time violations in an integrated circuit
Granted 18 Feb 2020 · 1 office action
Assignee: Samsung Electronics
Law firm: Law firm · Log in to unlock
Attorney: Attorney · Log in to unlock
Inventors: Parvinder Kumar Rana, Rajeela Deshpande, Abhishek Ghosh, Sajal Mittal · Examiner: Jany Richardson · AU 2844 · TC 2800
Life of the application
8 dated eventsAbstract
A method and a sense amplifier flip-flop (SAFF) for fixing setup time violations in an integrated circuit (IC) design. The SAFF includes a master latch coupled to a slave latch, wherein the master latch includes a sense amplifier and the SAFF is configured with an equal number of p-type metal oxide semiconductor (PMOS) transistors and n-type metal oxide semiconductor (NMOS) transistors to reduce block area of an integrated circuit (IC). The method includes receiving a clock signal, receiving a data signal, applying the data signal to the sense amplifier when the clock signal is at a low level, wherein a portion of the sense amplifier is responsive to the inverted clock signal, storing a value of the data signal in the slave latch when the clock signal transitions from the low level to the high level, and providing an output signal from the slave latch.
Description
6 parts›CROSS REFERENCE TO RELATED APPLICATIONS
This application is based on and claims priority under 35 U.S.C. § 119 to Indian Patent Application No. 201841040233, filed on Oct. 24, 2018 in the Indian Patent Office, the disclosure of which is incorporated by reference herein in its entirety.
›BACKGROUND
1. Field
The present disclosure relates to semiconductor integrated circuits (IC) and more particularly related to a sense amplifiers based flip-flop for fixing setup time violations without increasing the block area of the IC.
2. Description of Related Art
The terms “flop” and “flip-flop” are generally used to describe or to refer to a clocked electronic circuit having two stable states. The clocked electronic circuit is used to store a value. A flop generally comprises two latch circuits. Flip-flops have many and varied applications, and are widely used in digital circuits. One important use of flip-flops is to store bits of an instruction within an instruction pipeline of a central processing unit (CPU) or a graphical processing unit (GPU). In a related art flip-flop electronic circuit, data is stored in cross-coupled inverters. A first, or “master” latch comprises a pass or transmission gate and a cross-coupled inverter. A second, or “slave” latch similarly comprises a pass gate and a cross-coupled inverter. A clock signal controls the operation of the two pass gates, and hence the operation of the flip-flop circuit.
High-speed chip designs may suffer from setup time violations which are critical to fix. Hence, a synthesis tool addresses setup time violations by increasing data path drive (driving current) or adding extra buffers in a clock path so that a time difference between a clock edge and a data edge will increase; the arrival of the data edge before the clock edge with sufficient time will resolve the setup time violation. Increasing data path drive and adding extra buffers as approached to resolving setup time violations significantly increase block area.
FIG. 1 illustrates a related art flip-flop, wherein a master part of the flip-flop uses a related art sense-amplifier. The sense-amplifier part of the flip-flop includes dominating number of n-type metal oxide semiconductor (NMOS), which increases the required layout area significantly. Further, extra feedback buffers are added to avoid setup time violations, which also increase the layout area. High layout area makes the flip-flop unsuitable for a standard cell library. Further, the use of data inverters increases skew between data arc and data_bar arc (the time waveform of the outputs Q and its inverse of FIG. 1 ). The slave part of the related art flip-flop is not scalable hence very high layout area for higher drive cells.
In FIG. 1 , the flip-flop includes a master latch and a slave latch. The master latch of the flip-flop uses a sense-amplifier architecture. When the master latch of the flip-flop receives a low state clock (CK) signal, transistors Mp 1 and Mp 4 conduct and corresponding nodes present in the master latches are pre-charged. The pre-charged nodes are the input of inverter I 1 and the input of inverter I 2 ; also called controlling nodes. The pre-charged nodes turn ON M N3 and M N4 transistors. Hence, pre-charged nodes are electrically connected to the data transistors M N1 and M N2 . Further, when, the CK signal state goes high, one of the pre-charged nodes will discharge and the other node will be maintained at a logic high value with the help of M P2 and M P3 depending upon the data D and D_bar. Transistors M N5 and M N6 make the design static in nature. Static means that, if the data changes (D) when the CK is high, there is no effect on the voltage of the output node (Q).
The controlling nodes are pre-charged when the clock is low; at this time the circuit does not couple the input data (D) to the output (Q). When the clock transitions to a high state, one of the controlling nodes remains pre-charged (at logic 1) and the other controlling node can be dis-charged (at logic 0); which controlling node changes state depends on the input data in the master latch. The input data then transitions from the master latch to the slave latch. Continuing to refer to FIG. 1 , depending upon the controlling nodes, the output signal (Q) is pulled-up or pulled-down and then maintained using a feedback circuitry (M P7 , M P9 , M N10 and M N12 ) The output remains unchanged during a CK signal with low logic level.
FIGS. 2 a and 2 b are examples illustrating setup time violations in an integrated circuit (IC) design. FIGS. 2 a and 2 b each include a flip-flop block (i.e., DFF), a data path, a clock path and a combo logic. “Combo logic” refers to combinatorial logic such as AND, OR, and inverter circuits without internal memory storage. The data path is the path through which a data signal travels. The clock path is a path through which a clock signal travels. The combo logic is the circuit which is downstream of one or more flip-flops and outputs of the one or more flip-flops are provided as inputs to the combo logic. IC design frequently relies on a synthesis tool. The synthesis tool may use a related art strategy of high-drive cells in the data path to shift data edges to left hand side (earlier with respect to a clock edge) or include buffer delay in the clock path to shift the clock edge to the right hand side (later with respect to the data edge). However, the related art strategy increases the block area of a chip when resolving setup time violations.
In view of the foregoing, there is a need to provide a flip flop design, which has nearly zero setup time to fix setup time violations without increasing the block area of the IC.
›SUMMARY
Example embodiments provide a method and a sense amplifier flip-flop (SAFF) for overcoming or reducing setup time violations in an integrated circuit (IC) design.
According to an aspect of an example embodiment, there is provided a sense amplifier flip-flop (SAFF) including a slave latch, a master latch coupled to the slave latch and configured to receive a clock signal, wherein the master latch comprises an equal number of p-type metal oxide semiconductor (PMOS) transistors and n-type metal oxide semiconductor (NMOS) transistors that are configured to reduce block area of an integrated circuit (IC). The SAFF also includes a clock inverter coupled to the master latch and configured to receive the clock signal and to generate an inverted clock signal that is input to the master latch, wherein the clock inverter is further configured to transition the inverted clock signal from a low logic level to a high logic level when the clock signal transitions from a high logic level to a low logic level.
According to another aspect of an example embodiment, there is provided a method for fixing setup time violations in an integrated circuit (IC) design using a sense amplifier flip-flop (SAFF), wherein the SAFF includes a master latch coupled to a slave latch, wherein the master latch includes a sense amplifier and the SAFF is configured with an equal number of p-type metal oxide semiconductor (PMOS) transistors and n-type metal oxide semiconductor (NMOS) transistors to reduce block area of an integrated circuit (IC), the method including: receiving a clock signal, generating an inverted clock signal from the clock signal, wherein the inverted clock signal transitions from a low logic level to a high logic level when a clock signal transitions from a high logic level to a low logic level, receiving a data signal, applying the data signal to the sense amplifier when the clock signal is at a low level, wherein a portion of the sense amplifier is responsive to the inverted clock signal, storing a value of the data signal in the slave latch when the clock signal transitions from the low level to the high level, and providing an output signal from the slave latch.
According to another aspect of an example embodiment, there is proved a clocked data circuit includes a first data stage; a second data stage; a first latch buffer including a first buffer input, wherein an output of the first latch buffer is coupled to a first controlling node; a second latch buffer including a second buffer input, wherein an output of the second latch buffer is coupled to a second controlling node; a first clock stage coupled to an input of the first latch buffer; a second clock stage coupled to an input of the second latch buffer; a sense amplifier; and a slave latch, wherein the first data stage is coupled to a first input of the sense amplifier, the first input of the sense amplifier being the first controlling node, wherein the second data stage is coupled to a second input of the sense amplifier, the second input of the sense amplifier being the second controlling node, and wherein each of the first controlling node and the second controlling node is configured to be pre-charged by the first clock stage and the second clock stage, respectively, when a clock signal is a low level.
›BRIEF DESCRIPTION OF THE DRAWINGS
The above and/or other aspects will be more apparent from the following description of example embodiments taken in conjunction with the accompanying drawings, in which:
FIG. 1 is a sense amplifier flip-flop circuit diagram, according to the related art;
FIGS. 2A and 2B are examples illustrating setup time violations in an integrated circuit (IC) design, according to the related art;
FIG. 3 is a sense amplifier flip-flop (SAFF) circuit diagram for avoiding setup time violations in the integrated circuit (IC) design, according to an example embodiment;
FIG. 4 is a layout diagram of an SAFF circuit, according to an example embodiment; and
FIG. 5 is a diagram illustrating an SAFF for fixing setup time violations without increasing the block area of the integrated circuit (IC), according to an example embodiment.
›DETAILED DESCRIPTION · 1 of 2
The example embodiments herein and the various features and advantageous details thereof are explained more fully with reference to the non-limiting embodiments that are illustrated in the accompanying drawings and detailed in the following description. Descriptions of well-known components and processing techniques are omitted so as to not unnecessarily obscure the embodiments herein. The description herein is intended merely to facilitate an understanding of ways in which the example embodiments herein can be practiced and to further enable those of skill in the art to practice the example embodiments herein. Accordingly, this disclosure should not be construed as limiting the scope of the example embodiments herein.
The example embodiments herein achieve method and a sense amplifier flip-flop (SAFF) for overcoming setup time violations in an integrated circuit (IC) design. The SAFF includes a master latch coupled to a slave latch. The master latch is configured with an equal number of p-type metal oxide semiconductor (PMOS) transistors and n-type metal oxide semiconductor (NMOS) transistors to reduce block area of the IC. Further, the SAFF includes a clock inverter. The clock inverter can be configured to generate an inverted clock signal transition from low logic level to high logic level when a clock signal transitions from a high logic level to a low logic level. Further, the clock inverter can be configured to generate the inverted clock signal transition from the high logic level to the low logic level when the clock signal transitions from the low logic level to the high logic level. In an example embodiment, transition of the clock signal from the high logic level to the low logic level and the transition of the inverted clock signal from the low logic level to the high logic level enables at least two controlling nodes to a pre-charged state and discharged state respectively and maintains an output signal using the slave latch. In an example embodiment, transition of the clock signal from the low logic level to the high logic level and the transition of the inverted clock signal from the high logic level to the low logic level, flips one of at least two controlling nodes based on a input data and maintains the at least two controlling nodes at same logic level to generate a final output signal from the slave latch. The equal number of PMOS transistors and NMOS transistors present in the master latch of the SAFF avoids setup time violations without increasing block area of the IC. Referring now to the drawings, and more particularly to FIGS. 3, 4, and 5 , where similar reference characters denote corresponding features consistently throughout the figures, there are shown example embodiments.
FIG. 3 is an SAFF 300 circuit diagram for avoiding setup time violations in the IC design, according to an example embodiment.
The example embodiments herein provides the SAFF 300 for avoiding setup time violations in the IC design without increasing the block area of the IC. The SAFF 300 comprises a master latch coupled to a slave latch. The master latch 302 of the SAFF 300 configured with an equal number of p-type metal oxide semiconductor (PMOS) transistors and n-type metal oxide semiconductor (NMOS) transistors to reduce block area of the IC. Further, the SAFF 300 comprises a clock inverter 306 to generate an inverted clock signal transitions from a low logic level to a high logic level when a clock signal transitions from a high logic level to a low logic level. Further, the clock inverter 306 can be configured to generate the inverted clock signal transition from the high logic level to the low logic level when the clock signal transitions from the low logic level to the high logic level.
In an example embodiment, transition of the clock signal from the high logic level to the low logic level and the transition of the inverted clock signal from the low logic level to the high logic level enables at least two controlling nodes (pn 3 , pn 4 ) to a pre-charged state and discharged state respectively and maintains an output signal using the slave latch 304 . The node pn 3 may also be called a precharge node. The node pn 4 may also be called a precharge node. The node pn 3 is the output of B 3 and the node pn 4 is the output of B 2 . B 2 is referred to as a latch buffer and B 3 is a corresponding latch buffer. The sense amplifier of FIG. 3 includes N channel transistor Q 9 and P channel transistor Q 2 . Control node pn 3 is coupled to a gate of Q 2 and control node pn 4 is coupled to a gate of Q 9 .
In an example embodiment, transition of the clock signal from the low logic level to the high logic level and the transition of the inverted clock signal from the high logic level to the low logic level, flips one of the at least two controlling nodes (pn 3 , pn 4 ) based on a input data and maintains the at least two controlling nodes (pn 3 , pn 4 ) at same logic level to generate a final output signal form the slave latch 304 . In an example embodiment, equal number of PMOS transistors and NMOS transistors present in the master latch 302 of the SAFF 300 avoids setup time violations without increasing a block area of the IC. The SAFF 300 does not require a data inverter, hence no skew between data arcs. The slave latch 304 can be scalable and suitable for standard cell library.
For example, when the master latch 302 receives a clock (CK) signal of low logic level, the negative/inverted clock (nCK) signal switches to high logic level, nodes n 3 and n 4 present in the master latch 302 can be discharged and pre-charged respectively. Due to the discharge and the pre-charge of the nodes n 3 and n 4 , controlling nodes pn 4 and pn 3 can pull-up and pull-down respectively. Due to which some transistors may turn-off and some transistors may turn-on. For example, the transistors Q 3 , Q 7 , Q 5 and Q 10 will turn off and the transistors Q 2 and Q 9 will turn ON. Hence, an input data can directly connected to the nodes n 3 and n 4 and waiting for a positive edge of the clock signal. The transistors Q 4 and Q 11 are referred to as data stages. Q 1 and Q 8 are clock stages.
›DETAILED DESCRIPTION · 2 of 2
Further, based on the input data, the node n 3 can charge or the node n 4 can discharge keeping other node at previous value. For example, when the CK signal goes to logical level 1 which drives nCK signal to logical level 0, which turns ON Q 6 and Q 12 transistors. Suppose when an input data D=0, Turns ON transistor Q 4 which charges the node n 3 and discharges the node pn 4 . Further, the CK signal at logical level 1 turns OFF the transistor Q 9 and turns ON the transistor Q 5 which make the master latch 302 static and prevents change in the output regardless of a change in the input data. Further, the CK signal at logical level 1 turns ON the transistor Q 7 which drives the node n 4 to logic 1 and pn 3 to logic 0.
In summary, an example of operation of the master latch is as follows. The sense amplifier inputs (gates of Q 2 and Q 9 ) are pre-charged based on the operation of the clock stages (Q 1 and Q 8 ). ii) The clock stages switch from low to high, and one of the nodes n 3 and n 4 changes state. For example, if the input data D of data stage Q 4 is low, the sense amplifier input node pn 4 will be discharged because data stage transistor Q 4 will turn ON, sense amplifier transistor Q 2 will turn ON, n 3 will be high, and latch buffer B 2 will drive its output low. The resulting data value is coupled through to the slave latch during the time the clock is high.
At slave latch 304 , when the input data D=0 (“LOW” or “OFF”), and the controlling nodes pn 4 =0, pn 3 =0. Then the controlling nodes pn 3 and pn 4 can be connected to the slave latch 304 and pull-up node n 7 and drive the output node Q to a low logical level. Further, the output value can be maintained based a feedback loop and a stack, which are made up of Q 15 , Q 16 , Q 17 and Q 18 transistors. Similarly, when the CK signal is at a logical level 1 and the input data D has value 1, then pn 4 =1 and pn 3 =1. The controlling nodes pn 4 =1, pn 3 =1, will pull-down node n 7 and the output node Q will be driven to a high logic level. Q is maintained using the feedback loop when CK is at low logic level.
FIG. 4 is a layout diagram of the SAFF 300 circuit according to an example embodiment. The SAFF 300 can be replaced in place of a related art flip-flop in the IC design to overcome the setup time violations without increasing the block level area of the IC.
FIG. 5 is diagram illustrating an SAFF 300 for fixing setup time violations without increasing the block area of the IC, according to an example embodiment. The SAFF 300 can be replaced in place of a related art flip flop that results in avoiding setup time violations without increasing the block level area of the IC. The master latch 302 of the SAFF 300 includes an equal number of NMOS and PMOS.
The example embodiments can be implemented through at least one software program running on at least one hardware device and performing functions to control the elements. The elements shown in FIG. 3 can be at least one of a hardware device, or a combination of hardware device and software module.
The foregoing example embodiments may be modified and/or adapted without departing from the inventive concept, and, therefore, such adaptations and modifications should and are intended to be comprehended within the meaning and range of equivalents of the example embodiments. It is to be understood that the phraseology or terminology employed herein is for the purpose of description and not of limitation. Therefore, those skilled in the art will recognize that the example embodiments herein can be practiced with modification within the spirit and scope of the present disclosure.
Claims as granted
16 claimsLog in to read the claims of this application.
Log in to unlockClassifications
5 codes- G06F1/10
- G06F1/12
- H03K3/037
- H03K3/3562
- H03K3/356
Claim changes
SoonSee which claims were amended, added or cancelled during examination, with every added and removed word marked.
The published claims of this application are not paired with the granted ones in what we hold.
File wrapper
See the full prosecution history — every USPTO and applicant action on this file, in order.
Log in to unlockDocuments
Log in to open the documents of this file: the application as filed, every office action and response, the notice of allowance.
Log in to unlockChain of title
See the full assignment history — every owner this patent has passed through, with recordation dates and reel/frame numbers.
Log in to unlock