传输门、D 锁存器、D触发器、建立时间与保持时间

这篇具有很好参考价值的文章主要介绍了传输门、D 锁存器、D触发器、建立时间与保持时间。希望对大家有所帮助。如果存在错误或未考虑完全的地方,请大家不吝赐教,您也可以点击"举报违法"按钮提交疑问。

Remark:plysicaldesign4u

在了解setup time和hold time之前,我们应该了解D锁存器D latch和 D触发器DFF 。D锁存器和DFF是由传输门transmission gate和反相器inverters组成。

Transmission Gate

  • The transmission gate is consists of a parallel connection of PMOS & NMOS.
  • Two gate voltage of PMOS and NMOS are the complement of each other.
  • The effective resistance of the transmission gate is almost constant because of the parallel connection of PMOS and NMOS.
  • It is a bidirectional circuit and it carries the current in either direction.(这是一个双向电路,它把电流传送到任何一个方向)

PMOS is on when gate input is 0. NMOS is on when gate input is 1.
传输门、D 锁存器、D触发器、建立时间与保持时间

When control is high (1) from the truth table we can see both transistors are ON at the same time and whatever is applied to the input we got at the output.
When control is low (0) from the truth table we can see both transistors are OFF at the same time and whatever is applied to the input is not reached to the output so we got high impedance (Z) at the output.


D latch(时钟电平触发)

The latch is a level-sensitive(电平敏感) device and it is transparent when the clock is high if it is a positive level-sensitive latch and when the clock is low it is called negative level-sensitive latch.

In latch the output (Q) is dependent only on the level of the clock (Clk). In this latch D is control the output (Q).

传输门、D 锁存器、D触发器、建立时间与保持时间

Positive D latch using transmission Gate

  • It consists of two transmission gates and two inverters.

传输门、D 锁存器、D触发器、建立时间与保持时间


传输门、D 锁存器、D触发器、建立时间与保持时间


Negative D latch using transmission Gate

It is also consist of two transmission gate and two inverters. It is working in an exactly opposite manner of the positive level-sensitive D latch.

传输门、D 锁存器、D触发器、建立时间与保持时间
传输门、D 锁存器、D触发器、建立时间与保持时间
传输门、D 锁存器、D触发器、建立时间与保持时间


  • When Clk = high (1) T1 is OFF and T2 is ON, now new data entering into the latch is stopped and we get only previously-stored data at the output

传输门、D 锁存器、D触发器、建立时间与保持时间


D Flip flop(时钟边沿触发)

A D flip flop is an edge-triggered边沿触发 device which means the output (Q) follows the input (D) only at the active edge (for positive rising edge) of the clock (for the positive edge-triggered) and retain the same value until the next rising edge i.e. output does not change between two rising edges, it should be changed only at the rising edge.

输出Q仅在时钟的上升沿(对于上升沿触发)跟随输入D ,并保持相同的值,直到下一个上升沿,即输出不会在两个上升沿之间改变,它应该只在上升边沿改变。

传输门、D 锁存器、D触发器、建立时间与保持时间

  • 上升沿触发与下降沿触发的D触发器
    传输门、D 锁存器、D触发器、建立时间与保持时间

D Flip flop using a transmission gate

It is a combination of negative level-sensitive latch and positive level-sensitive latch that giving an edge-sensitive
device. Data is change only at the active edge of the clock.(data只在有效的时钟边沿改变)
传输门、D 锁存器、D触发器、建立时间与保持时间


传输门、D 锁存器、D触发器、建立时间与保持时间

  • when Clk= Low (0) T1, T4 is ON and T2, T3 is OFF.

  • New data (D) is continuously entering through T1 and getting stored till the edge of T2 (path is D-1-2-3-4 and at node 4 it stops) it cannot pass through T2 and T3 transmission gate because they are off. This operation for the master latch.

  • For slave latch it keeps retaining the previously stored value of output (Q) (path is 5-6-7-8-5).(保持的是以前存储的输出值)


