In one form, a flip-flop comprises a master latch, a slave latch, and a multiplexer. The master latch has an input for receiving a data input signal, and an output, and operates in transparent and latching modes during respective first and second phases of a clock signal. The slave latch has an input coupled to the output of the master latch, and an output, and operates in the transparent and latching modes during the second and first phases of the clock signal, respectively. The multiplexer has a first input coupled to the output of the slave latch, a second input coupled to the output of the master latch, and an output for providing a data output signal, and provides the first input to the output during the first phase of the clock signal, and the second input to the output during the second phase of the clock signal.
|
1. A microprocessor comprising:
a first functional circuit having an output;
a second functional circuit having an input; and
a scan chain disposed between said output of said first functional circuit and said input of said second functional circuit, wherein said scan chain captures said output of said first functional circuit and provides said output, so captured, to said input of said second functional circuit in a functional mode, and scans scan data into said scan chain and provides said scan data, so scanned, to said input of said second functional circuit in a scan mode,
wherein said scan chain comprises:
a plurality of scan flip-flops with latch bypass for storing a data input signal and providing said data input signal, so stored, as a data output signal in response to transitions of a clock signal in said functional mode, and for storing a scan data input signal and providing said scan data input signal, so stored, as said data output signal in response to transitions of said clock signal in said scan mode.
2. The microprocessor of
a differential circuit having an input for receiving a first data input signal, and an output, and operating in a precharge mode during a first phase of said clock signal and an evaluation mode during a second phase of said clock signal;
a latch circuit having an input coupled to said output of said different circuit, and an output, and operating in a latching mode during said first phase of said clock signal and in a transparent mode during said second phase of said dock signal; and
a multiplexer having a first input coupled to said output of said differential circuit, a second input coupled to said output of said latch circuit, and an output for providing said data output signal, for providing said second input to said output during said first phase of said clock signal and said first input to said output during said second phase of said clock signal.
3. The microprocessor of
a test access port controller for providing said scan data input signal to a first scan flip-flop with latch bypass during said scan mode.
4. The microprocessor of
a master latch having an input for receiving a data input signal, and an output, and operating in a transparent mode during a first phase of a clock signal and a latching mode during a second phase of said clock signal; and
a slave latch having an input coupled to said output of said master latch, and an output, and operating in said transparent mode during said second phase of said clock signal and said latching mode during said first phase of said clock signal; and
a multiplexer having a first input coupled to said output of said slave latch, a second input coupled to said output of said master latch, and an output for providing a data output signal, for providing said first input to said output during said first phase of said clock signal, and said second input to said output during said second phase of said clock signal.
5. The microprocessor of
a first inverter having an input for receiving said data input signal, an output for providing said output of said master latch, a true control input for receiving a complement of said clock signal, and a complementary control input for receiving said clock signal;
a second inverter having an input coupled to said output of said first inverter, and an output; and
a third inverter having an input coupled to said output of said second inverter, an output coupled to said input of said second inverter, a true control input for receiving said clock signal, and a complementary input for receiving said complement of said clock signal.
6. The microprocessor of
a first inverter having an input coupled to said output of said master latch, an output for providing said output of said slave latch, a true control input for receiving said clock signal, and a complementary control input for receiving said complement of said clock signal; and
a second inverter having an input coupled to said output of said first inverter, and an output for providing said output of said slave latch; and
a third inverter having an input coupled to said output of said second inverter, an output coupled to said input of said second inverter, a true control input for receiving said complement of said clock signal, and a complementary control input for receiving said clock signal.
7. The microprocessor of
a first inverter having an input coupled to said output of said slave latch, an output forming said output of said multiplexer, a true control input for receiving a complement of said clock signal, and a complementary control input for receiving said clock signal; and
a second inverter having an input coupled to said output of said master latch, an output coupled said output of said first inverter, a true control input for receiving said clock signal, and a complementary control input for receiving said complement of said clock signal.
8. The microprocessor of
a first inverter having an input coupled to said output of said slave latch, an output forming said output of said multiplexer, a true control input for receiving a complement of said clock signal, and a complementary control input for receiving said clock signal; and
a second inverter having an input coupled to said output of said master latch, an output coupled said output of said first inverter, a true control input for receiving said clock signal, and a complementary control input for receiving said complement of said clock signal.
9. The microprocessor of
a first inverter having an input for receiving said data input signal, and an output for providing said output of a corresponding one of said master latch and said slave latch;
a second inverter having an input coupled to said output of said first inverter, and an output; and
a third inverter having an input coupled to said output of said second inverter, an output coupled to said input of said second inverter.
10. The microprocessor of
an output inverter having an input coupled to said output of said slave latch, and an output,
wherein said multiplexer comprises:
a first inverter having an input coupled to said output of said output inverter, an output forming said output of said multiplexer, a true control input for receiving a complement of said clock signal, and a complementary control input for receiving said clock signal; and
a second inverter having an input coupled to said output of said master latch, an output coupled said output of said first inverter, a true control input for receiving said clock signal, and a complementary control input for receiving said complement of said clock signal.
11. The microprocessor of
an output inverter having an input coupled to said output of said slave latch, and an output,
wherein said multiplexer comprises:
a first inverter having an input coupled to said output of said output inverter, an output forming said output of said multiplexer, a true control input for receiving a complement of said clock signal, and a complementary control input for receiving said clock signal; and
a second inverter having an input coupled to said output of said master latch, an output coupled said output of said first inverter, a true control input for receiving said clock signal, and a complementary control input for receiving said complement of said clock signal.
|
This disclosure relates generally to digital logic circuits, and more specifically to high-speed flip-flop circuits.
Flip-flops are used as building blocks in a variety of sequential logic circuits such as registers. For example, many modern microprocessors use a technique known as pipelining in which the processing of an instruction is broken down into several smaller sub-tasks, each of which can be performed within one clock cycle. Pipelined microprocessors include dedicated circuitry to perform each sub-task, and different instructions are processed at each subtask in a sequential, or pipelined fashion. By using this technique, pipelined microprocessors are able to achieve high effective instruction throughput even though only a portion of any individual instruction is processed per clock cycle in one of the pipeline stages.
Pipelined microprocessors use pipeline registers to store the results of an operation at a particular pipeline stage and provide these results to a subsequent pipeline stage. The speed of a pipelined microprocessor is limited by the amount of time it takes to perform the functions of a pipeline stage as well as to store the results stably in the pipeline register. Thus the speed in which the microprocessor clock can be set at is limited, in part, by the delay through the pipeline register, and hence the flip-flops that make up the pipeline register.
In the following description, the use of the same reference numerals in different drawings indicates similar or identical items. Unless otherwise noted, the word “coupled” and its associated verb forms include both direct connection and indirect connection by means known in the art, and unless otherwise noted any description of direct connection implies alternate embodiments using suitable forms of indirect connection as well.
According to various embodiments disclosed below, a flip-flop includes a latch bypass feature to decrease delay time from input to output, making it suitable for higher-speed operation. In one form, a flip-flop includes a master latch, a slave latch, and a multiplexer. The master latch has an input for receiving a data input signal, and an output, and operates in a transparent mode during a first phase of a clock signal and a latching mode during a second phase of the clock signal. The slave latch has an input connected to the output of the master latch, and an output, and operates in the transparent mode during the second phase of the clock signal and the latching mode during the first phase of the clock signal. The multiplexer has a first input connected to the output of the slave latch, a second input connected to the output of the master latch, and an output for providing a data output signal, and provides the first input to the output during the first phase of the clock signal, and the second input to the output during the second phase of the clock signal.
In another form, a flip-flop includes a differential circuit, a latch circuit, and a multiplexer. The differential circuit has an input for receiving a first data input signal, and an output, and operates in a precharge mode during a first phase of a clock signal and an evaluation mode during a second phase of the clock signal. The latch circuit has an input connected to the output of the differential circuit, and an output, and operates in a latching mode during the first phase of the clock signal and in a transparent mode during the second phase of the clock signal. The multiplexer has a first input connected to the output of the differential circuit, a second input connected to the output of the latch circuit, and an output for providing a data output signal, and provides the second input to the output during the first phase of the clock signal and the first input to the output during the second phase of the clock signal.
In yet another form, a microprocessor includes a first functional circuit having an output, a second functional circuit having an input, and a scan chain disposed between the output of the first functional circuit and the input of the second functional circuit. The scan chain captures the output of the first functional circuit and provides the output, so captured, to the input of the second functional circuit in a functional mode, and scans scan data into the scan chain and provides the scan data, so scanned, to the input of the second functional circuit in a scan mode. The scan chain includes a plurality of scan flip-flops with latch bypass, each for storing a data input signal and providing the data input signal, so stored, as a data output signal in response to transitions of a clock signal in the functional mode, and for storing a scan data input signal and providing the scan data input signal, so stored, as the data output signal in response to transitions of the clock signal in the scan mode.
Master latch 110 has an input for receiving a data input signal labeled “D”, and an output, and includes a three-state inverter 112, an inverter 114, and a three-state inverter 116. Three-state inverter 112 has an input for receiving data input signal D, an output, a true control input for receiving a complementary clock signal labeled “CLKB”, and a complementary control input for receiving a true clock signal labeled “CLK”. A three-state inverter in an inverter having three output states: a logic high state, a logic low state, and a high impedance state (also known as a floating or undriven state). A three state inverter goes into the high-impedance state when its true control input is high and its complementary control input is low. Inverter 114 has an input connected to the output of three-state inverter 112, and an output. Three-state inverter 116 has an input connected to the output of three-state inverter 114, an output connected to the input of inverter 114, a true control input for receiving true clock signal CLK, and a complementary control input for receiving complementary clock signal CLKB.
Slave latch 120 has an input connected to the output of master latch 110, and an output, and includes a three-state inverter 122, an inverter 124, and a three-state inverter 126. Three-state inverter 122 is a three-state inverter having an input connected to the output of master latch 110, an output, a true control input for receiving true clock signal CLK, and a complementary control input for receiving a complementary clock signal CLKB. Inverter 124 has an input connected to the output of three-state inverter 122, and an output. Three-state inverter 126 is a three-state inverter having an input connected to the output of inverter 124, an output connected to the input of inverter 124, a true control input for receiving complementary clock signal CLKB, and a complementary control input for receiving true clock signal CLK.
Output inverter 130 has an input connected to the output of slave latch 120, and an output for providing a signal labeled “Q”. Clock inverter 140 has an input for receiving true clock signal CLK, and an output for providing complementary clock signal CLKB.
In operation, when true clock signal CLK is low, slave latch 120 blocks data from master latch 110 because three-state inverter 122 is disabled, and inverter 126 is active. As true clock signal CLK rises, slave latch 120 becomes transparent as three-state inverter 122 becomes enabled, while at the same time master latch 110 latches and blocks data input signal D with inverter 112 disabled. The nominal delay from D to Q is the setup time for data input signal D before the rising edge of true clock signal CLK plus three gate delays through three-state inverter 112, three-state inverter 122, and output inverter 130. This delay becomes the critical timing path through master-slave flip-flop 100 and limits the clock speed of an integrated circuit using it in the worst-case timing paths.
Master latch 210 has an input for receiving a data input signal D, and an output, and includes a three-state inverter 212, an inverter 214, and a three-state inverter 216. Three-state inverter 212 is a three-state inverter having an input for receiving data input signal D, an output, a true control input for receiving complementary clock signal CLKB, and a complementary control input for receiving true clock signal CLK. Inverter 214 has an input connected to the output of three-state inverter 212, and an output. Three-state inverter 216 is a three-state inverter having an input connected to the output of inverter 214, an output connected to the input of inverter 214, a true control input for receiving true clock signal CLK, and a complementary control input for receiving complementary clock signal CLKB.
Slave latch 220 has an input connected to the output of master latch 210, and an output, and includes a three-state inverter 222, an inverter 224, and a three-state inverter 226. Three-state inverter 222 is a three-state inverter having an input connected to the output of master latch 210, an output for providing the output of slave latch 220, a true control input for receiving true clock signal CLK, and a complementary control input for receiving a complementary clock signal CLKB. Inverter 224 has an input connected to the output of three-state inverter 222, and an output. Three-state inverter 226 is a three-state inverter having an input connected to the output of inverter 224, an output connected to the input of inverter 224, a true control input for receiving complementary clock signal CLKB, and a complementary control input for receiving true clock signal CLK.
Multiplexer 230 has a first input connected to the output of slave latch 220, a second input connected to the output of master latch 210, and an output for providing an output signal labeled “Q”. Multiplexer 230 includes three-state inverters 232 and 234. Three-state inverter 232 is a three-state inverter having an input connected to the output of slave latch 220, an output for providing output signal Q, a true control input for receiving complementary clock signal CLKB, and a complementary control input for receiving true clock signal CLK. Three-state inverter 234 is a three-state inverter having an input connected to the output of master latch 210, an output connected to the output of three-state inverter 232, a true control input for receiving complementary clock signal CLKB, and a complementary control input for receiving true clock signal CLK.
Clock inverter 240 has an input for receiving true clock signal CLK, and an output for providing complementary clock signal CLKB.
In operation, inverters 232 and 234 form a multiplexer used to output signal Q. As true clock signal CLK rises, master latch 210 latches data input signal D and drives Q through three-state inverter 234, which is also enabled. It also drives the input of slave latch 220, but the input of slave latch 220 is blocked by three-state inverter 222. As true clock signal CLK falls, slave latch 220 latches, and three-state inverter 232 becomes enabled as three-state inverter 234 becomes disabled. Output signal Q does not change on the falling edge of true clock signal CLK but three-state inverter 232 continues to output the logic state previously output by three-state inverter 234. The delay from data input signal D to output signal Q is the setup time of D before the rising edge of true clock signal CLK, plus only two gate delays through three-state inverter 212 and three-state inverter 234 in multiplexer 230. Thus flip-flop 200 shortens the delay compared to flip-flop 100 and increases the possible clock speed of the integrated circuit using it according to this delay.
Master latch 310 has an input for receiving a data signal labeled “D”, and an output, and includes a three-state inverter 312, an inverter 314, and a three-state inverter 316. Three-state inverter 312 is a three-state inverter having an input for receiving data input signal D, an output, a true control input for receiving complementary clock signal CLKB, and a complementary control input for receiving true clock signal CLK. Inverter 314 has an input connected to the output of three-state inverter 312, and an output. Three-state inverter 316 is a three-state inverter having an input connected to the output of inverter 314, an output connected to the input of inverter 314, a true control input for receiving true clock signal CLK, and a complementary control input for receiving complementary clock signal CLKB.
Slave latch 320 has an input connected to the output of master latch 310, and an output, and includes a three-state inverter 322, an inverter 324, and a three-state inverter 326. Three-state inverter 322 is a three-state inverter having an input connected to the output of master latch 310, an output, a true control input for receiving true clock signal CLK, and a complementary control input for receiving a complementary clock signal CLKB. Inverter 324 has an input connected to the output of three-state inverter 322, and an output. Inverter 326 is a three-state inverter having an input connected to the output of inverter 324, an output connected to the input of inverter 324, a true control input for receiving complementary clock signal CLKB, and a complementary control input for receiving true clock signal CLK.
Output inverter 330 has an input connected to the output of slave latch 320, and an output.
Multiplexer 340 has a first input connected to the output of output inverter 330, a second input connected to the output of master latch 310, and an output for providing output signal Q. Multiplexer 340 includes three-state inverters 342 and 344. Three-state inverter 342 is a three-state inverter having an input connected to the output of output inverter 330, an output for providing output signal Q, a true control input for receiving complementary clock signal CLKB, and a complementary control input for receiving true clock signal CLK. Inverter 344 is a three-state inverter having an input connected to the output of master latch 310, an output connected to the output of three-state inverter 342, a true control input for receiving complementary clock signal CLKB, and a complementary control input for receiving true clock signal CLK.
Clock inverter 350 has an input for receiving true clock signal CLK, and an output for providing complementary clock signal CLKB.
In operation, flip-flop 300 is similar to flip-flop 200 of
In some embodiments, the master-slave flip-flops of
Data input portion 420 includes an N-channel metal-oxide-semiconductor (MOS) transistors 421, 422, 423, and 424, an inverter 425, N-channel MOS transistors 431, 432, 433, and 434, and inverters 435 and 436. Transistor 421 has a drain connected to a node labeled “SBAR”, a gate for receiving data input signal D, and a source. Transistor 422 has a drain connected to the source of transistor 421, a gate, and a source. Transistor 423 has a drain connected to node SBAR, a gate for receiving a scan data signal labeled “SDI”, and a source. Transistor 424 has a drain connected to the source of transistor 423, a gate for receiving a scan enable signal labeled “SSE”, and a source connected to the source of transistor 422. Inverter 425 has an input for receiving scan enable signal SSE, and an output connected to the gate of transistor 422. Transistor 431 has a drain connected to a node labeled “RBAR”, a gate, and a source. Transistor 432 has a drain connected to the source of transistor 431, a gate connected to the output of inverter 425, and a source. Transistor 433 has a drain connected to node RBAR, a gate, and a source. Transistor 434 has a drain connected to the source of transistor 433, a gate for receiving scan enable signal SSE, and a source connected to the source of transistor 432. Inverter 435 has an input for receiving data input signal D, and an output connected to the gate of transistor 431. Inverter 436 has an input for receiving scan data input signal SDI, and an output connected to the gate of transistor 433.
Precharge portion 440 includes P-channel transistors 442 and 444. Transistor 442 has a source connected to a power supply voltage terminal, a gate for receiving true clock signal CLK, and a drain connected to node RBAR. The power supply voltage terminal is more-positive with respect to ground and has a nominal voltage of, for example, 0.9 volts. Transistor 444 has a source connected to the power supply voltage terminal, a gate for receiving true clock signal CLK, and a drain connected to node SBAR.
Latch portion 450 includes N-channel transistors 451-456, and P-channel transistors 457 and 458. Transistor 451 has a drain connected to the sources of transistors 422 and 424, a gate for receiving true clock signal CLK, and a source. Transistor 452 has a drain connected to the source of transistor 451, a gate connected to node RBAR, and a source connected to ground. Transistor 453 has a drain connected to node RBAR, a gate connected to the drain of transistor 452, and a source connected to ground. Transistor 454 has a drain connected to the sources of transistors 432 and 434, a gate for receiving true clock signal CLK, and a source. Transistor 455 has a drain connected to the source of transistor 454, a gate connected to node SBAR, and a source connected to ground. Transistor 456 has a drain connected to node SBAR, a gate connected to the drain of transistor 455, and a source connected to ground. Transistor 457 has a source connected to the power supply voltage terminal, a gate connected to node RBAR, and a drain connected to node SBAR. Transistor 458 has a source connected to the power supply voltage terminal, a gate connected to node SBAR, and a drain connected to node RBAR.
Latch circuit 460 includes a P-channel transistor 461, N-channel transistors 462 and 463, P-channel transistors 464 and 465, an N-channel transistor 466, and an inverter 467. Transistor 461 has a source connected to the power supply voltage terminal, a gate connected to node SBAR, and a drain connected to a node labeled “QBAR”. Transistor 462 has a drain connected to the drain of transistor 461 at node QBAR, a gate connected to node SBAR, and a source. Transistor 463 has a drain connected to the source of transistor 462, a gate for receiving true clock signal CLK, and a source connected to ground. Transistor 464 has a source connected to the power supply voltage terminal, a gate connected for receiving the true clock signal CLK, and a drain. Transistor 465 has a source connected to the drain of transistor 464, a gate, and a drain connected to node QBAR. Transistor 466 has a drain connected to the source of transistor 462, a gate, and a source connected to ground. Inverter 467 has an input connected to the QBAR node, and an output connected to the gates of transistors 465 and 466.
Output inverter 470 has an input connected to node QBAR, and an output providing output signal Q.
In operation, flip-flop 400 is a type of flip-flop known as an asymmetric precharged flip-flop (APFF) and includes a scan capability. When scan enable signal SSE is low, flip-flop 400 is in a normal operation mode and the logic state of output signal Q is determined by the logic state of data input signal D. The high voltage on scan enable signal SSE causes the output of inverter 425 to go high, which makes transistors 422 and 432 conductive and causes the state of data input signal D to determine the logic state of output signal Q. In the normal operation mode, when true clock signal CLK is low, transistors 442 and 444 are conductive and precharge nodes RBAR and SBAR high, respectively. If data input signal D is high, then as true clock signal CLK rises, SBAR falls, which causes RBAR to rise. Latch portion 450 amplifies and latches the differential voltage between RBAR and SBAR, resulting in a stable logic low voltage on signal SBAR. The logic low voltage on SBAR in turn causes latch circuit 460 and output inverter 470 to drive output signal Q low. If on the other hand data input signal D is low, then as true clock signal CLK rises, RBAR falls, which causes SBAR to rise. Latch portion 450 amplifies and latches the differential voltage between SBAR and RBAR, resulting in a stable logic high voltage on signal SBAR. The logic high voltage on SBAR in turn causes latch circuit 460 and output inverter 470 to drive output signal Q high.
When scan enable signal SSE is high, flip-flop 400 is in a scan mode and the logic state of output signal Q is determined by the logic state of scan data input signal SDI. In the scan mode, when true clock signal CLK is low, transistors 442 and 444 are conductive and precharge nodes RBAR and SBAR high, respectively. If scan data input signal SDI is high, then as true clock signal CLK rises, SBAR falls, which holds RBAR high by making transistor 458 conductive. Latch portion 450 amplifies and latches the differential voltage between RBAR and SBAR, resulting in a stable logic low voltage on signal SBAR. The logic low voltage on SBAR in turn causes latch circuit 460 and output inverter 470 to drive output signal Q low. If on the other hand scan data input signal SDI is low, then as true clock signal CLK rises, RBAR falls, which holds SBAR high by making transistor 457 conductive. Latch portion 450 amplifies and latches the differential voltage between SBAR and RBAR, resulting in a stable logic high voltage on signal SBAR. The logic high voltage on SBAR in turn causes latch circuit 460 and output inverter 470 to drive output signal Q high.
In this manner, scan enable signal SSE selects a mode of operation and a corresponding input signal, and the rising edge of true clock signal CLK causes differential circuit 410 to quickly latch a differential voltage between SBAR and RBAR. Moreover latch circuit 460 includes its own latching mechanism using inverter 467 to reinforce the logic state developed on QBAR. Latch circuit 460 is blocking when true clock signal CLK is low, and transparent when true clock signal CLK is high.
However when true clock signal CLK is low, transistors 452 and 453 are discharged low. When true clock signal CLK rises and the selected data signal is high, then the delay through differential circuit 410 of flip-flop 400 requires three nominal gate delays as node SBAR is discharged from a precharged high state through transistors 421, 422, 451, and 452. Only when the logic high voltage on SBAR is suitably discharged does transistor 461 become conductive enough to charge QBAR high, which in turn will discharge output signal Q low. On the other hand when true clock signal CLK rises and the selected data signal is low, then the delay through differential circuit 410 of flip-flop 400 requires two nominal gate delays as node SBAR is kept charged. When true clock signal CLK transitions high, QBAR will be discharged through transistors 462 and 463, and output signal Q will be charged to a logic high state. From a precharged high state through transistors 421, 422, 451, and 452. Only when the logic high voltage on SBAR is suitably discharged does transistor 458 become conductive to reinforce the logic high on RBAR.
Since the delay may be as many as three nominal gate delays, the frequency of the clock signal driving the circuits in which flip-flop 400 is used is limited by the setup time of data input signal D (or scan data input signal SDI) before the rising edge of true clock signal CLK plus three nominal gate delays.
Precharge portion 540 includes P-channel transistors 542 and 544. Transistor 542 has a source connected to a power supply voltage terminal, a gate for receiving true clock signal CLK, and a drain connected to node RBAR. The power supply voltage terminal is more-positive with respect to ground as has a nominal voltage of, for example, 0.9 volts. Transistor 544 has a source connected to the power supply voltage terminal, a gate for receiving true clock signal CLK, and a drain connected to node SBAR.
Latch portion 550 includes N-channel transistors 551-556, and P-channel transistors 557 and 558. Transistor 551 has a drain connected to the sources of transistors 522 and 524, a gate for receiving true clock signal CLK, and a source. Transistor 552 has a drain connected to the source of transistor 551, a gate connected to node RBAR, and a source connected to ground. Transistor 553 has a drain connected to node RBAR, a gate connected to the drain of transistor 552, and a source connected to ground. Transistor 554 has a drain connected to the sources of transistors 532 and 534, a gate for receiving true clock signal CLK, and a source. Transistor 555 has a drain connected to the source of transistor 554, a gate connected to node SBAR, and a source connected to ground. Transistor 556 has a drain connected to node SBAR, a gate connected to the drain of transistor 555, and a source connected to ground. Transistor 557 has a source connected to the power supply voltage terminal, a gate connected to node RBAR, and a drain connected to node SBAR. Transistor 558 has a source connected to the power supply voltage terminal, a gate connected to node SBAR, and a drain connected to node RBAR.
Latch circuit 560 includes a P-channel transistor 561, N-channel transistors 562 and 563, P-channel transistors 564 and 565, an N-channel transistor 566, and an inverter 567. Transistor 561 has a source connected to the power supply voltage terminal, a gate connected to node RBAR, and a drain connected to a node labeled “QBAR”. Transistor 562 has a drain connected to the drain of transistor 561 at node QBAR, a gate connected to node SBAR, and a source. Transistor 563 has a drain connected to the source of transistor 562, a gate for receiving true clock signal CLK, and a source connected to ground. Transistor 564 has a source connected to the power supply voltage terminal, a gate for receiving the true clock signal CLK, and a drain. Transistor 565 has a source connected to the drain of transistor 564, a gate, and a source connected to node QBAR. Transistor 566 has a drain connected to the source of transistor 562, a gate, and a source connected to ground. Inverter 567 has an input connected to the QBAR node, and an output connected to the gates of transistors 565 and 566.
Multiplexer 570 includes a P-channel transistor 571, N-channel transistors 572 and 573, a P-channel transistors 574 and 575, and N-channel transistors 576 and 577. Transistor 571 has a source connected to the power supply voltage terminal, a gate connected to SBAR, and a drain for providing output signal Q. Transistor 572 has a drain connected to the drain of transistor 571, a gate connected to SBAR, and a source. Transistor 573 has a drain connected to the source of transistor 572, a gate for receiving true clock signal CLK, and a source connected to ground. Transistor 574 has a source connected to the power supply voltage terminal, a gate connected to QBAR, and a drain. Transistor 575 has a source connected to the drain of transistor 574, a gate for receiving true clock signal CLK, and a drain connected to the drain of transistor 571. Transistor 576 has a drain connected to the drain of transistor 575, a gate connected to QBAR, and a source. Transistor 577 has a drain connected to the source of transistor 576, a gate connected to RBAR, and a source connected to ground.
In operation, flip-flop 500 is an asymmetric precharged flip-flop (APFF) with a scan capability and latch bypass. Differential circuit 510 and latch circuit 560 operate substantially the same as differential circuit 410 and latch circuit 460, respectively, of flip-flop 400 of
As in flip-flop 400, scan enable signal SSE determines which data signal is captured. If scan enable signal SSE is low, flip-flop 500 is in a normal operation mode and data input signal D is captured. If on the other hand scan enable signal SSE is high, flip-flop 500 is in a scan mode and scan data input signal SDI is captured. If the selected data signal is high (e.g. D in normal operation mode or SDI in scan mode), then as true clock signal CLK rises, SBAR falls, which causes RBAR to rise. Latching portion 550 amplifies and latches the differential voltage between RBAR and SBAR, resulting in a stable logic low voltage on signal SBAR. The logic low voltage on SBAR in turn causes transistor 571 to be active and to drive output signal Q high. If the selected data signal is low, then as true clock signal CLK rises, RBAR falls, which causes SBAR to rise. Latch circuit 560 amplifies and latches the differential voltage between SBAR and RBAR, resulting in a stable logic high voltage on SBAR. The logic high voltage on SBAR in turn causes transistor 572 to be conductive, and since transistor 573 was made conductive by the rising edge of true clock signal CLK, multiplexer 570 provides output signal Q at a logic low.
When true clock signal CLK is low, transistor 575 becomes conductive, and transistors 574 and 576 are conductive or not based on the logic state of QBAR. Thus when true clock signal CLK is low, multiplexer 570 selects the output of latch circuit 560 to provide and maintain the value of output signal Q.
However when true clock signal CLK is low, a latch formed by transistors 552 and 553 and a latch formed by transistors 555 and 556 are pre-discharged low. When true clock signal CLK rises and the selected data signal is high, then the delay through the input portion of flip-flop 500 requires only two transistor switching delays as node SBAR is discharged from a precharged high state through transistors 521 and 552. Likewise, when true clock signal CLK rises and the selected data signal is low, then the delay through the input portion of flip-flop 500 requires two transistor switching delays as node RBAR is discharged from a precharged high state through transistors 554 and 553, which makes transistor 557 conductive, increasing SBAR and driving output signal Q low.
Thus the delay through flip-flop 500 is equal to the setup time of data input signal D (or scan data input signal SDI) before the rising edge of true clock signal CLK plus two nominal gate delays. This delay time is shorter than the delay time through flip-flop 400 of
Scan terminals 610 are implemented as bonding pads used for communicating various signals related to the operation of TAP controller 620. Scan terminals 610 include an input terminal 611 for receiving an external test clock signal labeled “TCLK”, an input terminal 612 for receiving a test mode select signal labeled “TMS”, an input terminal 613 for receiving an active low test reset signal labeled “nTRST”, an input terminal 614 for receiving test data input signal TDI, and an output terminal 615 for providing a test data output signal labeled “TDO”. In some embodiments such as that shown in
TAP controller 620 has inputs or outputs connected to corresponding ones of scan terminals 610, an input for receiving true clock signal CLK, an input for receiving a scan data output signal labeled “SDO”, an output for providing the scan shift enable signal SSE, and an output for providing scan data input signal SDI.
Functional circuit 640 has a set of inputs (not shown in
Scan chain 670 is formed with a set of scan flip-flops with latch bypass labeled “SFF/LB” in which the data output signal Q of one SFF/LB is received at the scan data input SDI of a subsequent SFF/LB, and all SFF/LBs receive the scan enable signal SSE and true clock signal CLK. As shown in
The circuits of
While particular embodiments have been described, various modifications to these embodiments will be apparent to those skilled in the art. For example, a master-slave flip-flop with latch bypass can be implemented by adding an output multiplexer to an existing, conventional master-slave flip-flop cell, or it can be redesigned with fewer inverters. Moreover the master-slave flip-flop or the asymmetric precharged flip-flop can incorporate a scan feature in the embodiments disclosed above, or in other embodiments can omit the scan feature. Moreover various forms of master and slave flip-flops, differential circuits and latch circuits for asymmetric precharged flip-flops, and output multiplexers may be used. In addition the flip-flops with reset bypass can be used in a variety of sequential logic circuits and in a variety of locations, such as pipeline latches of microprocessors.
Accordingly, it is intended by the appended claims to cover all modifications of the disclosed embodiments that fall within the scope of the disclosed embodiments.
Patent | Priority | Assignee | Title |
11095274, | Sep 25 2020 | Advanced Micro Devices, INC | Pre-discharged bypass flip-flop circuit |
11303268, | Sep 27 2018 | Apple Inc. | Semi dynamic flop and single stage pulse flop with shadow latch and transparency on both input data edges |
11789075, | Jun 29 2022 | Advanced Micro Devices, INC | Split-scan sense amplifier flip-flop |
11962303, | Dec 29 2022 | Steve, Dao | High-performance flip-flops having low clock load and embedded level shifting |
Patent | Priority | Assignee | Title |
6781411, | Jan 29 2002 | Texas Instruments Incorporated | Flip flop with reduced leakage current |
7301372, | Feb 12 2003 | STMicroelectronics, Inc. | Domino logic compatible scannable flip-flop |
7301373, | Aug 04 2005 | AMD TECHNOLOGIES HOLDINGS, INC ; GLOBALFOUNDRIES Inc | Asymmetric precharged flip flop |
7353441, | Apr 07 2004 | Kabushiki Kaisha Toshiba | Flip flop circuit and apparatus using a flip flop circuit |
8072252, | Jul 11 2008 | Advanced Micro Devices, Inc. | Compound logic flip-flop having a plurality of input stages |
Executed on | Assignor | Assignee | Conveyance | Frame | Reel | Doc |
Feb 18 2015 | BAILEY, DANIEL W | Advanced Micro Devices, INC | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 034982 | /0562 | |
Feb 19 2015 | Advanced Micro Devices, Inc. | (assignment on the face of the patent) | / |
Date | Maintenance Fee Events |
May 10 2017 | ASPN: Payor Number Assigned. |
Sep 24 2020 | M1551: Payment of Maintenance Fee, 4th Year, Large Entity. |
Nov 25 2024 | M1552: Payment of Maintenance Fee, 8th Year, Large Entity. |
Date | Maintenance Schedule |
Jun 13 2020 | 4 years fee payment window open |
Dec 13 2020 | 6 months grace period start (w surcharge) |
Jun 13 2021 | patent expiry (for year 4) |
Jun 13 2023 | 2 years to revive unintentionally abandoned end. (for year 4) |
Jun 13 2024 | 8 years fee payment window open |
Dec 13 2024 | 6 months grace period start (w surcharge) |
Jun 13 2025 | patent expiry (for year 8) |
Jun 13 2027 | 2 years to revive unintentionally abandoned end. (for year 8) |
Jun 13 2028 | 12 years fee payment window open |
Dec 13 2028 | 6 months grace period start (w surcharge) |
Jun 13 2029 | patent expiry (for year 12) |
Jun 13 2031 | 2 years to revive unintentionally abandoned end. (for year 12) |