[go: up one dir, main page]

CN102355237A - Multiple input-multiple clock maintenance obstruction type JK trigger - Google Patents

Multiple input-multiple clock maintenance obstruction type JK trigger Download PDF

Info

Publication number
CN102355237A
CN102355237A CN2011102190647A CN201110219064A CN102355237A CN 102355237 A CN102355237 A CN 102355237A CN 2011102190647 A CN2011102190647 A CN 2011102190647A CN 201110219064 A CN201110219064 A CN 201110219064A CN 102355237 A CN102355237 A CN 102355237A
Authority
CN
China
Prior art keywords
input
flip
gate
clock
flop
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.)
Pending
Application number
CN2011102190647A
Other languages
Chinese (zh)
Inventor
赵不贿
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jiangsu University
Original Assignee
Jiangsu University
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Jiangsu University filed Critical Jiangsu University
Priority to CN2011102190647A priority Critical patent/CN102355237A/en
Publication of CN102355237A publication Critical patent/CN102355237A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Design And Manufacture Of Integrated Circuits (AREA)

Abstract

本发明公开一种多输入-多时钟维持阻塞型JK触发器,该JK触发器包括一个多输入基本RS锁存器,两个及以上的输入单元和JK转换电路;所述多输入基本锁存器的两输出端分别为q和nq;所述输入单元和JK转换电路的数量相同;任一所述输入单元的两输出端分别连接到所述多输入基本锁存器的输入端,以组成维持阻塞型D触发器;所述输入单元包括数据输入端和时钟触发端;所述输入单元的数据输入端与所述JK转换电路的输出端相连;所述JK转换电路包括两数据输入端。本发明可作为公共存储器,应用于时序电路的设计,特别是由事件驱动的分布式系统和异步电路的设计,与已有的触发器相比,在多路数据输入的情况下,直接由事件驱动,数据选择电路简单,存储速度快。

Figure 201110219064

The invention discloses a multi-input-multi-clock maintaining blocking type JK flip-flop, the JK flip-flop includes a multi-input basic RS latch, two or more input units and a JK conversion circuit; the multi-input basic latch The two output terminals of the device are respectively q and nq; the number of the input unit and the JK conversion circuit is the same; the two output terminals of any one of the input units are respectively connected to the input terminals of the multi-input basic latch to form Maintain blocking D flip-flop; the input unit includes a data input end and a clock trigger end; the data input end of the input unit is connected to the output end of the JK conversion circuit; the JK conversion circuit includes two data input ends. The present invention can be used as a common memory, and is applied to the design of sequential circuits, especially the design of distributed systems and asynchronous circuits driven by events. Compared with the existing flip-flops, in the case of multiple data inputs, the event Drive, data selection circuit is simple, storage speed is fast.

Figure 201110219064

Description

一种多输入-多时钟维持阻塞型JK触发器A Multi-Input-Multi-Clock Sustained Blocking JK Flip-Flop

技术领域 technical field

本发明属于电子技术领域,具体涉及一种触发器电路,特别涉及一种具有多个数据输入通道和多个时钟端的维持阻塞型JK触发器及其具有触发优先的电路。  The invention belongs to the field of electronic technology, and in particular relates to a flip-flop circuit, in particular to a maintenance blocking JK flip-flop with multiple data input channels and multiple clock terminals and a circuit with trigger priority. the

背景技术 Background technique

触发器是一种具有存储功能的器件,在数字电子技术中用于构成各种时序逻辑电路。触发器有多种类型:按触发方式分为电平触发、主从触发、边沿触发;按逻辑功能分RS触发器、D触发器、JK触发器、T触发器等。触发器的特性用触发方式和逻辑功能进行描述,触发方式用于决定状态变化特点,即接收输入信号改变状态的方式;逻辑功能决定状态变化的方向,即次态值。已有的触发器都是单个数据输入通道和单个时钟端。  Flip-flop is a device with storage function, which is used to form various sequential logic circuits in digital electronic technology. There are many types of flip-flops: according to the trigger mode, it is divided into level trigger, master-slave trigger, and edge trigger; according to the logic function, it is divided into RS flip-flop, D flip-flop, JK flip-flop, T flip-flop, etc. The characteristics of the trigger are described by the trigger mode and logic function. The trigger mode is used to determine the characteristics of the state change, that is, the way to receive the input signal to change the state; the logic function determines the direction of the state change, that is, the next state value. Existing flip-flops all have a single data input channel and a single clock terminal. the

由于已有的触发器只有一个时钟端,因此在同步电路的设计中,所有触发器的时钟端都连接在一起。随着集成电路集成度的不断提高,这种方式引起的时钟偏移、时钟负载电流、功耗、电磁辐射干扰等矛盾突出,以事件为驱动的分布式系统和异步电路很好地克服了同步电路的上述缺点,但现有的触发器不便用于以事件为驱动的分布式系统和异步电路的设计。  Since existing flip-flops have only one clock terminal, in the design of a synchronous circuit, the clock terminals of all flip-flops are connected together. With the continuous improvement of integrated circuit integration, the contradictions caused by this method, such as clock offset, clock load current, power consumption, electromagnetic radiation interference, etc., are prominent, and event-driven distributed systems and asynchronous circuits have overcome the synchronous However, the existing flip-flops are inconvenient for the design of event-driven distributed systems and asynchronous circuits. the

发明内容 Contents of the invention

本发明的目的在于提供一种具有多个数据输入通道和多个时钟端的JK触发器及其触发优先电路,该JK触发器每个数据输入端分别对应一个时钟触发端,每个时钟触发端用来接受一个外部触发事件。  The purpose of the present invention is to provide a JK flip-flop with multiple data input channels and multiple clock terminals and its trigger priority circuit, each data input terminal of the JK flip-flop corresponds to a clock trigger terminal, and each clock trigger terminal uses to receive an external trigger event. the

本发明的技术方案是:一种多输入-多时钟维持阻塞型JK触发器,包括一个多输入基本RS锁存器,两个及以上的输入单元和JK转换电路;所述多输入基本RS锁存器的两输出端分别为q和nq;所述输入单元和JK转换电路的数量相同;任一所述输入单元的两输出端分别连接到所述多输入基本RS锁存器的输入端,以组成维持阻塞型D触发器;所述输入单元包括数据输入端和时钟触发端;所述输入单元的数据输入端与所述JK转换电路的输出端相连;所述JK转换电路包括两数据输入端。  The technical scheme of the present invention is: a multi-input-multi-clock maintenance blocking type JK flip-flop, comprising a multi-input basic RS latch, two and more input units and JK conversion circuits; the multi-input basic RS lock The two output terminals of the register are respectively q and nq; the quantity of the input unit and the JK conversion circuit is the same; the two output terminals of any one of the input units are respectively connected to the input terminals of the multi-input basic RS latch, To form a maintenance blocking type D flip-flop; the input unit includes a data input end and a clock trigger end; the data input end of the input unit is connected to the output end of the JK conversion circuit; the JK conversion circuit includes two data input end. the

进一步,所述输入单元由两个基本RS锁存器组成;所述两基本RS锁存器都有一个输入端为所述的时钟触发端。  Further, the input unit is composed of two basic RS latches; one input terminal of the two basic RS latches is the clock trigger terminal. the

进一步,所述JK转换电路由一个或门、两个与门和一个非门组成,所述两数据输入端的第一数据输入端与第一与门输入端连接,第二数据输入端经非门后与第二与门连接;所述第一与门的另一输入端连接所述输出端nq,所述第二与门的另一输入端连接所述输出端q;所述两个与门的输出端跟或门的输入端连接;所述或门的输出端为所述JK转换电路的输出端。  Further, the JK conversion circuit is composed of an OR gate, two AND gates and a NOT gate, the first data input end of the two data input ends is connected to the first AND gate input end, and the second data input end is passed through the NOT gate Afterwards, be connected with the second AND gate; the other input terminal of the first AND gate is connected to the output terminal nq, and the other input terminal of the second AND gate is connected to the output terminal q; the two AND gates The output end of the OR gate is connected with the input end of the OR gate; the output end of the OR gate is the output end of the JK conversion circuit. the

进一步,所述多输入-多时钟维持阻塞型JK触发器包括优先级电路,所述优先级电路输出端接入到所述输入单元的时钟触发端。  Further, the multi-input-multi-clock maintaining blocking JK flip-flop includes a priority circuit, and the output end of the priority circuit is connected to the clock trigger end of the input unit. the

进一步,所述优先级电路包括一个及以上与门电路,所述与门电路的个数比所述输入单元个数少一个;除优先级最高的所述输入单元外,任一所述与门电路的输入端连接所有高优先级输入单元的时钟信号和所连接的输入单元的时钟信号。  Further, the priority circuit includes one or more AND gate circuits, and the number of the AND gate circuits is one less than the number of the input units; except for the input unit with the highest priority, any of the AND gate circuits The input terminals of the circuit are connected to the clock signals of all high-priority input units and the clock signals of the connected input units. the

进一步,所述输入单元为3个。  Further, there are three input units. the

      本发明的有益效果为:多输入-多时钟维持阻塞型JK触发器的各数据输入通道都对应一个时钟端,触发器的时钟端用来接受一个外部触发事件。当外部事件发生时,相应的数据输入通道中的数据被锁存。当多个事件同时到达时,为了避免引起数据冲突,采用了优先级电路,对所述的多输入-多时钟维持阻塞型JK触发器电路进行改进,可以让优先级最高的时钟触发。本发明可作为公共存储器,应用于时序电路的设计,特别适合于由事件驱动的分布式系统和异步电路的设计,与已有的触发器相比,在多路数据输入的情况下,直接由事件驱动,数据选择电路简单,存储速度快。  The beneficial effects of the present invention are: each data input channel of the multi-input-multi-clock maintaining blocking type JK flip-flop corresponds to a clock terminal, and the clock terminal of the flip-flop is used to receive an external trigger event. When an external event occurs, the data in the corresponding data input channel is latched. When multiple events arrive at the same time, in order to avoid causing data conflicts, a priority circuit is used to improve the multi-input-multi-clock maintaining blocking JK flip-flop circuit so that the clock with the highest priority can be triggered. The present invention can be used as a common memory, applied to the design of sequential circuits, especially suitable for the design of distributed systems and asynchronous circuits driven by events. Compared with the existing flip-flops, in the case of multiple data input, directly by Event-driven, simple data selection circuit, fast storage speed. the

