当前位置:   article > 正文

Verilog专题(十三)计数器的级联实现1000分频的分频器_想要实现分频系数为1000的分频电路,须多个计数器级联。

想要实现分频系数为1000的分频电路,须多个计数器级联。

HDLBits网址:https://hdlbits.01xz.net/wiki/Main_Page

题目

From a 1000 Hz clock, derive a 1 Hz signal, called OneHertz, that could be used for the digital wall clock. Build the frequency divider using modulo-10 (BCD) counters and as few other gates as possible. Also output the enable signals from each of the BCD counters you use (c_enable[0] for the fastest counter, c_enable[2] for the slowest).

 

    The following BCD counter is provided for you. Enable must be high for the counter to run. Reset is synchronous and set high to force the counter to zero. All counters in your circuit must directly use the same 1000 Hz signal.

 

我的设计

    通过例化一个10进制bcd码计数器,来实现1000分频的分频器,即把一个1KHz的时钟通过分频的手段,变成一个1Hz的信号,那就计数到999给一个输出作为1Hz信号输出。

    那怎么样计数到999?这个时候就要利用题目提供的BCD计数器,例化成为个位计数器、

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/凡人多烦事01/article/detail/725202
推荐阅读
相关标签
  

闽ICP备14008679号