CN110545091A - a latch circuit - Google Patents
a latch circuit Download PDFInfo
- Publication number
- CN110545091A CN110545091A CN201810524631.1A CN201810524631A CN110545091A CN 110545091 A CN110545091 A CN 110545091A CN 201810524631 A CN201810524631 A CN 201810524631A CN 110545091 A CN110545091 A CN 110545091A
- Authority
- CN
- China
- Prior art keywords
- input
- module
- transistor
- output end
- data
- 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
Links
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03K—PULSE TECHNIQUE
- H03K19/00—Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits
- H03K19/0175—Coupling arrangements; Interface arrangements
- H03K19/017509—Interface arrangements
-
- 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/023—Generators characterised by the type of circuit or by the means used for producing pulses by the use of differential amplifiers or comparators, with internal or external positive feedback
- H03K3/0233—Bistable circuits
Landscapes
- Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Physics & Mathematics (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Mathematical Physics (AREA)
- Logic Circuits (AREA)
Abstract
本申请适用于锁存电路技术领域,提供了一种锁存电路,包括:选通控制模块、数据锁存模块、滤波模块;所述选通控制模块的输出端连接所述数据锁存模块的输入端;所述数据锁存模块的输出端连接所述滤波模块的待滤波数据输入端,且连接所述选通控制模块的输出端。通过选通控制模块接收输入数据,当选通控制模块为关断状态时,锁存电路为锁存模式,选通控制模块停止将输入数据锁存模块,数据锁存模块将已接收到的输入数据进行锁存,使得在锁存电路处于锁存模式时,输入数据能够被有效隔离;通过在数据锁存模块后接入滤波模块,对输入数据进行滤波处理,可以有效滤除输入数据中的高脉冲毛刺。
This application is applicable to the technical field of latch circuits, and provides a latch circuit, including: a gating control module, a data latch module, and a filtering module; the output end of the gating control module is connected to the an input terminal; the output terminal of the data latch module is connected to the input terminal of the data to be filtered of the filter module, and is connected to the output terminal of the gating control module. The input data is received by the gating control module. When the gating control module is in the off state, the latch circuit is in the latch mode, and the gating control module stops inputting the data to the latch module, and the data latching module stores the received input data Latch, so that when the latch circuit is in the latch mode, the input data can be effectively isolated; by connecting the filter module after the data latch module, the input data can be filtered to effectively filter out the high Pulse glitch.
Description
技术领域technical field
本申请涉及锁存电路技术领域,尤其涉及一种锁存电路。The present application relates to the technical field of latch circuits, in particular to a latch circuit.
背景技术Background technique
锁存,就是把信号暂存以维持某种电平状态。锁存电路的最主要作用是缓存,其次是完成高速的控制器与慢速的外设的不同步问题,再其次是解决驱动的问题,最后是解决一个I/O口既能输出也能输入的问题。Latch is to temporarily store the signal to maintain a certain level state. The main function of the latch circuit is to cache, and secondly to complete the asynchronous problem between the high-speed controller and the slow peripheral, then to solve the problem of the driver, and finally to solve the problem that an I/O port can output and input The problem.
锁存电路可以在特定输入脉冲电平作用下改变状态达到数据锁存的目的。但是现有的锁存电路,在数据锁定后,输入信号不能很好地被隔离,输入信号容易对锁存数据造成影响。The latch circuit can change the state under the action of a specific input pulse level to achieve the purpose of data latching. However, in the existing latch circuit, after the data is locked, the input signal cannot be well isolated, and the input signal may easily affect the latched data.
发明内容Contents of the invention
有鉴于此,本申请实施例提供了一种锁存电路,以解决现有技术中输入信号不能被有效隔离的问题。In view of this, the embodiment of the present application provides a latch circuit to solve the problem that the input signal cannot be effectively isolated in the prior art.
本申请实施例的第二方面提供了一种锁存电路,包括:The second aspect of the embodiments of the present application provides a latch circuit, including:
选通控制模块、数据锁存模块、滤波模块;Gate control module, data latch module, filter module;
所述选通控制模块的输出端连接所述数据锁存模块的输入端;所述数据锁存模块的输出端连接所述滤波模块的待滤波数据输入端,且连接所述选通控制模块的输出端;The output terminal of the gate control module is connected to the input terminal of the data latch module; the output terminal of the data latch module is connected to the data input terminal to be filtered of the filter module, and connected to the input terminal of the gate control module output terminal;
所述选通控制模块接收输入数据,并将所述输入数据输入所述数据锁存模块,当所述选通控制模块为关断状态时,所述锁存电路为锁存模式,所述数据锁存模块对所述输入数据进行锁存,并将锁存的输入数据作为待滤波数据输入所述滤波模块,所述滤波模块对所述待滤波数据进行滤波处理得到输出数据。The gate control module receives input data, and inputs the input data into the data latch module. When the gate control module is in an off state, the latch circuit is in a latch mode, and the data The latching module latches the input data, and inputs the latched input data as data to be filtered to the filtering module, and the filtering module performs filtering processing on the data to be filtered to obtain output data.
可选的,所述选通控制模块包括:Optionally, the gating control module includes:
第一晶体管、第二晶体管、第三晶体管、第四晶体管;a first transistor, a second transistor, a third transistor, and a fourth transistor;
所述第一晶体管的栅极与所述第四晶体管的栅极连接后作为所述选通控制模块的第一输入端,所述第一晶体管的源极连接电源,所述第一晶体管的漏极连接所述第二晶体管的源极;The gate of the first transistor is connected to the gate of the fourth transistor as the first input terminal of the gating control module, the source of the first transistor is connected to a power supply, and the drain of the first transistor The pole is connected to the source of the second transistor;
所述第二晶体管的栅极为所述选通控制模块的第二输入端,所述第二晶体管的漏极连接所述第三晶体管的漏极;The gate of the second transistor is the second input terminal of the gating control module, and the drain of the second transistor is connected to the drain of the third transistor;
所述第三晶体管的栅极为所述选通控制模块的第三输入端,所述第三晶体管的源极连接所述第四晶体管的漏极;The gate of the third transistor is the third input terminal of the gating control module, and the source of the third transistor is connected to the drain of the fourth transistor;
所述第四晶体管的源极接地;The source of the fourth transistor is grounded;
当所述选通控制模块的第二输入端接收低电平,且所述选通控制模块的第三输入端接收高电平时,所述选通控制模块为选通状态,所述锁存电路为选通模式,所述选通控制模块将接收到的输入数据输入所述数据锁存模块;When the second input terminal of the gate control module receives a low level, and the third input terminal of the gate control module receives a high level, the gate control module is in a gate state, and the latch circuit In the gate mode, the gate control module inputs the received input data into the data latch module;
当所述选通控制模块的第二输入端接收高电平,且所述选通控制模块的第三输入端接收低电平时,所述选通控制模块为关断状态,所述锁存电路为锁存模式,所述选通控制模块停止将接收到的输入数据输入所述数据锁存模块。When the second input end of the gating control module receives a high level and the third input end of the gating control module receives a low level, the gating control module is in an off state, and the latch circuit In the latch mode, the gate control module stops inputting the received input data into the data latch module.
可选的,所述数据锁存模块包括:Optionally, the data latch module includes:
第一反相器、第二反相器;a first inverter, a second inverter;
所述第一反相器的输入端为所述数据锁存模块的输入端,且连接所述选通控制模块的输出端,所述第一反相器的输出端连接所述第二反相器的输入端;The input end of the first inverter is the input end of the data latch module, and is connected to the output end of the gate control module, and the output end of the first inverter is connected to the second inverter the input terminal of the device;
所述第二反相器的输出端为所述数据锁存模块的输出端,且连接所述第二反相器的输入端。The output end of the second inverter is the output end of the data latch module, and is connected to the input end of the second inverter.
可选的,所述滤波模块包括:Optionally, the filter module includes:
第一触发器、第二触发器、逻辑门;a first flip-flop, a second flip-flop, a logic gate;
所述第一触发器的数据输入端连接所述第二触发器的数据输入端后作为所述滤波模块的待滤波数据输入端,所述第一触发器的时钟信号输入端为所述滤波电路的第一时钟信号输入端,所述第二触发器的时钟信号输入端为所述滤波电路的第二时钟信号输入端;The data input end of the first flip-flop is connected to the data input end of the second flip-flop as the data input end to be filtered of the filtering module, and the clock signal input end of the first flip-flop is the filter circuit The first clock signal input end of the second flip-flop is the second clock signal input end of the filter circuit;
所述第一触发器的输出端连接所述逻辑门的第一输入端,所述第二触发器的输出端连接所述逻辑门的第二输入端;The output end of the first flip-flop is connected to the first input end of the logic gate, and the output end of the second flip-flop is connected to the second input end of the logic gate;
所述逻辑门的输出端为所述滤波模块的输出端。The output terminal of the logic gate is the output terminal of the filtering module.
可选的,所述锁存电路还包括:Optionally, the latch circuit also includes:
第一输入模块;a first input module;
所述第一输入模块的第一输出端连接所述选通控制模块的第一输入端;The first output end of the first input module is connected to the first input end of the gating control module;
所述第一输入模块的第二输出端连接所述选通控制模块的第二输入端;The second output terminal of the first input module is connected to the second input terminal of the gating control module;
当所述第一输入模块接收到低电平信号时,所述第一输入模块的第一输出端输出高电平信号,所述第一输入模块的第二输出端输出低电平信号;When the first input module receives a low-level signal, the first output terminal of the first input module outputs a high-level signal, and the second output terminal of the first input module outputs a low-level signal;
当所述第一输入模块接收到高电平信号时,所述第一输入模块的第一输出端输出低电平信号,所述第一输入模块的第二输出端输出高电平信号。When the first input module receives a high-level signal, the first output terminal of the first input module outputs a low-level signal, and the second output terminal of the first input module outputs a high-level signal.
可选的,所述第一输入模块包括:Optionally, the first input module includes:
第三反相器、第四反相器;The third inverter, the fourth inverter;
所述第三反相器的输入端为所述第一输入模块的输入端,所述第三反相器的输出端为所述第一输入模块的第一输出端;The input terminal of the third inverter is the input terminal of the first input module, and the output terminal of the third inverter is the first output terminal of the first input module;
所述第四反相器的输入端连接所述第三反相器的输出端,所述第四反相器的输出端为所述第一输入模块的第二输出端。The input terminal of the fourth inverter is connected to the output terminal of the third inverter, and the output terminal of the fourth inverter is the second output terminal of the first input module.
可选的,所述锁存电路还包括:Optionally, the latch circuit also includes:
第二输入模块;a second input module;
所述第二输入模块的第一输出端连接所述滤波模块的第二输入端;The first output end of the second input module is connected to the second input end of the filtering module;
所述第二输入模块的第二输出端连接所述滤波模块的第三输入端;The second output terminal of the second input module is connected to the third input terminal of the filter module;
当所述第二输入模块接收到低电平信号时,所述第二输入模块的第一输出端输出高电平信号,所述第二输入模块的第二输出端输出低电平信号;When the second input module receives a low-level signal, the first output terminal of the second input module outputs a high-level signal, and the second output terminal of the second input module outputs a low-level signal;
当所述第二输入模块接收到高电平信号时,所述第二输入模块的第一输出端输出低电平信号,所述第二输入模块的第二输出端输出高电平信号。When the second input module receives a high-level signal, the first output terminal of the second input module outputs a low-level signal, and the second output terminal of the second input module outputs a high-level signal.
可选的,所述第二输入模块包括:Optionally, the second input module includes:
第五反相器、第六反相器;The fifth inverter and the sixth inverter;
所述第五反相器的输入端为所述第二输入模块的输入端,所述第五反相器的输出端为所述第二输入模块的第一输出端;The input terminal of the fifth inverter is the input terminal of the second input module, and the output terminal of the fifth inverter is the first output terminal of the second input module;
所述第六反相器的输入端连接所述第五反相器的输出端,所述第六反相器的输出端为所述第二输入模块的第二输出端。The input terminal of the sixth inverter is connected to the output terminal of the fifth inverter, and the output terminal of the sixth inverter is the second output terminal of the second input module.
可选的,所述锁存电路还包括:Optionally, the latch circuit also includes:
第七反相器;seventh inverter;
所述第七反相器的输入端连接所述数据锁存模块的输出端,所述第七反相器的输出端连接所述滤波模块的第一输入端。The input terminal of the seventh inverter is connected to the output terminal of the data latch module, and the output terminal of the seventh inverter is connected to the first input terminal of the filter module.
可选的,所述反相器包括:Optionally, the inverter includes:
第五晶体管、第六晶体管;The fifth transistor, the sixth transistor;
所述第五晶体管的栅极与所述第六晶体管的栅极为所述反相器的输入端,所述第五晶体管的漏极与所述第六晶体管的漏极为所述反相器的输出端;The gate of the fifth transistor and the gate of the sixth transistor are input terminals of the inverter, and the drain of the fifth transistor and the drain of the sixth transistor are outputs of the inverter end;
所述第五晶体管的源极连接电源,所述第五晶体管的漏极连接所述第六晶体管的漏极;The source of the fifth transistor is connected to a power supply, and the drain of the fifth transistor is connected to the drain of the sixth transistor;
所述第六晶体管的源极接地。The source of the sixth transistor is grounded.
本申请实施例与现有技术相比存在的有益效果是:Compared with the prior art, the embodiments of the present application have the following beneficial effects:
本申请实施例中通过选通控制模块接收输入数据,当选通控制模块为关断状态时,锁存电路为锁存模式,选通控制模块停止将输入数据锁存模块,数据锁存模块将已接收到的输入数据进行锁存,使得在锁存电路处于锁存模式时,输入数据能够被有效隔离;通过在数据锁存模块后接入滤波模块,对输入数据进行滤波处理,可以有效滤除输入数据中的高脉冲毛刺。In the embodiment of the present application, the input data is received by the gating control module. When the gating control module is in the off state, the latch circuit is in the latch mode, and the gating control module stops inputting data to the latch module, and the data latch module will The received input data is latched, so that when the latch circuit is in the latch mode, the input data can be effectively isolated; by connecting the filter module after the data latch module, the input data can be filtered to effectively filter out High pulse glitch in input data.
附图说明Description of drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the accompanying drawings that need to be used in the descriptions of the embodiments or the prior art will be briefly introduced below. Obviously, the accompanying drawings in the following description are only for the present application For some embodiments, those of ordinary skill in the art can also obtain other drawings based on these drawings without paying creative efforts.
图1是本申请实施例提供的锁存电路的示意图;FIG. 1 is a schematic diagram of a latch circuit provided in an embodiment of the present application;
图2是本申请另一实施例提供的锁存电路的示意图;FIG. 2 is a schematic diagram of a latch circuit provided in another embodiment of the present application;
图3是本申请实施例提供的第一输入模块的示意图;Fig. 3 is a schematic diagram of a first input module provided by an embodiment of the present application;
图4是本申请实施例提供的第二输入模块的示意图;Fig. 4 is a schematic diagram of a second input module provided by an embodiment of the present application;
图5是本申请实施例提供的反相器的示意图;FIG. 5 is a schematic diagram of an inverter provided in an embodiment of the present application;
图6是本申请实施例提供的滤除毛刺时序图。FIG. 6 is a timing diagram of glitch filtering provided by the embodiment of the present application.
具体实施方式Detailed ways
以下描述中,为了说明而不是为了限定,提出了诸如特定系统结构、技术之类的具体细节,以便透彻理解本申请实施例。然而,本领域的技术人员应当清楚,在没有这些具体细节的其它实施例中也可以实现本申请。在其它情况中,省略对众所周知的系统、装置、电路以及方法的详细说明,以免不必要的细节妨碍本申请的描述。In the following description, specific details such as specific system structures and technologies are presented for the purpose of illustration rather than limitation, so as to thoroughly understand the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
应当理解,当在本说明书和所附权利要求书中使用时,术语“包括”指示所描述特征、整体、步骤、操作、元素和/或组件的存在,但并不排除一个或多个其它特征、整体、步骤、操作、元素、组件和/或其集合的存在或添加。It should be understood that when used in this specification and the appended claims, the term "comprising" indicates the presence of described features, integers, steps, operations, elements and/or components, but does not exclude one or more other features. , whole, step, operation, element, component and/or the presence or addition of a collection thereof.
还应当理解,在此本申请说明书中所使用的术语仅仅是出于描述特定实施例的目的而并不意在限制本申请。如在本申请说明书和所附权利要求书中所使用的那样,除非上下文清楚地指明其它情况,否则单数形式的“一”、“一个”及“该”意在包括复数形式。It should also be understood that the terminology used in the specification of this application is for the purpose of describing particular embodiments only and is not intended to limit the application. As used in this specification and the appended claims, the singular forms "a", "an" and "the" are intended to include plural referents unless the context clearly dictates otherwise.
还应当进一步理解,在本申请说明书和所附权利要求书中使用的术语“和/或”是指相关联列出的项中的一个或多个的任何组合以及所有可能组合,并且包括这些组合。It should also be further understood that the term "and/or" used in the description of the present application and the appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations .
如在本说明书和所附权利要求书中所使用的那样,术语“如果”可以依据上下文被解释为“当...时”或“一旦”或“响应于确定”或“响应于检测到”。类似地,短语“如果确定”或“如果检测到[所描述条件或事件]”可以依据上下文被解释为意指“一旦确定”或“响应于确定”或“一旦检测到[所描述条件或事件]”或“响应于检测到[所描述条件或事件]”。As used in this specification and the appended claims, the term "if" may be construed as "when" or "once" or "in response to determining" or "in response to detecting" depending on the context . Similarly, the phrase "if determined" or "if [the described condition or event] is detected" may be construed, depending on the context, to mean "once determined" or "in response to the determination" or "once detected [the described condition or event] ]” or “in response to detection of [described condition or event]”.
为了说明本申请所述的技术方案,下面通过具体实施例来进行说明。In order to illustrate the technical solutions described in this application, specific examples are used below to illustrate.
图1是本申请实施例提供的锁存电路示意图,如图所示,所述锁存电路包括:FIG. 1 is a schematic diagram of a latch circuit provided in an embodiment of the present application. As shown in the figure, the latch circuit includes:
选通控制模块100、数据锁存模块200、滤波模块300;Strobe control module 100, data latch module 200, filter module 300;
所述选通控制模块100的输出端连接所述数据锁存模块200的输入端;所述数据锁存模块200的输出端连接所述滤波模块300的待滤波数据输入端,且连接所述选通控制模块100的输出端;The output end of the gate control module 100 is connected to the input end of the data latch module 200; the output end of the data latch module 200 is connected to the data input end to be filtered of the filtering module 300, and connected to the selected through the output terminal of the control module 100;
所述选通控制模块100接收输入数据,并将所述输入数据输入所述数据锁存模块200,当所述选通控制模块100为关断状态时,所述锁存电路为锁存模式,所述数据锁存模块200对所述输入数据进行锁存,并将锁存的输入数据作为待滤波数据输入所述滤波模块300,所述滤波模块300对所述待滤波数据进行滤波处理得到输出数据。The gate control module 100 receives input data, and inputs the input data into the data latch module 200, when the gate control module 100 is in an off state, the latch circuit is in a latch mode, The data latching module 200 latches the input data, and inputs the latched input data as data to be filtered to the filtering module 300, and the filtering module 300 performs filtering processing on the data to be filtered to obtain an output data.
本申请实施例中通过选通控制模块接收输入数据,当选通控制模块为关断状态时,锁存电路为锁存模式,选通控制模块停止将输入数据锁存模块,数据锁存模块将已接收到的输入数据进行锁存,使得在锁存电路处于锁存模式时,输入数据能够被有效隔离。In the embodiment of the present application, the input data is received by the gating control module. When the gating control module is in the off state, the latch circuit is in the latch mode, and the gating control module stops inputting data to the latch module, and the data latch module will The received input data is latched so that the input data can be effectively isolated when the latch circuit is in a latch mode.
图2是本申请另一实施例提供的锁存电路示意图,在图1所示实施例的基础上,可选的,所述选通控制模块100包括:FIG. 2 is a schematic diagram of a latch circuit provided in another embodiment of the present application. On the basis of the embodiment shown in FIG. 1, optionally, the gating control module 100 includes:
第一晶体管G1、第二晶体管G2、第三晶体管G3、第四晶体管G4。The first transistor G1, the second transistor G2, the third transistor G3, and the fourth transistor G4.
所述第一晶体管G1的栅极与所述第四晶体管G4的栅极连接后作为所述选通控制模块100的第一输入端,所述第一晶体管G1的源极连接电源,所述第一晶体管G1的漏极连接所述第二晶体管G2的源极。The gate of the first transistor G1 is connected to the gate of the fourth transistor G4 as the first input terminal of the gating control module 100, the source of the first transistor G1 is connected to a power supply, and the first transistor G1 is connected to a power supply. The drain of a transistor G1 is connected to the source of the second transistor G2.
所述第二晶体管G2的栅极为所述选通控制模块100的第二输入端,所述第二晶体管G2的漏极连接所述第三晶体管G3的漏极。The gate of the second transistor G2 is the second input terminal of the gating control module 100, and the drain of the second transistor G2 is connected to the drain of the third transistor G3.
所述第三晶体管G3的栅极为所述选通控制模块100的第三输入端,所述第三晶体管G3的源极连接所述第四晶体管G4的漏极。The gate of the third transistor G3 is the third input terminal of the gating control module 100, and the source of the third transistor G3 is connected to the drain of the fourth transistor G4.
所述第四晶体管G4的源极接地。The source of the fourth transistor G4 is grounded.
当所述选通控制模块100的第二输入端接收低电平,且所述选通控制模块100的第三输入端接收高电平时,所述选通控制模块100为选通状态,所述锁存电路为选通模式,所述选通控制模块100将接收到的输入数据输入所述数据锁存模块。When the second input terminal of the gate control module 100 receives a low level, and the third input terminal of the gate control module 100 receives a high level, the gate control module 100 is in a gate state, and the gate control module 100 is in a gate state. The latch circuit is in a gate mode, and the gate control module 100 inputs the received input data into the data latch module.
当所述选通控制模块100的第二输入端接收高电平,且所述选通控制模块100的第三输入端接收低电平时,所述选通控制模块100为关断状态,所述锁存电路为锁存模式,所述选通控制模块100停止将接收到的输入数据输入所述数据锁存模块。When the second input terminal of the gating control module 100 receives a high level and the third input terminal of the gating control module 100 receives a low level, the gating control module 100 is in an off state, and the The latch circuit is in a latch mode, and the gate control module 100 stops inputting the received input data into the data latch module.
在实际应用中,第一晶体管、第二晶体管可以是PMOS(positive channel MetalOxide Semiconductor,P沟道MOS),第三晶体管、第四晶体管可以是NMOS(N Metal OxideSemiconductor,N沟道MOS)。选通控制电路中PMOS宽长比为4a,NMOS宽长比为4b;在选通状态下,选通控制电路等效为PMOS宽长比为2a,NMOS宽长比为2b的普通反相器。a和b的比值由选择工艺的PMOS和NMOS的载流子迁移率决定,a和b的比值关系为对应PMOS和NMOS的载流子迁移率倒数,以便使得反相器中PMOS管和NMOS管电流驱动能力相同。而普通反相器对应PMOS宽长比为a,NMOS宽长比为b,那么选通控制电路在选通状态等效出的反相器对应MOS管宽长比为普通反相器的2倍,即驱动能力为普通反相器的两倍。In practical applications, the first transistor and the second transistor may be PMOS (positive channel Metal Oxide Semiconductor, P-channel MOS), and the third transistor and the fourth transistor may be NMOS (N Metal Oxide Semiconductor, N-channel MOS). In the gating control circuit, the PMOS aspect ratio is 4a, and the NMOS aspect ratio is 4b; in the gating state, the gating control circuit is equivalent to an ordinary inverter with a PMOS aspect ratio of 2a and an NMOS aspect ratio of 2b . The ratio of a and b is determined by the carrier mobility of the PMOS and NMOS of the selected process. The ratio of a and b is the reciprocal of the carrier mobility of the corresponding PMOS and NMOS, so that the PMOS tube and the NMOS tube in the inverter The current drive capability is the same. The ordinary inverter corresponds to a PMOS width-to-length ratio of a, and the NMOS width-to-length ratio is b, then the equivalent MOS tube width-to-length ratio of the inverter corresponding to the gate control circuit in the gate state is twice that of the ordinary inverter , that is, the driving capability is twice that of the ordinary inverter.
可选的,所述数据锁存模块200包括:Optionally, the data latch module 200 includes:
第一反相器C1、第二反相器C2。The first inverter C1 and the second inverter C2.
所述第一反相器C1的输入端为所述数据锁存模块200的输入端,且连接所述选通控制模块100的输出端,所述第一反相器C1的输出端连接所述第二反相器C2的输入端。The input terminal of the first inverter C1 is the input terminal of the data latch module 200, and is connected to the output terminal of the gating control module 100, and the output terminal of the first inverter C1 is connected to the The input terminal of the second inverter C2.
所述第二反相器C2的输出端为所述数据锁存模块200的输出端,且连接所述第一反相器C1的输入端。The output terminal of the second inverter C2 is the output terminal of the data latch module 200, and is connected to the input terminal of the first inverter C1.
可选的,所述滤波模块300包括:Optionally, the filtering module 300 includes:
第一触发器D1、第二触发器D2、逻辑门L。The first flip-flop D1, the second flip-flop D2, and the logic gate L.
所述第一触发器D1的数据输入端连接所述第二触发器D2的数据输入端后作为所述滤波模块300的待滤波数据输入端,所述第一触发器D1的时钟信号输入端为所述滤波电路300的第一时钟信号输入端,所述第二触发器D2的时钟信号输入端为所述滤波电路300的第二时钟信号输入端。The data input end of the first flip-flop D1 is connected to the data input end of the second flip-flop D2 as the data input end to be filtered of the filtering module 300, and the clock signal input end of the first flip-flop D1 is The first clock signal input end of the filter circuit 300 and the clock signal input end of the second flip-flop D2 are the second clock signal input end of the filter circuit 300 .
所述第一触发器D1的输出端连接所述逻辑门的第一输入端,所述第二触发器D2的输出端连接所述逻辑门L的第二输入端。The output end of the first flip-flop D1 is connected to the first input end of the logic gate, and the output end of the second flip-flop D2 is connected to the second input end of the logic gate L.
所述逻辑门L的输出端为所述滤波模块300的输出端。The output terminal of the logic gate L is the output terminal of the filtering module 300 .
示例性的,参见图6,第二输入模块分别向第一触发器和第二触发器输入时钟信号,使得第一触发器和第二触发器接收到的时钟信号的相位相差180度,并将第一触发器和第二触发器的输出信号做与运算,即可滤除高脉冲毛刺小于1/2时钟周期的毛刺,而大于1/2时钟周期的被视为有效信号。通过调整时钟频率可以设定需要滤除的毛刺宽度。Exemplarily, referring to FIG. 6 , the second input module inputs clock signals to the first flip-flop and the second flip-flop respectively, so that the phases of the clock signals received by the first flip-flop and the second flip-flop differ by 180 degrees, and The output signals of the first flip-flop and the second flip-flop can be ANDed to filter out high pulse glitches less than 1/2 clock period, while those greater than 1/2 clock period are regarded as valid signals. The burr width to be filtered can be set by adjusting the clock frequency.
可选的,所述锁存电路还包括:Optionally, the latch circuit also includes:
第七反相器C7。Seventh inverter C7.
所述第七反相器C7的输入端连接所述数据锁存模块200的输出端,所述第七反相器C7的输出端连接所述滤波模块300的第一输入端。The input end of the seventh inverter C7 is connected to the output end of the data latch module 200 , and the output end of the seventh inverter C7 is connected to the first input end of the filtering module 300 .
本申请实施例中通过选通控制模块接收输入数据,当选通控制模块为关断状态时,锁存电路为锁存模式,选通控制模块停止将输入数据锁存模块,数据锁存模块将已接收到的输入数据进行锁存,使得在锁存电路处于锁存模式时,输入数据能够被有效隔离;通过在数据锁存模块后接入滤波模块,对输入数据进行滤波处理,可以有效滤除输入数据中的高脉冲毛刺。In the embodiment of the present application, the input data is received by the gating control module. When the gating control module is in the off state, the latch circuit is in the latch mode, and the gating control module stops inputting data to the latch module, and the data latch module will The received input data is latched, so that when the latch circuit is in the latch mode, the input data can be effectively isolated; by connecting the filter module after the data latch module, the input data can be filtered to effectively filter out High pulse glitch in input data.
图3是本申请实施例提供的第一输入模块示意图,在图2所示实施例的基础上,可选的,所述锁存电路还包括:Fig. 3 is a schematic diagram of the first input module provided by the embodiment of the present application. On the basis of the embodiment shown in Fig. 2, optionally, the latch circuit further includes:
第一输入模块400。The first input module 400 .
所述第一输入模块400的第一输出端连接所述选通控制模块100的第一输入端。The first output end of the first input module 400 is connected to the first input end of the gating control module 100 .
所述第一输入模块400的第二输出端连接所述选通控制模块100的第二输入端。The second output end of the first input module 400 is connected to the second input end of the gating control module 100 .
当所述第一输入模块400接收到低电平信号时,所述第一输入模块400的第一输出端输出高电平信号,所述第一输入模块400的第二输出端输出低电平信号。When the first input module 400 receives a low level signal, the first output terminal of the first input module 400 outputs a high level signal, and the second output terminal of the first input module 400 outputs a low level signal Signal.
当所述第一输入模块400接收到高电平信号时,所述第一输入模块400的第一输出端输出低电平信号,所述第一输入模块400的第二输出端输出高电平信号。When the first input module 400 receives a high level signal, the first output terminal of the first input module 400 outputs a low level signal, and the second output terminal of the first input module 400 outputs a high level signal Signal.
在实际应用中,当第一输入模块接收到高电平时,选通控制模块为关断状态,锁存电路为锁存模式;当第一输入模块接收到低电平时,选通控制模块等效为反相器。In practical applications, when the first input module receives a high level, the gating control module is in an off state, and the latch circuit is in a latch mode; when the first input module receives a low level, the gating control module is equivalent to for the inverter.
可选的,所述第一输入模块400包括:Optionally, the first input module 400 includes:
第三反相器C3、第四反相器C4。The third inverter C3 and the fourth inverter C4.
所述第三反相器C3的输入端为所述第一输入模块400的输入端,所述第三反相器C3的输出端为所述第一输入模块400的第一输出端。The input terminal of the third inverter C3 is the input terminal of the first input module 400 , and the output terminal of the third inverter C3 is the first output terminal of the first input module 400 .
所述第四反相器C4的输入端连接所述第三反相器C3的输出端,所述第四反相器C4的输出端为所述第一输入模块400的第二输出端。The input end of the fourth inverter C4 is connected to the output end of the third inverter C3 , and the output end of the fourth inverter C4 is the second output end of the first input module 400 .
本申请实施例通过第一输入模块分别向选通控制模块的第二输入端、第三输入的输入高、低电平信号,以此来控制选通控制模块的关断、选通状态。In the embodiment of the present application, the first input module inputs high and low level signals respectively to the second input terminal and the third input of the gating control module, so as to control the off and on states of the gating control module.
图4是本申请实施例提供的第二输入模块示意图,在图2所示实施例的基础上,可选的,所述锁存电路还包括:Fig. 4 is a schematic diagram of the second input module provided by the embodiment of the present application. On the basis of the embodiment shown in Fig. 2, optionally, the latch circuit further includes:
第二输入模块500。The second input module 500 .
所述第二输入模块500的第一输出端连接所述滤波模块300的第二输入端。The first output terminal of the second input module 500 is connected to the second input terminal of the filter module 300 .
所述第二输入模块500的第二输出端连接所述滤波模块300的第三输入端。The second output terminal of the second input module 500 is connected to the third input terminal of the filtering module 300 .
当所述第二输入模块500接收到低电平信号时,所述第二输入模块500的第一输出端输出高电平信号,所述第二输入模块500的第二输出端输出低电平信号。When the second input module 500 receives a low level signal, the first output terminal of the second input module 500 outputs a high level signal, and the second output terminal of the second input module 500 outputs a low level signal Signal.
当所述第二输入模块500接收到高电平信号时,所述第二输入模块500的第一输出端输出低电平信号,所述第二输入模块500的第二输出端输出高电平信号。When the second input module 500 receives a high level signal, the first output terminal of the second input module 500 outputs a low level signal, and the second output terminal of the second input module 500 outputs a high level signal Signal.
可选的,所述第二输入模块500包括:Optionally, the second input module 500 includes:
第五反相器C5、第六反相器C6。The fifth inverter C5 and the sixth inverter C6.
所述第五反相器C5的输入端为所述第二输入模块500的输入端,所述第五反相器C5的输出端为所述第二输入模块500的第一输出端。The input terminal of the fifth inverter C5 is the input terminal of the second input module 500 , and the output terminal of the fifth inverter C5 is the first output terminal of the second input module 500 .
所述第六反相器C6的输入端连接所述第五反相器C5的输出端,所述第六反相器C6的输出端为所述第二输入模块500的第二输出端。The input terminal of the sixth inverter C6 is connected to the output terminal of the fifth inverter C5 , and the output terminal of the sixth inverter C6 is the second output terminal of the second input module 500 .
本申请实施例通过第二输入模块分别向第一触发器和第二触发器输入电平信号,使得第一触发器和第二触发器接收到的电平信号的相位相差180度,以此实现对待过滤数据中高脉冲毛刺的滤除。In this embodiment of the present application, the second input module respectively inputs level signals to the first flip-flop and the second flip-flop, so that the phase difference of the level signals received by the first flip-flop and the second flip-flop is 180 degrees, thereby realizing Filter out high pulse burrs in the data to be filtered.
图5是本申请实施例提供的反相器示意图,如图所示,图2、图3、图4对应的实施例中,所述反相器包括:Fig. 5 is a schematic diagram of an inverter provided in the embodiment of the present application. As shown in the figure, in the embodiments corresponding to Fig. 2, Fig. 3 and Fig. 4, the inverter includes:
第五晶体管G5、第六晶体管G6。The fifth transistor G5 and the sixth transistor G6.
所述第五晶体管G5的栅极与所述第六晶体管G6的栅极为所述反相器的输入端,所述第五晶体管G5的漏极与所述第六晶体管G6的漏极为所述反相器的输出端。The gate of the fifth transistor G5 and the gate of the sixth transistor G6 are the input terminals of the inverter, and the drain of the fifth transistor G5 and the drain of the sixth transistor G6 are the inverters. output terminal of the phaser.
所述第五晶体管G5的源极连接电源,所述第五晶体管G5的漏极连接所述第六晶体管G6的漏极。The source of the fifth transistor G5 is connected to the power supply, and the drain of the fifth transistor G5 is connected to the drain of the sixth transistor G6.
所述第六晶体管G6的源极接地。The source of the sixth transistor G6 is grounded.
在实际应用中,第五晶体管可以是PMOS(positive channel Metal OxideSemiconductor,P沟道MOS管),第六晶体管可以是NMOS(N Metal Oxide Semiconductor,N沟道MOS管)。In practical applications, the fifth transistor may be a PMOS (positive channel Metal Oxide Semiconductor, P-channel MOS transistor), and the sixth transistor may be an NMOS (N Metal Oxide Semiconductor, N-channel MOS transistor).
本申请实施例中,通过第五晶体管和第六晶体管组成的反相器能够将输入信号的相位反转180度。In the embodiment of the present application, the phase of the input signal can be reversed by 180 degrees through the inverter composed of the fifth transistor and the sixth transistor.
所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以上述各功能单元、模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元、模块完成,即将所述装置的内部结构划分成不同的功能单元或模块,以完成以上描述的全部或者部分功能。实施例中的各功能单元、模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中,上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。另外,各功能单元、模块的具体名称也只是为了便于相互区分,并不用于限制本申请的保护范围。上述系统中单元、模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of description, only the division of the above-mentioned functional units and modules is used for illustration. In practical applications, the above-mentioned functions can be assigned to different functional units, Completion of modules means that the internal structure of the device is divided into different functional units or modules to complete all or part of the functions described above. Each functional unit and module in the embodiment may be integrated into one processing unit, or each unit may exist separately physically, or two or more units may be integrated into one unit, and the above-mentioned integrated units may adopt hardware It can also be implemented in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the present application. For the specific working process of the units and modules in the above system, reference may be made to the corresponding process in the foregoing method embodiments, and details will not be repeated here.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述或记载的部分,可以参见其它实施例的相关描述。In the above-mentioned embodiments, the descriptions of each embodiment have their own emphases, and for parts that are not detailed or recorded in a certain embodiment, refer to the relevant descriptions of other embodiments.
在本发明所提供的实施例中,应该理解到,所揭露的装置,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通讯连接可以是通过一些接口,装置或单元的间接耦合或通讯连接,可以是电性,机械或其它的形式。In the embodiments provided in the present invention, it should be understood that the disclosed device may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be Incorporation may either be integrated into another system, or some features may be omitted, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
以上所述实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围,均应包含在本发明的保护范围之内。The above-described embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still carry out the foregoing embodiments Modifications to the technical solutions recorded in the examples, or equivalent replacement of some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the various embodiments of the present invention, and should be included in within the protection scope of the present invention.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810524631.1A CN110545091A (en) | 2018-05-28 | 2018-05-28 | a latch circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810524631.1A CN110545091A (en) | 2018-05-28 | 2018-05-28 | a latch circuit |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110545091A true CN110545091A (en) | 2019-12-06 |
Family
ID=68700664
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810524631.1A Pending CN110545091A (en) | 2018-05-28 | 2018-05-28 | a latch circuit |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110545091A (en) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6211713B1 (en) * | 1999-04-27 | 2001-04-03 | International Business Machines Corporation | Adjustable feedback for CMOS latches |
US6239640B1 (en) * | 1999-02-23 | 2001-05-29 | Silicon Integrated Systems Corporation | Double edge trigger d-type flip-flop |
US20040008088A1 (en) * | 2002-05-23 | 2004-01-15 | Nicola Da Dalt | Phase detector for a delay locked loop and delay locked loop with the phase detector |
TW200735532A (en) * | 2006-03-09 | 2007-09-16 | Sunplus Technology Co Ltd | De-glitch circuit |
CN101141123A (en) * | 2007-10-11 | 2008-03-12 | 电子科技大学 | A glitch detection device |
US20100085802A1 (en) * | 2005-05-27 | 2010-04-08 | Temarylogic Llc | Multi-State Latches From n-State Reversible Inverters |
US20160094204A1 (en) * | 2014-09-26 | 2016-03-31 | Texas Instruments Incorporated | Flip-flops with low clock power |
CN106409261A (en) * | 2016-11-29 | 2017-02-15 | 武汉华星光电技术有限公司 | GOA drive circuit |
CN208299767U (en) * | 2018-05-28 | 2018-12-28 | 深圳指芯智能科技有限公司 | A kind of latch cicuit |
-
2018
- 2018-05-28 CN CN201810524631.1A patent/CN110545091A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6239640B1 (en) * | 1999-02-23 | 2001-05-29 | Silicon Integrated Systems Corporation | Double edge trigger d-type flip-flop |
US6211713B1 (en) * | 1999-04-27 | 2001-04-03 | International Business Machines Corporation | Adjustable feedback for CMOS latches |
US20040008088A1 (en) * | 2002-05-23 | 2004-01-15 | Nicola Da Dalt | Phase detector for a delay locked loop and delay locked loop with the phase detector |
US20100085802A1 (en) * | 2005-05-27 | 2010-04-08 | Temarylogic Llc | Multi-State Latches From n-State Reversible Inverters |
TW200735532A (en) * | 2006-03-09 | 2007-09-16 | Sunplus Technology Co Ltd | De-glitch circuit |
CN101141123A (en) * | 2007-10-11 | 2008-03-12 | 电子科技大学 | A glitch detection device |
US20160094204A1 (en) * | 2014-09-26 | 2016-03-31 | Texas Instruments Incorporated | Flip-flops with low clock power |
CN106409261A (en) * | 2016-11-29 | 2017-02-15 | 武汉华星光电技术有限公司 | GOA drive circuit |
CN208299767U (en) * | 2018-05-28 | 2018-12-28 | 深圳指芯智能科技有限公司 | A kind of latch cicuit |
Non-Patent Citations (2)
Title |
---|
孙崇德: "集成电路原理与应用", 31 March 1984, 人民邮电出版社, pages: 331 * |
王玉卿: "电路计算机辅助设计", 30 June 1993, 北京大学出版社, pages: 119 - 120 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4230704B2 (en) | High frequency MOSFET switch | |
CN110557116A (en) | Logic gate circuit | |
US10447251B2 (en) | Power efficient high speed latch circuits and systems | |
Morgenshtein et al. | Asynchronous gate-diffusion-input (GDI) circuits | |
TWI827389B (en) | Clock gating cell | |
US7436220B2 (en) | Partially gated mux-latch keeper | |
US7233184B1 (en) | Method and apparatus for a configurable latch | |
CN110545091A (en) | a latch circuit | |
CN107707248A (en) | Same OR circuit, adjusting method and NOR gate circuit | |
JP3380329B2 (en) | Digital data arbitration device | |
US20020196064A1 (en) | Edge triggered latch with symmetrical paths from clock to data outputs | |
CN103199845B (en) | Bidirectional buffer based on open drain bus | |
CN105391430B (en) | Multiplexing two data input master-slave type D trigger | |
CN208299767U (en) | A kind of latch cicuit | |
CN1710811B (en) | Synchronous Scan Enable Condition Precharges CMOS Flip-Flops | |
CN106788493B (en) | Low-speed transmitter circuit | |
US9312860B1 (en) | Gated differential logic circuit | |
CN207603610U (en) | With OR circuit and NOR gate circuit | |
CN118573171B (en) | Buffer circuit, chip and electronic device | |
WO2012061799A2 (en) | Latch circuits with synchronous data loading and self-timed asynchronous data capture | |
CN102611431B (en) | Register with combinational logic path | |
CN207529641U (en) | Driving device | |
US6958629B2 (en) | Single stage, level restore circuit with mixed signal inputs | |
CN109450411A (en) | Latch and its driving method and chip | |
CN118100639B (en) | Bidirectional voltage conversion circuit with direction self-identification function |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20191206 |