传输门、D 锁存器、D触发器、建立时间与保持时间

  • When Clk= HIGH (1) T2, T3 are ON and T1, T4 are OFF.

  • Now master latch did not allow new data to enter into the device because T1 is OFF and the previously stored data at point 4 is going through the path 4-1-2-5-6-Q and this same data is reflected at the output and this does not change until the next rising edge and this same data is also going to the transmission gate T4 (path is 4-1-2-5-6-7-8 and stops because transmission gate T4 is OFF).


Again if Clk is low the master latching circuit is enabled and there is no change in the output.

Any changes in input is reflected at node 4 which is reflected at the output at the next positive edge of the clock.
输入的任何变化都会反映在“节点 4”上,并会在时钟的下一个上升沿反映在输出上。

So we can say that if D changes, the changes would reflect only at node 4 when the clock is low and it will appear at the output only when the Clk is high.
如果 D发生变化,则D的变化只会在时钟为低电平时反映在节点 4 上,只有在 Clk 为高电平时D的变化才会出现在输出端。


Setup Time

The minimum time for which the data (D) should be stable at the input before the active edge of clock arrival.
传输门、D 锁存器、D触发器、建立时间与保持时间


The data is launched from FF1 and captured at the FF2 at the next clock edge. The launched data should be present at the D pin of capture flop at least setup time before the next active edge of the clock arrives.

launched data应至少在时钟的下一个有效沿到达之前的建立时间前出现在捕获触发器capture flop的 引脚上。

传输门、D 锁存器、D触发器、建立时间与保持时间

So total time to propagate the data(传播数据的总时间) from launch to capture flop = one time period (T) –Tsu
This is the required time for the data travel from launch to capture flop.

And how much time it does take data to arrive at the D pin of capture flop is =Tcq (clock to Q delay of FF1) + Tcomb (combinational delay). This is called arrival time.

So condition for setup timing to not violate

传输门、D 锁存器、D触发器、建立时间与保持时间

  • Require time > Arrival time
  • Slack = Require time - Arrival time
    • Slack > 0 (no violation)
    • Slack < 0 (setup violation)

PR阶段对于setup是否需要fix的判断方法是slack是否小于100ps(-100ps以内都可以)

WNSworst negative slack控制在100ps以内就可以往下继续跑其他flow,这里是指PR阶段即ICC2或Innovus中。PR实现过程是一个实现的过程,而非timing signoff或时序验收阶段。PR这个过程可以理解成工地里面的施工队,而PT是第三方验收单位。工程合不合格需要看PT第三方验收结果。但是为了达到某个特定要求的验收标准,施工队PR就得按照稍微高点的标准来施工,这样验收的时候才能更容易通过(严于律己)。


传输门、D 锁存器、D触发器、建立时间与保持时间

  • setup time

    • When the CLK is low the input (D) is following the path D-1-2-3-4 and it will take some time to reach at the node 4 that time we will call setup time.
  • 如果在时钟的下一个有效边沿到达之前,data (D) is not stable for the setup time,会发生什么

    • So now when the clock turns high the data which has to be launched should be present at node 4
    • but since the data is slow it would not get enough time to travel till node 4 and the data (D) is still be present somewhere between node 2 and 3 (let’s say) 由于数据很慢,它没有足够的时间传输到节点4,而数据(D)仍然出现在节点2和3之间的某个地方
    • so we don’t know which data will be launched at the rising edge and output will be indeterminate(不确定的) because data is not reached at node 4. Data is late.

If skew is present in the design

传输门、D 锁存器、D触发器、建立时间与保持时间
If there is a positive skew it means we are giving more time to data to arrive at D pin of capture FF. so positive skew is good for setup but bad for hold

Tskew is positive or negative depending on the capture clock it comes fast or slow than the launch clock.

  • Positive skew: if the capture clock comes late than the launch clock.
  • Negative skew: if the capture clock comes early than the launch clock.

Hold Time

The minimum time for which the data (D) should be stable at the input after the active edge of clock has arrived.
传输门、D 锁存器、D触发器、建立时间与保持时间

  • Data is launched from FF1 at osec and this data should be captured at FFF2 after one time period (T).
  • The hold time is to make sure that the current data (n) which is being captured at the FF2 should not be corrupted(破坏) by the next data (n+1) which has been launched from the launch flop at the same edge(不会被从同一边沿发射的下一个数据(n + 1)破坏)

Why do we check to hold at the same edge itself?

  • Because this same edge is going to both the flip flops if at this edge The capturing flop FF2 is capturing the current data (n) at this same edge itself the launch flop FF1 is launching the next data (n+1)

  • so the whole check is to make sure that this new data (n+1) which is being launched at the same edge from the launch flop FF1 should not come so fast that it corrupts the current data (n) which is being captured at the capture flop at the same edge.

The arrival time of this (n+1)th data should at least be greater(更长) than the Thold time of capture flop FF2.
Basically this current data (n) should be held for enough time for it to be captured reliably, that enough time is called hold time.

传输门、D 锁存器、D触发器、建立时间与保持时间

  • Hold slack = Arrival time – Require time

    • Hold slack > 0 (No violation)
    • Hold slack < 0 (hold violation)
  • If arrival time is less that means data coming is very fast (or early) so hold violation occurs

If positive skew is present

It means the next data (n+1) will be launched early from the launch flop FF1 and till now the capture clock is not reached to the capture flop FF2 so the data (n) also did not have to capture yet,

but this nth(第n个数据) data has to be stable at the capture clock for Tskew+ Thold time otherwise data n will be corrupted.

So we can say positive skew is bad for hold.(hold slack = arriveal time - require time变大了)
传输门、D 锁存器、D触发器、建立时间与保持时间

If negative skew is present

it means the data (n) is being captured at captured flop FF2 early but by the time (n+1) data will not be getting launched from the launched flop FF1,

so the data (n) got enough time to be held at the input for it to be captured reliability but till now the launch flop did not launch (n+1) data. So negative skew is good for hold.

传输门、D 锁存器、D触发器、建立时间与保持时间文章来源地址https://www.toymoban.com/news/detail-415232.html

到了这里,关于传输门、D 锁存器、D触发器、建立时间与保持时间的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处: 如若内容造成侵权/违法违规/事实不符,请点击违法举报进行投诉反馈,一经查实,立即删除!

领支付宝红包赞助服务器费用

相关文章

  • 数字电子技术之锁存器和触发器

    数字电子技术之锁存器和触发器

    一、组合电路设计的一般步骤:         逻辑抽象=列出真值表=逻辑表达式=逻辑电路图 Notes:         a、可以先对逻辑表达式进行化简得到最简与或式、最简或与式、与非、或非,再对电路进行建模,从而提高电路的运行效率和可读性;         b、最基本的逻辑化简

    2024年02月06日
    浏览(10)
  • 「FPGA」基本时序电路元件——锁存器和触发器

    「FPGA」基本时序电路元件——锁存器和触发器

    FPGA是一种数字电路实现的方式,它是基于小型查找表(16X1)设计的,它的兄弟CPLD是基于高密度复杂组合逻辑设计的。FPGA的一个优点是触发器资源丰富,适合实现复杂的时序设计。本文将从 门级电路 的角度来介绍时序电路的基本结构,锁存器(Latch)和触发器(flip-flop)。

    2024年02月11日
    浏览(6)
  • 【IC设计】时序逻辑的基础—锁存器、触发器

    【IC设计】时序逻辑的基础—锁存器、触发器

    波形图中,表达时序逻辑时如果时钟和数据是对齐的,则默认当前时钟沿采集到的数据位在该时钟上升沿前一时刻的值。表达组合逻辑时如果时钟和数据是对齐的,则默认当前时钟沿采集到的数据为该始终上升沿同一时刻的值。 组合逻辑和时序逻辑的区别 : 主要是看 数据工

    2024年02月03日
    浏览(19)
  • FPGA结构:LATCH(锁存器)和 FF(触发器)介绍

    FPGA结构:LATCH(锁存器)和 FF(触发器)介绍

    如果你想学习有关FPGA的专业术语,可以参考这一篇:FPGA专业术语介绍 一句话概括,能够存储一个状态的数字电路叫做锁存器。 以下是最为基本的一个RS锁存器的具体结构: 以下是它的真值表,其中X表示不确定/无效: R {R} R (清零) S {S} S (置位) Q ( t ) {Q(t)} Q ( t ) (上一时刻的

    2024年01月25日
    浏览(10)
  • educoder数字逻辑实训:锁存器和触发器设计(Logisim)

    educoder数字逻辑实训:锁存器和触发器设计(Logisim)

    第1关:基本SR锁存器的设计 任务描述 本关任务:在Logisim中,构建由两个或非门构成的基本SR锁存器。 第2关:门控SR锁存器的设计  任务描述 本关任务:在Logisim中,在基本锁存器的基础上构建门控SR锁存器。 第3关:与非门构成的门控SR锁存器的设计  任务描述 本关任务:在

    2024年02月04日
    浏览(14)
  • FPGA中锁存器(latch)、触发器(flip-flop)以及寄存器(register)详解

    FPGA中锁存器(latch)、触发器(flip-flop)以及寄存器(register)详解

    1 定义 1.1 锁存器(latch)     锁存器是一种由电平触发的存储单元,为异步电路,数据存储的动作取决于输入信号的电平值,只要输入发生变化,输出即随之发生变化。 1.2 触发器(flip-flop)     触发器是边沿敏感的存储单元,数据存储的动作由某一信号的上升或者下降

    2024年02月12日
    浏览(11)
  • 数字世界的积木-从MOS管搭反相器,与非门,锁存器,触发器

    数字世界的积木-从MOS管搭反相器,与非门,锁存器,触发器

    NMOS管的结构示意图和表示符号如图所示,在P型衬底上制作两个掺杂N型区,形成MOS管的源极S 和漏极D ,中间电极称为栅极G,栅极和衬底之间通过SiO2 绝缘层隔开。 下图为NMOS输出特性曲线,采用共源极接法,漏极特性曲线可分为三个工作区,截止区,可变电阻区,饱和区 当

    2024年02月01日
    浏览(9)
  • verilog 学习笔记 —— 时序逻辑 Sequential Logics (Latches and Flip-Flops 锁存器和触发器)

    verilog 学习笔记 —— 时序逻辑 Sequential Logics (Latches and Flip-Flops 锁存器和触发器)

    1. D flip-flop D触发器 2. D flip-flop  D触发器 3. DFF with reset  带复位的D触发器  4. 带复位值的D触发器 5. DFF with asynchronous reset 带异步复位功能的 D触发器 6. DFF with byte enable   带位启动的触发器 7. D Latch  D锁存器 8. DFF  9. DFF   10. DFF+gate   11. Mux and DFF   12. DFFs and gates   13

    2024年02月04日
    浏览(7)
  • SR锁存器与D锁存器设计与建模

    SR锁存器与D锁存器设计与建模

    ⭐本专栏针对FPGA进行入门学习,从数电中常见的逻辑代数讲起,结合Verilog HDL语言学习与仿真,主要对组合逻辑电路与时序逻辑电路进行分析与设计,对状态机FSM进行剖析与建模。 🔥文章和代码已归档至【Github仓库:hardware-tutorial】,需要的朋友们自取。或者公众号【AISha

    2024年02月02日
    浏览(11)
  • 【STM32】锁存器

    【STM32】锁存器

    在学习FSMC控制外部NOR存储器时,看到在NOR复用接口模式下,AD信号[15:0]是复用的。也就是说,若不使用锁存器:当NADV为低时,ADx(x=0…15)上出现地址信号Ax,当NADV变高时,ADx上出现数据信号Dx。若使用锁存器:可同时在ADx上得到Ax和Dx。 复用模式:低16位数据/地址线复用。在该模

    2024年02月10日
    浏览(7)

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

博客赞助

微信扫一扫打赏

请作者喝杯咖啡吧~博客赞助

支付宝扫一扫领取红包,优惠每天领

二维码1

领取红包

二维码2

领红包