附图说明 Description of drawings

图1为3输入-3时钟维持阻塞型JK触发器的电路原理图  Figure 1 is a circuit schematic diagram of a 3-input-3 clock maintaining blocking JK flip-flop

图2为3输入-3时钟维持阻塞型JK功能仿真图 Figure 2 is a 3-input-3 clock maintaining blocking JK function simulation diagram

图3为带优先级的3输入-3时钟维持阻塞型JK触发器的电路原理图 Figure 3 is a circuit schematic diagram of a 3-input-3 clock maintenance blocking JK flip-flop with priority

图4为带优先级的3输入-3时钟维持阻塞型JK触发器功能仿真图 Figure 4 is a functional simulation diagram of a 3-input-3 clock maintenance blocking JK flip-flop with priority

具体实施方式    Detailed ways

图1是本发明的一个实施例,3输入-3时钟维持阻塞型JK触发器的电路原理图,触发器有三组数据输入(j1,k1)、(j2,k2)、(j3,k3),对应的三个时钟分别是cp1、cp2、cp3,输出端为q和nq,nq与q是逻辑互补关系。 Fig. 1 is an embodiment of the present invention, a circuit schematic diagram of a 3-input-3 clock maintaining blocking JK flip-flop, the flip-flop has three sets of data inputs (j1, k1), (j2, k2), (j3, k3), The corresponding three clocks are cp1, cp2, and cp3, and the output terminals are q and nq, and nq and q are logically complementary.

3输入-3时钟维持阻塞型JK触发器包括1个多输入基本RS锁存器、3个输入单元和3个JK转换电路组成。其中与非门I20、I21、I22、I25组成第一输入单元,与非门I17、I18、I19、I24组成第二输入单元,与非门I14、I15、I16、I23组成第三输入单元;或门I30、与门I35、I36和与非门I38组成第一JK转换电路,或门I29、与门I33、I34和与非门I37组成第二JK转换电路,或门I28、与门I31、I32和与非门I39组成第三JK转换电路。  The 3-input-3 clock maintaining blocking JK flip-flop includes a multi-input basic RS latch, 3 input units and 3 JK conversion circuits. Wherein the NAND gates I20, I21, I22, I25 form the first input unit, the NAND gates I17, I18, I19, I24 form the second input unit, and the NAND gates I14, I15, I16, I23 form the third input unit; or Gate I30, AND gate I35, I36 and NAND gate I38 form the first JK conversion circuit, OR gate I29, AND gate I33, I34 and NAND gate I37 form the second JK conversion circuit, OR gate I28, AND gate I31, I32 The NAND gate I39 forms the third JK conversion circuit. the

第一输入单元的输出端与多输入基本RS锁存器相连,构成第一组维持阻塞型D触发器;第一JK转换电路的输出端与第一输入单元的数据输入端连接。第一JK转换电路包括两数据输入端j1和k1,输入端j1和与门I36输入端连接,输入端k1经与非门I38取反后和与门I35连接;与门I36的另一输入端连接输出端nq,与门I35的另一输入端连接输出端q;与门I35和I36的输出端跟或门I30的输入端连接;或门I30的输出端为所述JK转换电路的输出端。  The output terminal of the first input unit is connected with the multi-input basic RS latch to form a first group of sustain blocking D flip-flops; the output terminal of the first JK conversion circuit is connected with the data input terminal of the first input unit. The first JK conversion circuit comprises two data input terminals j1 and k1, the input terminal j1 is connected with the input terminal of the AND gate I36, and the input terminal k1 is connected with the AND gate I35 after being reversed by the NAND gate I38; the other input terminal of the AND gate I36 Connect output terminal nq, another input terminal of AND gate I35 is connected output terminal q; The output terminal of AND gate I35 and I36 is connected with the input terminal of OR gate I30; The output terminal of OR gate I30 is the output terminal of described JK conversion circuit . the

第二输入单元的输出端与多输入基本RS锁存器相连,构成第二组阻塞型D触发器;第二JK转换电路的输出端与第二输入单元的数据输入端连接。第二JK转换电路包括两数据输入端j2和k2,输入端j2和与门I34输入端连接,输入端k2经与非门I37取反后和与门I33连接;与门I34的另一输入端连接输出端nq,与门I33的另一输入端连接输出端q;与门I33和I34的输出端跟或门I29的输入端连接;或门I9的输出端为所述JK转换电路的输出端。  The output end of the second input unit is connected with the multi-input basic RS latch to form a second group of blocked D flip-flops; the output end of the second JK conversion circuit is connected with the data input end of the second input unit. The second JK conversion circuit comprises two data input terminals j2 and k2, the input terminal j2 is connected with the input terminal of the AND gate I34, and the input terminal k2 is connected with the AND gate I33 after being reversed by the NAND gate I37; the other input terminal of the AND gate I34 Connect output terminal nq, another input terminal of AND gate I33 is connected output terminal q; The output terminal of AND gate I33 and I34 is connected with the input terminal of OR gate I29; The output terminal of OR gate I9 is the output terminal of described JK conversion circuit . the

第三输入单元的输出端与多输入基本RS锁存器相连,构成第三组维持阻塞型D触发器;第三JK转换电路的输出端与第三输入单元的数据输入端连接。第三JK转换电路包括两数据输入端j3和k3,输入端j3和与门I32输入端连接,输入端k2经与非门I39取反后和与门I31连接;与门I32的另一输入端连接输出端nq,与门I31的另一输入端连接输出端q;与门I31和I32的输出端跟或门I28的输入端连接;或门I28的输出端为所述JK转换电路的输出端。  The output terminal of the third input unit is connected with the multi-input basic RS latch to form a third group of sustain blocking D flip-flops; the output terminal of the third JK conversion circuit is connected with the data input terminal of the third input unit. The 3rd JK conversion circuit comprises two data input ends j3 and k3, and input end j3 is connected with the input end of AND gate I32, and input end k2 is connected with AND gate I31 after being reversed by NAND gate I39; The other input end of AND gate I32 Connect output terminal nq, another input terminal of AND gate I31 is connected output terminal q; The output terminal of AND gate I31 and I32 is connected with the input terminal of OR gate I28; The output terminal of OR gate I28 is the output terminal of described JK conversion circuit . the

以第一组JK转换电路为例,输入信号k1通过与非门I38取反后再通过与门I35和输出端q的信号进行与逻辑运算,输入信号j1通过与门I36和多输入-多输出维持阻塞型JK触发器输出端nq的信号进行与逻辑运算,与门I35和I36的输出通过或门I30进行或逻辑运算,其输出作为第一组维持阻塞型D触发器的输入信号。这样,第一组维持阻塞型D触发器与第一JK转换电路共同构成第一组维持阻塞型JK触发器;其余两组JK触发器工作原理和第一组JK触发器一样。其他的多输入-多时钟JK触发器,根据数据输入通道数的不同,可根据图1所示电路结构扩展而得。  Taking the first group of JK conversion circuits as an example, the input signal k1 is inverted through the NAND gate I38 and then through the AND gate I35 and the signal at the output terminal q for AND logic operation, and the input signal j1 is passed through the AND gate I36 and the multi-input-multiple output The signal at the output terminal nq of the maintaining blocking type JK flip-flop is subjected to an AND logic operation, and the outputs of the AND gates I35 and I36 are subjected to an OR logic operation through the OR gate I30, and its output is used as the input signal of the first group of maintaining blocking type D flip-flops. In this way, the first group of sustain blocking D flip-flops and the first JK conversion circuit jointly constitute the first group of sustain blocking JK flip-flops; the working principle of the other two groups of JK flip-flops is the same as that of the first group of JK flip-flops. Other multi-input-multi-clock JK flip-flops can be expanded according to the circuit structure shown in Figure 1 according to the number of data input channels. the

在第一组维持阻塞型D触发器电路中,I20、I21和I25、I22构成的两个基本RS锁存器响应外部输入数据d1(I30的输出)和时钟cp1,它们的输出作为由I12、I13构成的第三个基本RS锁存器的直接复位(R)和直接置位信号(S),决定触发器的状态。  In the first group of maintained blocking D flip-flop circuits, two basic RS latches composed of I20, I21, I25, and I22 respond to external input data d1 (output of I30) and clock cp1, and their outputs are used as inputs by I12, The direct reset (R) and direct set signal (S) of the third basic RS latch formed by I13 determine the state of the flip-flop. the

(1)当cp1=0时,与非门I21和I25被封锁,其输出为1,使输出锁存器处于保持状态,触发器的输出q和nq不改变状态,同时I21和I25的反馈信号分别将I20和I22两个门打开,使I22输出为 

Figure 2011102190647100002DEST_PATH_IMAGE001
,I20输出为d1。d1信号进入触发器,为触发器状态刷新做好准备。  (1) When cp1=0, the NAND gates I21 and I25 are blocked, and their output is 1, so that the output latch is in a holding state, the output q and nq of the flip-flop do not change state, and the feedback signals of I21 and I25 Open the two gates of I20 and I22 respectively, so that the output of I22 is
Figure 2011102190647100002DEST_PATH_IMAGE001
, I20 output is d1. The d1 signal goes into the flip-flop ready for the flip-flop state refresh.

(2)当cp1由0变1后瞬间,I21和I25打开,它们的输出状态由I20和I22的输出状态决定,二者永远是互补逻辑关系,保证了RS锁存器约束条件RS=0,由基本RS锁存器的逻辑功能可知,这时

Figure 2011102190647100002DEST_PATH_DEST_PATH_IMAGE002
,触发器按此前d1的逻辑值刷新。  (2) Immediately after cp1 changes from 0 to 1, I21 and I25 are turned on, and their output states are determined by the output states of I20 and I22. The two are always in a complementary logical relationship, ensuring the RS latch constraint RS=0, It can be seen from the logic function of the basic RS latch that at this time
Figure 2011102190647100002DEST_PATH_DEST_PATH_IMAGE002
, the trigger is refreshed according to the previous logical value of d1.

(3)在cp1=1期间,由I20、I21和I25、I22分别构成的两个基本RS锁存器可以保证I21、I25的输出状态不变,使触发器状态不受输入信号d1变化的影响。在q=1时,I21输出状态为0,则将I20和I25封锁。I21至I20的反馈线使I20输出为1,起维持I21输出为0的作用,从而维持了触发器的1状态,称为置1维持线;I21的输出至I25的反馈线使I25输出为1,虽然d1信号在此期间的变化可能使I22输出相应改变,但不会改变I25的输出状态,从而阻塞了d1端输入的置0信号,称为置0阻塞线。在q=0时,I25输出为0,则将I22封锁,使I22输出为1,即阻塞了d1=1信号进入触发器的途径,I22的输出又与cp1=1,I21输出为1共同作用,将I25输出维持为0,而将触发器维持在0状态,故将I25输出至I22的反馈线称为置1阻塞、置0维持线。其余两组维持阻塞型D触发器的工作原理与此相同。  (3) During the period of cp1=1, the two basic RS latches composed of I20, I21, I25, and I22 can ensure that the output states of I21 and I25 remain unchanged, so that the state of the flip-flop is not affected by the change of the input signal d1 . When q=1, I21 output state is 0, then I20 and I25 are blocked. The feedback line from I21 to I20 makes the I20 output 1, and maintains the I21 output as 0, thereby maintaining the 1 state of the flip-flop, which is called the 1 maintenance line; the feedback line from the output of I21 to I25 makes the I25 output 1 , although the change of the d1 signal during this period may cause the output of I22 to change accordingly, but it will not change the output state of I25, thus blocking the 0-setting signal input at the d1 terminal, which is called the 0-setting blocking line. When q=0, the output of I25 is 0, then block I22, so that the output of I22 is 1, which blocks the way of d1=1 signal entering the flip-flop, and the output of I22 works together with cp1=1, and the output of I21 is 1 , the I25 output is maintained at 0, and the flip-flop is maintained at a 0 state, so the feedback line that outputs I25 to I22 is called a 1-blocking, 0-maintaining line. The working principle of the remaining two groups of maintaining blocking D flip-flops is the same. the

D触发器特性方程为

Figure 2011102190647100002DEST_PATH_IMAGE003
,JK触发器特性方程为
Figure 760565DEST_PATH_IMAGE004
,令
Figure 2011102190647100002DEST_PATH_IMAGE005
,通过JK转换电路,就可将维持阻塞型D触发器转换为维持阻塞型JK触发器。  The D flip-flop characteristic equation is
Figure 2011102190647100002DEST_PATH_IMAGE003
, the characteristic equation of JK flip-flop is
Figure 760565DEST_PATH_IMAGE004
,make
Figure 2011102190647100002DEST_PATH_IMAGE005
, through the JK conversion circuit, the maintaining blocking type D flip-flop can be converted into maintaining blocking type JK flip-flop.

在第一组JK转换电路中,将k1输入信号通过I38取反后通过I35和多输入-多输出维持阻塞型JK触发器的输出信号q进行与逻辑运算得到信号,j1输入信号通过I36和多输入-多输出维持阻塞型JK触发器输出信号nq进行与逻辑运算得到信号

Figure 2011102190647100002DEST_PATH_IMAGE007
Figure 134357DEST_PATH_IMAGE007
通过I30和
Figure 871369DEST_PATH_IMAGE006
进行或逻辑运算得到信号
Figure 581705DEST_PATH_IMAGE007
+
Figure 11549DEST_PATH_IMAGE006
作为第一组维持阻塞型D触发器的信号输入,即d1=
Figure 190858DEST_PATH_IMAGE007
+
Figure 465981DEST_PATH_IMAGE006
。其余两组JK转换电路工作原理与此相同。  In the first group of JK conversion circuits, the k1 input signal is inverted through I38, and then the output signal q of the multi-input-multiple output maintenance blocking JK flip-flop is carried out by I35 to obtain the signal , the input signal of j1 is obtained by AND logic operation through I36 and the output signal nq of the multi-input-multiple output maintaining blocking JK flip-flop
Figure 2011102190647100002DEST_PATH_IMAGE007
.
Figure 134357DEST_PATH_IMAGE007
Via I30 and
Figure 871369DEST_PATH_IMAGE006
Perform OR logic operation to get signal
Figure 581705DEST_PATH_IMAGE007
+
Figure 11549DEST_PATH_IMAGE006
As the signal input of the first group of maintenance blocking D flip-flops, that is, d1 =
Figure 190858DEST_PATH_IMAGE007
+
Figure 465981DEST_PATH_IMAGE006
. The working principles of the other two groups of JK conversion circuits are the same.

以上得到了第一组维持阻塞型JK触发器的工作原理,其他两组维持阻塞型JK触发器的工作原理与此相同。  The working principle of the first group of maintaining blocking JK flip-flops is obtained above, and the working principles of the other two groups of maintaining blocking JK flip-flops are the same. the

为了验证它的正确性,对图1所示的多输入-多时钟维持阻塞型JK触发器进行了功能仿真,仿真波形如图2所示(图2中的J1,J2,J3,K1,K2,K3,CP1,CP2,CP3,Q,NQ分别对应于图1中的j1,j2,j3,k1,k2,k3,cp1,cp2,cp3,q,nq)。在图2所示的波形图中,当只有CP1时钟出现时,输出状态满足

Figure 794938DEST_PATH_IMAGE008
的关系;当只有CP2时钟出现时,输出状态满足
Figure 2011102190647100002DEST_PATH_IMAGE009
的关系;当只有CP3时钟出现时,输出状态满足
Figure 67788DEST_PATH_IMAGE010
的关系。结果显示了它的功能的正确性。  In order to verify its correctness, the functional simulation of the multi-input-multi-clock maintaining blocking JK flip-flop shown in Figure 1 is carried out, and the simulation waveform is shown in Figure 2 (J1, J2, J3, K1, K2 in Figure 2 , K3, CP1, CP2, CP3, Q, NQ correspond to j1, j2, j3, k1, k2, k3, cp1, cp2, cp3, q, nq in Figure 1, respectively). In the waveform diagram shown in Figure 2, when only the CP1 clock appears, the output state satisfies
Figure 794938DEST_PATH_IMAGE008
The relationship; when only the CP2 clock appears, the output state satisfies
Figure 2011102190647100002DEST_PATH_IMAGE009
The relationship; when only the CP3 clock appears, the output state satisfies
Figure 67788DEST_PATH_IMAGE010
Relationship. The results show the correctness of its function.

图3设计的带优先级的3输入-3时钟维持阻塞型JK触发器是由图1所示的3输入-3时钟维持阻塞型JK触发器转换而来。各个时钟信号接到优先级电路的输入,优先级电路由两个与门电路I26、I27构成,优先级电路的输出再接到3输入-3时钟维持阻塞型JK触发器的各时钟触发端。当cp1上升沿到达时,I26和I27被封锁,cp2和cp3失去作用;当cp1为低电平且cp2上升沿到达时,I27被封锁,cp3失去作用。该电路的优先级顺序是cp1>cp2>cp3。  The 3-input-3 clock maintaining blocking JK flip-flop with priority designed in Figure 3 is converted from the 3-input-3 clock maintaining blocking JK flip-flop shown in Figure 1 . Each clock signal is connected to the input of the priority circuit. The priority circuit is composed of two AND gate circuits I26 and I27. The output of the priority circuit is then connected to each clock trigger terminal of the 3-input-3 clock maintaining blocking JK flip-flop. When the rising edge of cp1 arrives, I26 and I27 are blocked, and cp2 and cp3 are ineffective; when cp1 is low and the rising edge of cp2 arrives, I27 is blocked, and cp3 is ineffective. The priority order of this circuit is cp1>cp2>cp3. the

为了验证它的正确性,对图3所示的带优先级的3输入-3时钟维持阻塞型JK触发器进行了功能仿真,仿真波形如图4所示(图4中的J1,J2,J3,K1,K2,K3,CP1,CP2,CP3,Q,NQ分别对应于图3中的j1,j2,j3,k1,k2,k3,cp1,cp2,cp3,q,nq)。当CP1和CP3的第一个脉冲同时出现时,由于J1=0,K1=1,故输出Q=0,说明CP1起作用,CP3不起用;当CP1的第六个脉冲与CP2的第一个脉冲同时出现时,由于J1=0,K1=1,Q=0,说明CP1起作用,CP2不起用;当CP2的第五个脉冲与CP3的第二个脉冲同时出现时,由于J2=0,K2=0,故输出保持原来的状态,即Q=1,说明CP2起作用,CP3不起用。结果显示了它的功能的正确性。  In order to verify its correctness, the functional simulation of the 3-input-3 clock maintenance blocking JK flip-flop with priority shown in Figure 3 is carried out, and the simulation waveform is shown in Figure 4 (J1, J2, J3 in Figure 4 , K1, K2, K3, CP1, CP2, CP3, Q, NQ correspond to j1, j2, j3, k1, k2, k3, cp1, cp2, cp3, q, nq in Figure 3, respectively). When the first pulses of CP1 and CP3 appear at the same time, since J1=0 and K1=1, the output Q=0, indicating that CP1 works and CP3 does not work; when the sixth pulse of CP1 and the first pulse of CP2 When the pulses appear at the same time, because J1=0, K1=1, Q=0, it means that CP1 works and CP2 does not work; when the fifth pulse of CP2 and the second pulse of CP3 appear at the same time, because J2=0, K2=0, so the output maintains the original state, that is, Q=1, which means that CP2 works and CP3 does not work. The results show the correctness of its function. the

本发明并不只局限于上述具体实施方式,本领域一般技术人员根据本发明公开的技术内容,可采用其他多种具体实施方式实施本发明,因此,凡是采用本发明的多输入-多时钟、时钟优先级电路的设计结构和思路,应用于其他结构形式、或经转换的触发器以及由这些触发器组成的应用电路,都落入本发明保护的范围。  The present invention is not limited to the above-mentioned specific embodiments, those skilled in the art can implement the present invention by adopting various other specific embodiments according to the technical contents disclosed in the present invention. Therefore, any multi-input-multi-clock, clock The design structure and idea of the priority circuit, applied to other structural forms, or converted flip-flops and application circuits composed of these flip-flops, all fall within the protection scope of the present invention. the

本发明特别适合应用于那些以事件为驱动的分布式系统和异步电路中,以及用于握手协议、FPGA电路等。  The present invention is particularly suitable for use in event-driven distributed systems and asynchronous circuits, as well as in handshaking protocols, FPGA circuits, and the like. the

Claims (6)

1.一种多输入-多时钟维持阻塞型JK触发器,包括一个多输入基本RS锁存器,两个及以上的输入单元和JK转换电路;所述多输入基本RS锁存器的两输出端分别为q和nq;所述输入单元和JK转换电路的数量相同;任一所述输入单元的两输出端分别连接到所述多输入基本RS锁存器的输入端,以组成维持阻塞型D触发器;所述输入单元包括数据输入端和时钟触发端;所述输入单元的数据输入端与所述JK转换电路的输出端相连;所述JK转换电路包括两数据输入端。 1. A multi-input-multi-clock maintains blocking type JK flip-flop, comprising a multi-input basic RS latch, two and above input units and JK conversion circuits; two outputs of the multi-input basic RS latch The terminals are q and nq respectively; the number of the input unit and the JK conversion circuit is the same; the two output terminals of any one of the input units are respectively connected to the input terminals of the multi-input basic RS latch to form a maintenance blocking type D flip-flop; the input unit includes a data input end and a clock trigger end; the data input end of the input unit is connected to the output end of the JK conversion circuit; the JK conversion circuit includes two data input ends. 2.根据权利要求1所述的一种多输入-多时钟维持阻塞型JK触发器,其特征在于:所述输入单元由两个基本RS锁存器组成;所述两基本RS锁存器都有一个输出端与所述时钟触发端连接。 2. A kind of multi-input-multi-clock maintaining blocking type JK flip-flop according to claim 1, is characterized in that: described input unit is made up of two basic RS latches; Both described two basic RS latches An output terminal is connected with the clock trigger terminal. 3.根据权利要求1或2所述的一种多输入-多时钟维持阻塞型JK触发器,其特征在于:所述JK转换电路由一个或门、两个与门和一个非门组成,所述JK转换电路的第一数据输入端与第一与门输入端连接,第二数据输入端经非门后与第二与门连接;所述第一与门的另一输入端连接所述输出端nq,所述第二与门的另一输入端连接所述输出端q;所述两个与门的输出端跟或门的输入端连接;所述或门的输出端为所述JK转换电路的输出端。 3. A kind of multi-input-multi-clock maintaining blocking type JK flip-flop according to claim 1 or 2, is characterized in that: said JK conversion circuit is made up of an OR gate, two AND gates and a NOT gate, so The first data input end of the JK conversion circuit is connected to the first AND gate input end, and the second data input end is connected to the second AND gate after passing through the NOT gate; the other input end of the first AND gate is connected to the output terminal nq, the other input end of the second AND gate is connected to the output end q; the output ends of the two AND gates are connected with the input end of the OR gate; the output end of the OR gate is the JK conversion output of the circuit. 4.根据权利要求2所述的一种多输入-多时钟维持阻塞型JK触发器,其特征在于:所述多输入-多时钟维持阻塞型JK触发器包括优先级电路,所述优先级电路输出端接入到所述输入单元的时钟触发端。 4. A kind of multi-input-multi-clock maintaining blocking type JK flip-flop according to claim 2, characterized in that: said multi-input-multi-clock maintaining blocking type JK flip-flop comprises a priority circuit, and said priority circuit The output end is connected to the clock trigger end of the input unit. 5.根据权利要求4所述的一种多输入-多时钟维持阻塞型JK触发器,其特征在于:所述优先级电路包括一个及以上与门电路,所述与门电路的个数比所述输入单元个数少一个;除优先级最高的所述输入单元外,任一所述与门电路的输入端连接所有高优先级输入单元的时钟信号和所连接的输入单元的时钟信号。 5. A kind of multi-input-multi-clock maintaining blocking type JK flip-flop according to claim 4, characterized in that: said priority circuit comprises one and more AND gate circuits, the number of said AND gate circuits is greater than the The number of input units is one less; except for the input unit with the highest priority, the input end of any AND gate circuit is connected to the clock signals of all high-priority input units and the clock signal of the connected input unit. 6.根据权利要求5所述的一种多输入-多时钟维持阻塞型JK触发器,其特征在于:所述输入单元为3个。 6 . The multi-input-multi-clock sustain blocking JK flip-flop according to claim 5 , wherein there are three input units.
CN2011102190647A 2011-08-02 2011-08-02 Multiple input-multiple clock maintenance obstruction type JK trigger Pending CN102355237A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011102190647A CN102355237A (en) 2011-08-02 2011-08-02 Multiple input-multiple clock maintenance obstruction type JK trigger

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011102190647A CN102355237A (en) 2011-08-02 2011-08-02 Multiple input-multiple clock maintenance obstruction type JK trigger

