CN109525222B - A single-phase clock double-edge D flip-flop - Google Patents
A single-phase clock double-edge D flip-flop Download PDFInfo
- Publication number
- CN109525222B CN109525222B CN201811367937.7A CN201811367937A CN109525222B CN 109525222 B CN109525222 B CN 109525222B CN 201811367937 A CN201811367937 A CN 201811367937A CN 109525222 B CN109525222 B CN 109525222B
- Authority
- CN
- China
- Prior art keywords
- nmos transistor
- gate
- drain
- pmos transistor
- edge
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 230000000630 rising effect Effects 0.000 claims abstract description 29
- 101100286980 Daucus carota INV2 gene Proteins 0.000 claims description 15
- 101100397045 Xenopus laevis invs-b gene Proteins 0.000 claims description 15
- 101150110971 CIN7 gene Proteins 0.000 claims description 12
- 101150110298 INV1 gene Proteins 0.000 claims description 12
- 101100397044 Xenopus laevis invs-a gene Proteins 0.000 claims description 12
- 238000004088 simulation Methods 0.000 abstract description 10
- 230000005540 biological transmission Effects 0.000 abstract description 9
- 238000005265 energy consumption Methods 0.000 abstract description 7
- 238000012545 processing Methods 0.000 abstract description 7
- 238000000034 method Methods 0.000 abstract description 6
- 238000005070 sampling Methods 0.000 abstract description 6
- 230000008569 process Effects 0.000 abstract description 5
- 230000004044 response Effects 0.000 abstract description 3
- 230000007704 transition Effects 0.000 description 8
- 238000010586 diagram Methods 0.000 description 5
- 230000008859 change Effects 0.000 description 3
- 238000007599 discharging Methods 0.000 description 2
- 238000011156 evaluation Methods 0.000 description 2
- 230000007306 turnover Effects 0.000 description 2
- 238000007792 addition Methods 0.000 description 1
- 230000000295 complement effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03K—PULSE TECHNIQUE
- H03K3/00—Circuits for generating electric pulses; Monostable, bistable or multistable circuits
- H03K3/01—Details
- H03K3/012—Modifications of generator to improve response time or to decrease power consumption
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03K—PULSE TECHNIQUE
- H03K3/00—Circuits for generating electric pulses; Monostable, bistable or multistable circuits
- H03K3/02—Generators characterised by the type of circuit or by the means used for producing pulses
- H03K3/353—Generators characterised by the type of circuit or by the means used for producing pulses by the use, as active elements, of field-effect transistors with internal or external positive feedback
- H03K3/356—Bistable circuits
- H03K3/3562—Bistable circuits of the primary-secondary type
Landscapes
- Logic Circuits (AREA)
Abstract
Description
技术领域technical field
本发明属于D触发器领域,特别涉及一种单相时钟双边沿D触发器。The invention belongs to the field of D flip-flops, in particular to a single-phase clock double-edge D flip-flop.
背景技术Background technique
在当今的大规模集成电路设计领域,减小功耗,提高数据处理速率是重点关注的领域。触发器广泛的应用在数字集成电路系统中,触发器不仅可以控制电路工作的跳转过程,也可以用来实现分频器,计数器和寄存器等。在数字系统中,大约有30%到70%的系统功耗被用于驱动时钟网络和触发器,触发器的传输时间也限制了数据处理的速率。因而在现在高速率、低功耗的数字处理系统中,寻求一种低功耗,高速率的触发器具有重要的意义。In today's large-scale integrated circuit design field, reducing power consumption and increasing data processing rate are key areas of concern. Flip-flops are widely used in digital integrated circuit systems. Flip-flops can not only control the jump process of circuit work, but also can be used to implement frequency dividers, counters and registers. In digital systems, about 30% to 70% of system power consumption is used to drive clock networks and flip-flops, and the transfer time of flip-flops also limits the rate of data processing. Therefore, in the current high-speed, low-power digital processing system, it is of great significance to seek a low-power, high-speed flip-flop.
在各种触发器中,D触发器是最普遍使用的元件。D触发器可以分为单边沿触发(时钟的上升沿或者下降沿触发)和双边沿触发(时钟的上升沿和下降沿分别进行数据采样传输)。与单边沿D触发器相比较,双边沿D触发器在时钟速率一致的条件下,可以实现两倍的数据处理量,因此可以更好的满足数字集成电路发展的高速率、低功耗的要求。Among various flip-flops, D flip-flops are the most commonly used components. D flip-flops can be divided into single-edge triggers (clock rising or falling edge triggers) and double-edge triggers (clock rising and falling edges perform data sampling and transmission respectively). Compared with the single-edge D flip-flop, the double-edge D flip-flop can achieve twice the data processing volume under the condition of the same clock rate, so it can better meet the high-speed and low-power requirements of digital integrated circuit development .
如图3所示,传统的下降沿D触发器由反相器,CMOS传输门等,共16个晶体管构成(其中反相器INV1和INV2,CMOS传输门TG1和TG2都是由两个CMOS晶体管构成)。图3中,CLK表示时钟信号,CLKB表示CLK的反信号,当时钟CLK有效(时钟从高电平跳变为低电平),电路可以将输入的数据D传输到输出节点Q(Q=D);当时钟CLK停止(时钟为低电平),电路依然可以在输出节点维持自己的逻辑电平。传统D触发器的主要缺点是时钟信号的电容负载很大,这会导致时钟网络的功耗增加,同时采用CMOS传输门实现的D触发器还存在信号反向传导问题,使得后级电路可能影响第一级锁存器的状态,造成寄存器输出错误数据。As shown in Figure 3, the traditional falling-edge D flip-flop is composed of an inverter, a CMOS transmission gate, etc., and a total of 16 transistors (the inverters INV1 and INV2, and the CMOS transmission gates TG1 and TG2 are all composed of two CMOS transistors constitute). In Figure 3, CLK represents the clock signal, and CLKB represents the inverse signal of CLK. When the clock CLK is valid (the clock jumps from high level to low level), the circuit can transmit the input data D to the output node Q (Q=D ); when the clock CLK stops (the clock is at a low level), the circuit can still maintain its own logic level at the output node. The main disadvantage of the traditional D flip-flop is that the capacitive load of the clock signal is very large, which will increase the power consumption of the clock network. At the same time, the D flip-flop implemented by the CMOS transmission gate also has the problem of signal reverse conduction, which may affect the subsequent circuit. The state of the first-stage latch causes the register to output incorrect data.
发明内容Contents of the invention
本发明的目的在于提供一种单相时钟双边沿D触发器,以解决上述问题。The object of the present invention is to provide a single-phase clock double-edge D flip-flop to solve the above problems.
为实现上述目的,本发明采用以下技术方案:To achieve the above object, the present invention adopts the following technical solutions:
一种单相时钟双边沿D触发器,包括上升沿触发电路(1)、下降沿触发电路(2)、第一反相器INV1、第二反相器INV2和两输入与非门电路(3);上升沿触发电路(1)与两输入与非门电路(3)连接,下降沿触发电路(2)通过第二反相器INV2连接到两输入与非门电路(3);上升沿触发电路(1)连接第一反相器INV1。A single-phase clock double-edge D flip-flop, comprising a rising-edge trigger circuit (1), a falling-edge trigger circuit (2), a first inverter INV1, a second inverter INV2, and a two-input NAND gate circuit (3 ); the rising edge trigger circuit (1) is connected to the two-input NAND gate circuit (3), and the falling edge trigger circuit (2) is connected to the two-input NAND gate circuit (3) through the second inverter INV2; the rising edge trigger circuit Circuit (1) is connected to the first inverter INV1.
进一步的,上升沿触发电路包括第一PMOS管PM1、第二PMOS管PM2、第一NMOS管NM1和第二NMOS管NM2;第一PMOS管PM1的源极与电源电压Vdd相连,栅极与时钟信号CLK相连,漏极与第一NMOS管NM1的漏极和第二NMOS管NM2的栅极均相连接;第二PMOS管PM2的源极与电源电压Vdd相连,栅极与时钟信号CLK相连,漏极与第二NMOS管NM2的漏极,第五PMOS管PM5的栅极,以及第六NMOS管NM6的栅极均相连接;第一NMOS管NM1的源极与地线Gnd相连,栅极与第一反相器INV1的输出端相连;第二NMOS管NM2的源极与地线Gnd相连。Further, the rising edge trigger circuit includes a first PMOS transistor PM1, a second PMOS transistor PM2, a first NMOS transistor NM1 and a second NMOS transistor NM2; the source of the first PMOS transistor PM1 is connected to the power supply voltage Vdd, and the gate is connected to the clock The signal CLK is connected, and the drain is connected to the drain of the first NMOS transistor NM1 and the gate of the second NMOS transistor NM2; the source of the second PMOS transistor PM2 is connected to the power supply voltage Vdd, and the gate is connected to the clock signal CLK, The drain is connected to the drain of the second NMOS transistor NM2, the gate of the fifth PMOS transistor PM5, and the gate of the sixth NMOS transistor NM6; the source of the first NMOS transistor NM1 is connected to the ground line Gnd, and the gate It is connected with the output terminal of the first inverter INV1; the source of the second NMOS transistor NM2 is connected with the ground line Gnd.
进一步的,下降沿触发电路包括第三PMOS管PM3、第四PMOS管PM4、第三NMOS管NM3和第四NMOS管NM4;第三PMOS管PM3的源极与电源电压Vdd相连,栅极与输入信号D相连,漏极与第三NMOS管NM3的漏极和第四PMOS管PM4的栅极均相连接;第四PMOS管PM4的源极与电源电压Vdd相连,漏极与第四NMOS管NM4的漏极和第二反相器INV2的输入端均相连接;第三NMOS管NM3的栅极与时钟信号CLK相连,源极与地线Gnd相连;所述第三NMOS管NM4的栅极与时钟信号CLK相连,源极与地线Gnd相连。Further, the falling edge trigger circuit includes a third PMOS transistor PM3, a fourth PMOS transistor PM4, a third NMOS transistor NM3, and a fourth NMOS transistor NM4; the source of the third PMOS transistor PM3 is connected to the power supply voltage Vdd, and the gate is connected to the input The signal D is connected, and the drain is connected to the drain of the third NMOS transistor NM3 and the gate of the fourth PMOS transistor PM4; the source of the fourth PMOS transistor PM4 is connected to the power supply voltage Vdd, and the drain is connected to the fourth NMOS transistor NM4 The drain of the drain is connected to the input end of the second inverter INV2; the gate of the third NMOS transistor NM3 is connected to the clock signal CLK, and the source is connected to the ground line Gnd; the gate of the third NMOS transistor NM4 is connected to the ground line Gnd. The clock signal CLK is connected, and the source is connected to the ground line Gnd.
进一步的,两输入与非门电路包括第五PMOS管PM5、第六PMOS管PM6、第五NMOS管NM5和第六NMOS管NM6;第五PMOS管PM5的源极与电源电压Vdd相连,栅极与第二PMOS管PM2的漏极、第二NMOS管NM2的漏极和第六NMOS管NM6的栅极均相连接,漏极与第六PMOS管PM6的漏极、第六NMOS管NM6的漏极和输出端Q均相连接;第六PMOS管PM6的源极与电源电压Vdd相连,栅极与第五NMOS管NM5的栅极和第二反相器INV2的输出端均相连接;第五NMOS管NM5的源极与地线Gnd相连,漏极与第六NMOS管NM6的源极相连。Further, the two-input NAND gate circuit includes a fifth PMOS transistor PM5, a sixth PMOS transistor PM6, a fifth NMOS transistor NM5, and a sixth NMOS transistor NM6; the source of the fifth PMOS transistor PM5 is connected to the power supply voltage Vdd, and the gate It is connected to the drain of the second PMOS transistor PM2, the drain of the second NMOS transistor NM2, and the gate of the sixth NMOS transistor NM6, and the drain is connected to the drain of the sixth PMOS transistor PM6 and the drain of the sixth NMOS transistor NM6. pole and the output terminal Q are all connected; the source of the sixth PMOS transistor PM6 is connected to the power supply voltage Vdd, and the gate is connected to the gate of the fifth NMOS transistor NM5 and the output terminal of the second inverter INV2; the fifth The source of the NMOS transistor NM5 is connected to the ground line Gnd, and the drain is connected to the source of the sixth NMOS transistor NM6.
进一步的,第一反相器INV1的输入端与输入信号D相连,输出端与第一NMOS管NM1的栅极相连;第二反相器INV2的输入端与第四PMOS管PM4的漏极和第四NMOS管NM4的漏极均相连接,输出端与第五NMOS管NM5的栅极和第六PMOS管PM6的栅极均相连接。Further, the input terminal of the first inverter INV1 is connected to the input signal D, and the output terminal is connected to the gate of the first NMOS transistor NM1; the input terminal of the second inverter INV2 is connected to the drain of the fourth PMOS transistor PM4 and The drains of the fourth NMOS transistor NM4 are connected to each other, and the output terminals are connected to the gate of the fifth NMOS transistor NM5 and the gate of the sixth PMOS transistor PM6.
与现有技术相比,本发明有以下技术效果:Compared with the prior art, the present invention has the following technical effects:
本发明由于边沿触发电路仅由4个晶体管组成,故电路的传播延时短,因而具有快的响应速度。能耗延时积计算公式如下式所示:Because the edge trigger circuit of the present invention is only composed of four transistors, the propagation delay of the circuit is short and thus has a fast response speed. The formula for calculating the energy consumption delay product is as follows:
EDP=Pavtp 2 EDP=P av t p 2
式中Pav表示输出信号每次翻转的平均功耗。从上式可以看出,能耗延时积EDP与电路传播延时的平方成正比,由于电路的传播延时短,因而具有低的能耗延时积。In the formula, P av represents the average power consumption of each flip of the output signal. It can be seen from the above formula that the energy consumption delay product EDP is proportional to the square of the circuit propagation delay, and the circuit has a low energy consumption delay product because the propagation delay of the circuit is short.
本发明的单相时钟双边沿D触发器电路结构简单,晶体管数目少,是一种性能良好的双边沿D触发器,在高速率、低功耗的数字处理系统中具有广泛的应用前景。The single-phase clock double-edge D flip-flop of the invention has a simple circuit structure and fewer transistors, is a double-edge D flip-flop with good performance, and has wide application prospects in high-speed, low-power digital processing systems.
附图说明Description of drawings
图1是本发明所述的单相时钟双边沿D触发器的电路图;Fig. 1 is the circuit diagram of single-phase clock double-edge D flip-flop of the present invention;
图2是本发明的单相时钟双边沿D触发器的逻辑仿真时序图。Fig. 2 is a logic simulation timing diagram of the single-phase clock double-edge D flip-flop of the present invention.
图3是一种传统的下降沿D触发器的电路图;Fig. 3 is a circuit diagram of a traditional falling edge D flip-flop;
具体实施方式Detailed ways
以下结合附图对本发明进一步说明:The present invention is further described below in conjunction with accompanying drawing:
请参阅图1是本发明实施例所述的单相时钟双边沿D触发器的电路图,所述的双边沿D触发器包括上升沿触发电路1、下降沿触发电路2、两个反相器和两输入与非门电路3。1 is a circuit diagram of a single-phase clock double-edge D flip-flop described in an embodiment of the present invention, and the double-edge D flip-flop includes a rising edge trigger circuit 1, a falling edge trigger circuit 2, two inverters and Two-input
参见图1,所述上升沿触发电路1包括:第一PMOS管PM1、第二PMOS管PM2、第一NMOS管NM1和第二NMOS管NM2。其中,Referring to FIG. 1 , the rising edge trigger circuit 1 includes: a first PMOS transistor PM1 , a second PMOS transistor PM2 , a first NMOS transistor NM1 and a second NMOS transistor NM2 . in,
所述第一PMOS管PM1的源极与电源电压Vdd相连,栅极与时钟信号CLK相连,漏极与第一NMOS管NM1的漏极和第二NMOS管NM2的栅极相连接;所述第二PMOS管PM2的源极与电源电压Vdd相连,栅极与时钟信号CLK相连,漏极与第二NMOS管NM2的漏极、第五PMOS管PM5的栅极和第六NMOS管NM6的栅极相连接;所述第一NMOS管NM1的源极与地线Gnd相连,栅极与第一反相器INV1的输出相连;所述第二NMOS管NM2的源极与地线Gnd相连。The source of the first PMOS transistor PM1 is connected to the power supply voltage Vdd, the gate is connected to the clock signal CLK, and the drain is connected to the drain of the first NMOS transistor NM1 and the gate of the second NMOS transistor NM2; The source of the second PMOS transistor PM2 is connected to the power supply voltage Vdd, the gate is connected to the clock signal CLK, and the drain is connected to the drain of the second NMOS transistor NM2, the gate of the fifth PMOS transistor PM5, and the gate of the sixth NMOS transistor NM6 The source of the first NMOS transistor NM1 is connected to the ground line Gnd, and the gate is connected to the output of the first inverter INV1; the source of the second NMOS transistor NM2 is connected to the ground line Gnd.
参见图1,所述下降沿触发电路2包括:第三PMOS管PM3、第四PMOS管PM4、第三NMOS管NM3和第四NMOS管NM4。其中,Referring to FIG. 1 , the falling edge trigger circuit 2 includes: a third PMOS transistor PM3 , a fourth PMOS transistor PM4 , a third NMOS transistor NM3 and a fourth NMOS transistor NM4 . in,
所述第三PMOS管PM3的源极与电源电压Vdd相连,栅极与输入信号D相连,漏极与第三NMOS管NM3的漏极和第四PMOS管PM4的栅极相连接;所述第四PMOS管PM4的源极与电源电压Vdd相连,漏极与第四NMOS管NM4的漏极和第二反相器INV2的输入端相连接;所述第三NMOS管NM3的栅极与时钟信号CLK相连,源极与地线Gnd相连;所述第三NMOS管NM4的栅极与时钟信号CLK相连,源极与地线Gnd相连。The source of the third PMOS transistor PM3 is connected to the power supply voltage Vdd, the gate is connected to the input signal D, and the drain is connected to the drain of the third NMOS transistor NM3 and the gate of the fourth PMOS transistor PM4; The source of the four PMOS transistors PM4 is connected to the power supply voltage Vdd, and the drain is connected to the drain of the fourth NMOS transistor NM4 and the input terminal of the second inverter INV2; the gate of the third NMOS transistor NM3 is connected to the clock signal CLK is connected, and the source is connected to the ground line Gnd; the gate of the third NMOS transistor NM4 is connected to the clock signal CLK, and the source is connected to the ground line Gnd.
参见图1,所述两输入与非门电路3包括:第五PMOS管PM5、第六PMOS管Referring to FIG. 1, the two-input
PM6、第五NMOS管NM5和第六NMOS管NM6。其中,PM6, the fifth NMOS transistor NM5 and the sixth NMOS transistor NM6. in,
所述第五PMOS管PM5的源极与电源电压Vdd相连,栅极与第二PMOS管PM2的漏极、第二NMOS管NM2的漏极和第六NMOS管NM6的栅极相连接,漏极与第六PMOS管PM6的漏极、第六NMOS管NM6的漏极和输出端Q相连接;所述第六PMOS管PM6的源极与电源电压Vdd相连,栅极与第五NMOS管NM5的栅极和第二反相器INV2的输出端相连接;所述第五NMOS管NM5的源极与地线Gnd相连,漏极与第六NMOS管NM6的源极相连。The source of the fifth PMOS transistor PM5 is connected to the power supply voltage Vdd, the gate is connected to the drain of the second PMOS transistor PM2, the drain of the second NMOS transistor NM2 and the gate of the sixth NMOS transistor NM6, and the drain is It is connected to the drain of the sixth PMOS transistor PM6, the drain of the sixth NMOS transistor NM6, and the output terminal Q; the source of the sixth PMOS transistor PM6 is connected to the power supply voltage Vdd, and the gate is connected to the fifth NMOS transistor NM5. The gate is connected to the output terminal of the second inverter INV2; the source of the fifth NMOS transistor NM5 is connected to the ground line Gnd, and the drain is connected to the source of the sixth NMOS transistor NM6.
参见图1,所述第一反相器INV1的输入端与输入信号D相连,输出端与第一NMOS管NM1的栅极相连;所述第二反相器INV2的输入端与第四PMOS管PM4的漏极和第四NMOS管NM4的漏极相连接,输出端与第五NMOS管NM5的栅极和第六PMOS管PM6的栅极相连接。Referring to Fig. 1, the input terminal of the first inverter INV1 is connected to the input signal D, and the output terminal is connected to the gate of the first NMOS transistor NM1; the input terminal of the second inverter INV2 is connected to the gate of the fourth PMOS transistor The drain of PM4 is connected to the drain of the fourth NMOS transistor NM4, and the output terminal is connected to the gate of the fifth NMOS transistor NM5 and the gate of the sixth PMOS transistor PM6.
接下来对本发明所述的单相时钟双边沿D触发器的工作原理叙述如下:Next, the operating principle of the single-phase clock double-edge D flip-flop described in the present invention is described as follows:
首先分析时钟上升沿的触发过程,请参见图1中的上升沿触发电路1。当输入信号D1为低电平,时钟信号CLK为低电平时,第一NMOS管NM1截止,第一PMOS管PM1导通,因而节点A被充电至高电平。此时,第二NMOS管NM2和第二PMOS管PM2导通,通过合理的设置NM2和PM2的尺寸,可以使得节点B的充电大于放电,因而节点B将会被充电为高电平。当时钟信号CLK由低电平跳变为高电平,也就是时钟上升沿到来时,第一PMOS管PM1和第二PMOS管PM2将会截止,节点A仍保持为原来的高电平,第二NMOS管NM2导通,节点B会通过NM2放电为低电平“0”,此时输入信号D1的低电平正确地传输到输出节点B。当输入信号D1为高电平,时钟信号CLK为低电平时,第一NMOS管NM1和第一PMOS管PM1导通,通过合理的设置NM1和PM1的尺寸,可以使得节点A的放电大于充电,因而节点A会被放电为低电平“0”。此时,第二NMOS管NM2截止,第二PMOS管PM2导通,因而节点B会通过PM2被充电至高电平。当时钟信号CLK由低电平跳变为高电平,也就是时钟上升沿到来时,第一PMOS管PM1和第二PMOS管PM2将会截止,节点A仍保持为原来的低电平“0”,第二NMOS管NM2截止,所以节点B仍保持为原来的高电平,此时输入信号D1的高电平正确地传输到输出节点B。当时钟信号CLK为高电平,第一PMOS管PM1和第二PMOS管PM2截止,若输入信号D1由高电平跳变为低电平,第一NMOS管NM1将会截止,节点A会维持原来的低电平“0”,那么第二NMOS管NM2截止,节点B会保持原来的高电平。当时钟信号CLK为高电平,第一PMOS管PM1和第二PMOS管PM2截止,若输入信号D1由低电平跳变为高电平,第一NMOS管NM1将会导通,节点A会通过NM1放电至低电平“0”,那么第二NMOS管NM2截止,节点B会保持原来的低电平“0”。综上所述,上升沿触发电路1可以正确的实现时钟信号CLK上升沿触发,将输入信号D1正确地传输到输出节点B。在CLK为低电平时,输出节点B恒为高电平,在CLK为高电平时,输出节点B不会受到输入信号D1改变的干扰。First analyze the trigger process of the rising edge of the clock, please refer to the rising edge trigger circuit 1 in Figure 1. When the input signal D1 is at a low level and the clock signal CLK is at a low level, the first NMOS transistor NM1 is turned off, and the first PMOS transistor PM1 is turned on, so that the node A is charged to a high level. At this time, the second NMOS transistor NM2 and the second PMOS transistor PM2 are turned on, and by properly setting the sizes of NM2 and PM2, the charging of node B can be made greater than the discharging, so node B will be charged to a high level. When the clock signal CLK transitions from low level to high level, that is, when the rising edge of the clock arrives, the first PMOS transistor PM1 and the second PMOS transistor PM2 will be cut off, and node A remains at the original high level. The second NMOS transistor NM2 is turned on, and the node B will be discharged to a low level "0" through NM2, and at this time, the low level of the input signal D1 is correctly transmitted to the output node B. When the input signal D1 is at a high level and the clock signal CLK is at a low level, the first NMOS transistor NM1 and the first PMOS transistor PM1 are turned on. By setting the sizes of NM1 and PM1 reasonably, the discharge of node A can be made greater than the charge. Therefore, node A will be discharged to a low level "0". At this time, the second NMOS transistor NM2 is turned off, and the second PMOS transistor PM2 is turned on, so the node B will be charged to a high level through PM2. When the clock signal CLK transitions from low level to high level, that is, when the rising edge of the clock arrives, the first PMOS transistor PM1 and the second PMOS transistor PM2 will be cut off, and node A remains at the original low level "0 ”, the second NMOS transistor NM2 is turned off, so the node B remains at the original high level, and at this time the high level of the input signal D1 is correctly transmitted to the output node B. When the clock signal CLK is at a high level, the first PMOS transistor PM1 and the second PMOS transistor PM2 are cut off, and if the input signal D1 transitions from a high level to a low level, the first NMOS transistor NM1 will be cut off, and node A will remain If the original low level is "0", then the second NMOS transistor NM2 will be cut off, and the node B will maintain the original high level. When the clock signal CLK is at a high level, the first PMOS transistor PM1 and the second PMOS transistor PM2 are cut off, and if the input signal D1 changes from a low level to a high level, the first NMOS transistor NM1 will be turned on, and node A will be turned on. After NM1 is discharged to a low level "0", the second NMOS transistor NM2 is turned off, and the node B will maintain the original low level "0". To sum up, the rising edge trigger circuit 1 can correctly realize the rising edge triggering of the clock signal CLK, and transmit the input signal D1 to the output node B correctly. When CLK is at a low level, the output node B is always at a high level, and when CLK is at a high level, the output node B will not be disturbed by changes in the input signal D1.
接着分析时钟下降沿的触发过程,请参见图1中的下降沿触发电路2。当输入信号D为高电平,时钟信号CLK为高电平时,第三NMOS管NM3导通,第三PMOS管PM3截止,因而节点C被放电至低电平“0”。此时,第四NMOS管NM4和第四PMOS管PM4导通,通过合理的设置NM4和PM4的尺寸,可以使得节点F的放电大于充电,因而节点F将会通过NM4被放电为低电平“0”。当时钟信号CLK由高电平跳变为低电平,也就是时钟下降沿到来时,第三NMOS管NM3和第四NMOS管NM4将会截止,节点C仍保持为原来的低电平“0”,第四PMOS管PM4导通,节点F会通过PM4充电为高电平,此时输入信号D的高电平正确地传输到输出节点F。当输入信号D为低电平,时钟信号CLK为高电平时,第三NMOS管NM3和第三PMOS管PM3导通,通过合理的设置NM3和PM3的尺寸,可以使得节点C的充电大于放电,因而节点C会被充电为高电平。此时,第四PMOS管PM4截止,第四NMOS管NM4导通,因而节点F会通过NM4被放电至低电平“0”。当时钟信号CLK由高电平跳变为低电平,也就是时钟下降沿到来时,第三NMOS管NM3和第四NMOS管NM4将会关断,节点C仍保持为原来的高电平,第四PMOS管PM4截止,所以节点F仍保持为原来的低电平“0”,此时输入信号D的低电平正确地传输到输出节点F。当时钟信号CLK为低电平,第三NMOS管NM3和第四NMOS管NM4截止,若输入信号D由高电平跳变为低电平,第三PMOS管PM3将会导通,节点C会通过PM3充电至高电平,那么第四PMOS管PM4截止,节点F会保持原来的高电平。当时钟信号CLK为低电平,第三NMOS管NM3和第四NMOS管NM4截止,若输入信号D由低电平跳变为高电平,第三PMOS管PM3将会截止,节点C会保持原来的高电平,那么第四PMOS管PM4截止,节点F会保持原来的低电平“0”。综上所述,下降沿触发电路2可以正确的实现时钟信号CLK下降沿触发,将输入信号D正确地传输到输出节点F。在CLK为高电平时,输出节点F恒为低电平“0”,在CLK为低电平时,输出节点F不会受到输入信号D改变的干扰。Then analyze the trigger process of the falling edge of the clock, please refer to the falling edge trigger circuit 2 in FIG. 1 . When the input signal D is at a high level and the clock signal CLK is at a high level, the third NMOS transistor NM3 is turned on, and the third PMOS transistor PM3 is turned off, so the node C is discharged to a low level “0”. At this time, the fourth NMOS transistor NM4 and the fourth PMOS transistor PM4 are turned on. By setting the sizes of NM4 and PM4 reasonably, the discharge of node F can be made greater than the charge, so node F will be discharged to a low level through NM4. 0". When the clock signal CLK transitions from a high level to a low level, that is, when the falling edge of the clock arrives, the third NMOS transistor NM3 and the fourth NMOS transistor NM4 will be cut off, and the node C remains at the original low level "0 ”, the fourth PMOS transistor PM4 is turned on, the node F will be charged to a high level through PM4, and at this time, the high level of the input signal D is correctly transmitted to the output node F. When the input signal D is at low level and the clock signal CLK is at high level, the third NMOS transistor NM3 and the third PMOS transistor PM3 are turned on. By setting the sizes of NM3 and PM3 reasonably, the charging of node C can be made greater than the discharging. Thus node C will be charged to a high level. At this time, the fourth PMOS transistor PM4 is turned off, and the fourth NMOS transistor NM4 is turned on, so the node F will be discharged to a low level “0” through NM4 . When the clock signal CLK transitions from a high level to a low level, that is, when the falling edge of the clock arrives, the third NMOS transistor NM3 and the fourth NMOS transistor NM4 will be turned off, and the node C remains at the original high level. The fourth PMOS transistor PM4 is turned off, so the node F remains at the original low level “0”, and the low level of the input signal D is correctly transmitted to the output node F at this time. When the clock signal CLK is at low level, the third NMOS transistor NM3 and the fourth NMOS transistor NM4 are cut off, and if the input signal D changes from high level to low level, the third PMOS transistor PM3 will be turned on, and node C will be turned on. After PM3 is charged to a high level, the fourth PMOS transistor PM4 is turned off, and the node F will maintain the original high level. When the clock signal CLK is at low level, the third NMOS transistor NM3 and the fourth NMOS transistor NM4 are cut off, if the input signal D changes from low level to high level, the third PMOS transistor PM3 will be cut off, and node C will remain The original high level, then the fourth PMOS transistor PM4 is cut off, and the node F will maintain the original low level "0". To sum up, the falling edge trigger circuit 2 can correctly realize the falling edge triggering of the clock signal CLK, and transmit the input signal D to the output node F correctly. When CLK is at a high level, the output node F is always at a low level "0", and when CLK is at a low level, the output node F will not be disturbed by the change of the input signal D.
对上述两个电路特性的分析可知,上升沿触发电路1在时钟脉冲CLK为高电平期间,输出节点B的电平取决于在时钟脉冲CLK的上升沿之前,所需建立时间下的输入信号D1的数值,输出节点B将被充电至高电平或放电至低电平“0”,在时钟脉冲CLK为低电平期间,输出节点B具有连接至电源电压Vdd的路径,将会被充电至高电平。下降沿触发电路2在时钟脉冲CLK为低电平期间,输出节点F的电平取决于在时钟脉冲CLK的下降沿之前,所需建立时间下的输入信号D的数值,输出节点F将被充电至高电平或放电至低电平“0”,在时钟脉冲CLK为高电平期间,输出节点F具有连接至地线Gnd的路径,将会被放电至低电平“0”。因此,两个电路在功能上互补,并且在时钟脉冲CLK为高电平(低电平)期间,输出节点F(B)具有连接地线Gnd(电源电压Vdd)的路径。The analysis of the above two circuit characteristics shows that when the rising edge trigger circuit 1 is at the high level of the clock pulse CLK, the level of the output node B depends on the input signal at the required setup time before the rising edge of the clock pulse CLK The value of D1, the output node B will be charged to a high level or discharged to a low level "0", during the low level of the clock pulse CLK, the output node B has a path connected to the power supply voltage Vdd, and will be charged to a high level level. When the falling edge trigger circuit 2 is at the low level of the clock pulse CLK, the level of the output node F depends on the value of the input signal D at the required setup time before the falling edge of the clock pulse CLK, and the output node F will be charged When the clock pulse CLK is at a high level, the output node F has a path connected to the ground line Gnd and will be discharged to a low level “0”. Therefore, the two circuits are functionally complementary, and the output node F(B) has a path connected to the ground line Gnd (power supply voltage Vdd) while the clock pulse CLK is at the high level (low level).
利用以上两个电路的特性,在时钟信号CLK上升沿到来时,利用下降沿触发电路2在CLK为高电平时输出恒为0的特性,使得上升沿触发电路1的结构可以作为信号输出;在时钟信号CLK下降沿到来时,利用上升沿触发电路1在CLK为低电平时输出恒为1的特性,使得下降沿触发电路2的结构可以作为信号输出,完成双边沿触发的功能。双边沿D触发器电路结构如图1所示,组合输出结构为两输入与非门电路3。在时钟脉冲CLK由低电平跳变为高电平时,上升沿触发电路1实现数据采样传输,而电路节点F被预放电至低电平“0”,经过第二反相器INV2使得节点E为高电平,使得与非门电路3的输出值Q取决于节点B的数值。在时钟脉冲CLK由高电平跳变为低电平时,下降沿触发电路2实现数据采样传输,而电路节点B被预充电至高电平,使得与非门电路3的输出值Q取决于节点F的数值。最后,为了使得输出数据与输入数据具有相同的极性,在电路中插入两个反相器INV1和INV2。Using the characteristics of the above two circuits, when the rising edge of the clock signal CLK arrives, the output of the falling edge trigger circuit 2 is always 0 when the CLK is high, so that the structure of the rising edge trigger circuit 1 can be used as a signal output; When the falling edge of the clock signal CLK arrives, the output of the rising edge trigger circuit 1 is always 1 when the CLK is low, so that the structure of the falling edge trigger circuit 2 can be used as a signal output to complete the function of the double edge trigger. The double-edge D flip-flop circuit structure is shown in Figure 1, and the combined output structure is a two-input
综上所述,本发明的单相时钟双边沿D触发器,通过上升沿D触发器电路、下降沿触发电路、两个反相器和两输入与非门电路的组合控制,在时钟的上升沿和下降沿可以分别完成输出端对输入数据的正确采样传输。在时钟电平稳定期间,输出节点不会受到输入信号状态改变的干扰,实现了单相时钟控制的双边沿D触发器。In summary, the single-phase clock double-edge D flip-flop of the present invention is controlled by a combination of a rising-edge D flip-flop circuit, a falling-edge trigger circuit, two inverters, and two-input NAND gate circuits. The edge and the falling edge can complete the correct sampling transmission of the input data at the output terminal respectively. During the stable period of the clock level, the output node will not be disturbed by the state change of the input signal, and a double-edge D flip-flop controlled by a single-phase clock is realized.
本发明的单相时钟双边沿D触发器,采用UMC 28nm CMOS工艺实现的。在Cadence环境下,对双边沿D触发器进行仿真验证,环境温度为27℃,工艺角为TT,电源电压为1.05V。The single-phase clock double-edge D flip-flop of the present invention is realized by using UMC 28nm CMOS technology. In the Cadence environment, the double-edge D flip-flop is simulated and verified, the ambient temperature is 27°C, the process angle is TT, and the power supply voltage is 1.05V.
请参看图3,图3为本发明实施例所述的单相时钟双边沿D触发器的逻辑仿真时序图,其中,CLK为时钟信号,D为输入的信号,B为节点B的输出信号,E为节点E的输出信号,Q为双边沿D触发器最终的输出信号。从仿真结果可以看出,节点B的输出状态在时钟信号的上升沿发生跳变,节点F的输出状态在时钟信号的下降沿发生跳变,最终Please refer to FIG. 3. FIG. 3 is a logic simulation timing diagram of a single-phase clock double-edge D flip-flop described in an embodiment of the present invention, wherein CLK is a clock signal, D is an input signal, and B is an output signal of node B. E is the output signal of node E, and Q is the final output signal of the double-edge D flip-flop. From the simulation results, it can be seen that the output state of node B jumps on the rising edge of the clock signal, and the output state of node F jumps on the falling edge of the clock signal, and finally
输出信号Q的状态在上升沿和下降沿均发生跳变。在时钟信号电平稳定期间,输出信号Q不会受到输入信号状态改变的干扰,整个触发器的逻辑功能正确,是一个单相时钟双边沿D触发器。The state of the output signal Q transitions on both rising and falling edges. During the stable period of the clock signal level, the output signal Q will not be disturbed by the state change of the input signal, and the logic function of the entire flip-flop is correct, which is a single-phase clock double-edge D flip-flop.
表1仿真实验结果的时序参数(以图1的电路为仿真对象)Table 1 Timing parameters of simulation experiment results (take the circuit in Figure 1 as the simulation object)
表2不同翻转率下触发器的Irms和EDP(以图1的电路为仿真对象)Table 2 Irms and EDP of flip-flops at different flip rates (taking the circuit in Figure 1 as the simulation object)
表1是仿真实验结果的时序参数,从表中数据可以看出,本发明的单相时钟双边沿D触发器具有优秀的性能。在上升沿触发时,最大的传播延时只需14.71ps;在下降沿触发时,最大的传播延时只需16.67ps。表2是对电路的功耗评估,在电路的电压和仿真时间固定时,在不同的数据翻转率下,电路的均方根电流Irms和能耗延时积EDP作为评估标准。从表2中的数据可以看出,本发明的单相时钟双边沿D触发器具有很小的能耗延时积,在数据翻转率为50%时,EDP仅为443.89(fJ.ps);在数据翻转率为100%时,EDP仅为246.27(fJ.ps)。Table 1 is the timing parameters of the simulation experiment results. It can be seen from the data in the table that the single-phase clock double-edge D flip-flop of the present invention has excellent performance. When triggering on the rising edge, the maximum propagation delay is only 14.71ps; when triggering on the falling edge, the maximum propagation delay is only 16.67ps. Table 2 is the power consumption evaluation of the circuit. When the voltage and simulation time of the circuit are fixed, the root mean square current Irms and the energy consumption delay product EDP of the circuit are used as evaluation standards under different data flipping rates. As can be seen from the data in Table 2, the single-phase clock double-edge D flip-flop of the present invention has a very small energy consumption delay product, and when the data turnover rate is 50%, the EDP is only 443.89 (fJ.ps); When the data turnover rate is 100%, the EDP is only 246.27(fJ.ps).
本发明的单相时钟双边沿D触发器,既能在时钟信号的上升沿和下降沿完成数据的正确采样传输,又具有快的响应速度,低的能耗延时积。该单相时钟双边沿D触发器电路结构简单,晶体管数目少,是一种性能良好的双边沿D触发器,在高速率、低功耗的数字处理系统中具有广泛的应用前景。The single-phase clock double-edge D flip-flop of the present invention can not only complete the correct sampling and transmission of data at the rising edge and falling edge of the clock signal, but also has fast response speed and low energy consumption delay product. The single-phase clock double-edge D flip-flop has a simple circuit structure and a small number of transistors. It is a double-edge D flip-flop with good performance and has broad application prospects in high-speed, low-power digital processing systems.
最后应当指出的是,上述的实施例说明并非是对本发明的限制,仅仅是本发明的一种可行性方案,有关技术领域的技术人员在本发明的精神和原则内所作的修改、添加和替换,都应在本发明的保护范围。Finally, it should be pointed out that the above-mentioned embodiment description is not a limitation of the present invention, but only a feasible solution of the present invention, and those skilled in the relevant technical fields can make modifications, additions and replacements within the spirit and principles of the present invention. , should be within the protection scope of the present invention.
Claims (3)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811367937.7A CN109525222B (en) | 2018-11-16 | 2018-11-16 | A single-phase clock double-edge D flip-flop |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811367937.7A CN109525222B (en) | 2018-11-16 | 2018-11-16 | A single-phase clock double-edge D flip-flop |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109525222A CN109525222A (en) | 2019-03-26 |
CN109525222B true CN109525222B (en) | 2022-11-04 |
Family
ID=65778373
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811367937.7A Expired - Fee Related CN109525222B (en) | 2018-11-16 | 2018-11-16 | A single-phase clock double-edge D flip-flop |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109525222B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110798184B (en) * | 2019-12-02 | 2023-02-10 | 深圳清华大学研究院 | A delay circuit unit |
CN114050807B (en) * | 2021-11-05 | 2024-03-26 | 安徽大学 | Master-slave trigger based on TFET |
CN118297011B (en) * | 2024-06-06 | 2024-09-13 | 天水天光半导体有限责任公司 | Simulation optimization method of D trigger and D trigger |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1697320A (en) * | 2005-06-15 | 2005-11-16 | 清华大学 | Falling Edge CMOS Flip-Flop Using Sensitive Amplifier Structure |
CN1702963A (en) * | 2005-06-09 | 2005-11-30 | 清华大学 | Synchronous enabled type condition presetting CMOS trigger |
CN102723930A (en) * | 2012-06-29 | 2012-10-10 | 北京大学 | Double-edge D trigger |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6608513B2 (en) * | 2001-03-28 | 2003-08-19 | Intel Corporation | Flip-flop circuit having dual-edge triggered pulse generator |
US20030226077A1 (en) * | 2002-05-28 | 2003-12-04 | International Business Machines Corporation | Low power level-sensitive scan mechanism |
US20050189977A1 (en) * | 2004-03-01 | 2005-09-01 | Chung-Hui Chen | Double-edge-trigger flip-flop |
US9520877B2 (en) * | 2014-12-16 | 2016-12-13 | Intel Corporation | Apparatus and method for detecting or repairing minimum delay errors |
-
2018
- 2018-11-16 CN CN201811367937.7A patent/CN109525222B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1702963A (en) * | 2005-06-09 | 2005-11-30 | 清华大学 | Synchronous enabled type condition presetting CMOS trigger |
CN1697320A (en) * | 2005-06-15 | 2005-11-16 | 清华大学 | Falling Edge CMOS Flip-Flop Using Sensitive Amplifier Structure |
CN102723930A (en) * | 2012-06-29 | 2012-10-10 | 北京大学 | Double-edge D trigger |
Non-Patent Citations (1)
Title |
---|
触发器的性能和功耗的分析与比较;张璇等;《现代电子技术》;20081015(第20期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN109525222A (en) | 2019-03-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105162438B (en) | It is a kind of to reduce the TSPC type d type flip flops of burr | |
CN109525222B (en) | A single-phase clock double-edge D flip-flop | |
CN102437836B (en) | Low-power-consumption pulse type D trigger | |
CN104333351A (en) | High-speed master-slave D flip-flop with reset structure | |
CN102684646A (en) | Single-edge master-slave D trigger | |
Bonetti et al. | An overlap-contention free true-single-phase clock dual-edge-triggered flip-flop | |
CN102420585A (en) | Double-edge pulse D trigger | |
CN103701435B (en) | A kind of pulsed D D-flip flop adopting floating-gate MOS tube | |
Saini et al. | Low power dual edge triggered flip-flop | |
CN112332813B (en) | CMOS hybrid type edge memristor D trigger circuit with asynchronous setting and resetting | |
TW201421907A (en) | Pulse-based flip flop | |
CN102055463A (en) | Contention constrained RAM latch | |
CN105720948A (en) | Clock control trigger bases on FinFET devices | |
Ojha et al. | Design of low power sequential circuit by using adiabatic techniques | |
KR100300050B1 (en) | Asynchronous sensing differential logic circuit | |
CN113472323B (en) | A D flip-flop circuit with strong latch structure | |
CN105958975B (en) | A kind of pulse-type D flip-flop based on FinFET | |
CN106341104B (en) | Inversion clock generation circuit and register | |
CN105187045B (en) | A kind of dynamic latch of the band pull-up PMOS of high speed circuit | |
CN210958326U (en) | High-reliability self-recoverable latch structure | |
CN111224644B (en) | A low-power D flip-flop | |
CN103716014B (en) | A kind of difference type dual-edge trigger based on neuron mos pipe designs | |
Noble et al. | A novel flip-flop design for low power clocking system | |
Gupta et al. | Low Power Design of SRFlipFlop Using 45nm Technology | |
CN110752841A (en) | High-reliability self-recoverable latch structure |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20221104 |