数字IC必修之Verilog知识点——时序逻辑(sequential logic),锁存器,异步&同步触发器flipflops,N位移位寄存器,计数器,FSM三段式状态机

  1. Flip-Flops
    asynchronous (异步中CDC)
    synchronous(同步时钟)
    时钟上升沿到来后,会产生的

  2. FSMs:有限状态机
    在同步时钟中一般用状态机来进行控制
    ——structural view(FFs separate from combinational logic)
    ——behavioral view(synthesis of sequencers)

  3. Latch with Reset
    Alt
    第二个if没有else连接,所以当g=0时,Q锁存原来的值。

  4. 异步复位FF
    在这里插入图片描述

  5. 同步reset/set
    在这里插入图片描述

  6. FF with Async & Sync Restn

在这里插入图片描述
7. N-bit shift register (N比特移位寄存器)

在这里插入图片描述
8. Counter 计数器
在这里插入图片描述
9. FSM

Mealy state machine: 输出取决于当前状态和当前输入

在这里插入图片描述

Moore: 输出只与现在状态有关

在这里插入图片描述

Moore Verilog FSM 三段式

在这里插入图片描述
在这里插入图片描述
判断转移状态的时候也能写成,next_state= (in)?`one1:`zero ;

Mealy Verilog FSM 三段式

在这里插入图片描述

  • 1
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Sequential Logic and Verilog HDL Fundamentals discusses the analysis and synthesis of synchronous and asynchronous sequential machines. These machines are implemented using Verilog Hardware Description Language (HDL), in accordance with the Institute of Electrical and Electronics Engineers (IEEE) Standard: 1364-1995. The book concentrates on sequential logic design with a focus on the design of various Verilog HDL projects. Emphasis is placed on structured and rigorous design principles that can be applied to practical applications. Each step of the analysis and synthesis procedures is clearly delineated. Each method that is presented is expounded in sufficient detail with accompanying examples. Many analysis and synthesis examples use mixed-logic symbols incorporating both positive- and negative-input logic gates for NAND (not AND) and NOR (not OR) logic, while other examples utilize only positive-input logic gates. The use of mixed logic parallels the use of these symbols in the industry. The book is intended to be a tutorial, and as such, is comprehensive and self-contained. All designs are carried through to completion―nothing is left unfinished or partially designed. Each chapter contains numerous problems of varying complexity to be designed by the reader using Verilog HDL design techniques. The Verilog HDL designs include the design module, the test bench module that tests the design for correct functionality, the outputs obtained from the test bench, and the waveforms obtained from the test bench. Sequential Logic and Verilog HDL Fundamentals presents Verilog HDL with numerous design examples to help the reader thoroughly understand this popular hardware description language. The book is designed for practicing electrical engineers, computer engineers, and computer scientists; for graduate students in electrical engineering, computer engineering, and computer science; and for senior-level undergraduate students. Table of Contents Chapter 1 Introduction to Verilog HDL Chapter 2 Synthesis of Synchronous Sequential Machines 1 Using Verilog HDL Chapter 3 Synthesis of Synchronous Sequential Machines 2 Using Verilog HDL Chapter 4 Synthesis of Asynchronous Sequential Machines Using Verilog HDL Chapter 5 Synthesis of Pulse-Mode Asynchronous Sequential Machines Using Verilog HDL Appendix A Event Queue Appendix B Verilog Project Procedure Appendix C Answers to Select Problems

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值