Publications (1)

Publication Number Publication Date
CN102355237A true CN102355237A (en) 2012-02-15

Family

ID=45578748

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011102190647A Pending CN102355237A (en) 2011-08-02 2011-08-02 Multiple input-multiple clock maintenance obstruction type JK trigger

Country Status (1)

Country Link
CN (1) CN102355237A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103716016A (en) * 2013-12-27 2014-04-09 北京理工大学 Four-steady-state RS trigger supporting multiple-valued logic
CN105261382A (en) * 2014-07-09 2016-01-20 株式会社索思未来 Output circuit

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3714472A (en) * 1967-10-21 1973-01-30 Philips Corp Multiple-input bistable multivibrator
US4390987A (en) * 1981-07-14 1983-06-28 Rockwell International Corporation Multiple input master/slave flip flop apparatus

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3714472A (en) * 1967-10-21 1973-01-30 Philips Corp Multiple-input bistable multivibrator
US4390987A (en) * 1981-07-14 1983-06-28 Rockwell International Corporation Multiple input master/slave flip flop apparatus

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103716016A (en) * 2013-12-27 2014-04-09 北京理工大学 Four-steady-state RS trigger supporting multiple-valued logic
CN103716016B (en) * 2013-12-27 2016-06-15 北京理工大学 A kind of four stable state RS triggering devices supporting multivalued logic
CN105261382A (en) * 2014-07-09 2016-01-20 株式会社索思未来 Output circuit
CN105261382B (en) * 2014-07-09 2018-02-02 株式会社索思未来 Output circuit

Similar Documents

Publication Publication Date Title
CN102970013B (en) Resetting method and resetting control device of register inside chip based on scanning chain
US20120268182A1 (en) Clock gated circuit and digital system having the same
CN102362432A (en) Low-power dual-edge-triggered storage cell with scan test support and clock gating circuit therefor
CN104333351A (en) High-speed master-slave D flip-flop with reset structure
CN102684646A (en) Single-edge master-slave D trigger
US10084434B2 (en) Relative timed clock gating cell
CN105244054B (en) It is a kind of to reinforce register with SRAM type FPGA anti-single particle transient state suitable for aerospace
CN103023467B (en) Based on register repositioning method and the device of scan mode
CN102355235B (en) Multiple input and multiple clock D trigger with maintaining obstructive type
CN104967442B (en) 8421BCD codes synchronization decimal add/subtraction count device based on reversible logic
CN102355237A (en) Multiple input-multiple clock maintenance obstruction type JK trigger
CN102420585A (en) Double-edge pulse D trigger
US20120271968A1 (en) Logic device for combining various interrupt sources into a single interrupt source and various signal sources to control drive strength
CN202385065U (en) Multiple input-multiple clock edge triggered D flip flop
CN105099407B (en) Pulse-type D flip-flop with asynchronous reset functionality
US9564881B2 (en) Area-efficient metal-programmable pulse latch design
CN203219263U (en) single pulse generation circuit
CN103401540B (en) Based on the Programmable pulse width generator of TMS320VC5402 chip
CN202309646U (en) Multi-input and multi-clock maintenance obstruction type JK trigger
US9934170B2 (en) Circuit for controlling access to memory using arbiter
CN210958326U (en) High-reliability self-recoverable latch structure
CN203387478U (en) TMS320VC5402 chip-based programmable pulse width modulation generator
CN203813760U (en) Shift frequency divider circuit
CN103607196B (en) Universal logic block output logic macro cell circuit
CN101295970B (en) Flip-Flops and Shift Registers

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20120215