简体   繁体   English

需要帮助构建 T 和 JK 触发器

[英]Need help building a T and JK flip-flop

T Flip Flop人字拖
D flip flop D触发器
D latch D锁存器

I need to build a T and JK flip flop.我需要制作一个 T 和 JK 触发器。 I am able to create the d latch and d flip flop which both seem to work correctly.我能够创建 d 锁存器和 d 触发器,它们似乎都可以正常工作。 However, after I try to add the nor gate to create a T Flip Flop it doesn't produce any results on the vector waveform.但是,在我尝试添加或非门以创建 T 触发器后,它不会在矢量波形上产生任何结果。 Same thing happens when I try to make the JK FF from the D flip flop.当我尝试从 D 触发器制作 JK FF 时,也会发生同样的事情。

You do not specify how you try to build them so it's hard to guess the exact problem.您没有指定如何尝试构建它们,因此很难猜测确切的问题。

A T-FF implemented in VHDL with std_logic would need a reset to get out of the initial 'U' in the storage element.在带有 std_logic 的 VHDL 中实现的 T-FF 需要重置才能摆脱存储元素中的初始“U”。 This 'U' is fed back through the XOR and keeps the FF in 'U' with no way to remove it.这个 'U' 通过 XOR 反馈,并将 FF 保持在 'U' 中,无法将其删除。

If that is your problem, add a reset input.如果这是您的问题,请添加重置输入。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM