登录
首页 » 其他项目 » VHDL电子时钟

VHDL电子时钟

于 2023-08-22 发布 文件大小:616.00 kB
0 58
下载积分: 2 下载次数: 1

代码说明:

用VHDL实现的电子时钟,24小时格式,可以通过按键调整时间得益于数电知识中的计数器级联构成高进制计数器的启发,我的思路是这样的:1)各不同位的时钟问题。时钟共有6位,分别为秒的高低位、分的高低位、时的高低位。把秒低位的进位当作秒高位的时钟,秒高位的进位当作分低位的时钟,依次类推,可以解决不同位的不同时钟问题。2)各不同位的进制问题。与此同时要解决进制问题,秒分的低位为十进制,秒分的高位为六进制,以及时的高位为三进制(电子时钟为24小时制),这五种情况都易解决,但时的低位就有点复杂了,既有十进制的情形又有四进制的情形。仔细琢磨之后,根据两条IF语句解决了这个问题。那就是若小时高位为”0000”或”0001”时,时的低位为十进制,若小时高位为”0010”,时的低位为四进制。3)校时问题。刚开始时,对了校时没有个思路。但有一次我想看看整体进制等对不对,于是把整体时钟调快了很多,这样,很快就走了“24”小时,然后灵感就来了,就想可以设置这么两个不同频率的整体时钟,一个可能控制分,一个可以控制小时,然后为了可以精确到秒,又设置了一个可以让整个时钟系统暂停的按键,这样整个时钟的实现就完成了,最后又在时分和分秒中间加入了一个小横杠”-”。

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • c++一群性质相近同的「东西」,如果译名一贯,阅读的感觉就很好。 一贯性的术语,扩充性高,延伸性高,系统化高。...
    c++一群性质相近同的「东西」,如果译名一贯,阅读的感觉就很好。 一贯性的术语,扩充性高,延伸性高,系统化高。-c with a group of similar nature "things", if consistent translation, reading the feeling is very good. The consistency of terminology, scalable, extensible, highly systematized.
    2022-06-14 07:09:01下载
    积分:1
  • Interval coverage of the realization of the algorithm description: In this paper...
    区间覆盖问题的算法实现 问题描述:给出x轴上N条线段的坐标,从中选出一些线段来覆盖区间【0,M】,要求所用线段数目最少 -Interval coverage of the realization of the algorithm description: In this paper, x-axis N be the coordinates of line segment, selected to cover a number of line segments [interval 0, M], requirement by the number of segments at least
    2022-12-22 05:20:03下载
    积分:1
  • Game Boy Advanced (GBA), Nintendo of Japan in 2001 introduced a 32
    Game Boy Advanced(GBA)是日本任天堂公司于2001年推出的一款32位掌上游戏机.它着重于游戏机的便携式,并且以2D游戏为主(3D游戏依然不错).GBA有十分高效硬件图像处理加速,GBA基本上是现在全球公认的最佳的掌上游戏机.-Game Boy Advanced (GBA), Nintendo of Japan in 2001 introduced a 32-bit handheld console. It focuses on the portable console, and a 2D game-focused (3D games still good). GBA has a very efficient image processing hardware acceleration is basically GBA now recognized worldwide as the best handheld console.
    2022-02-22 04:13:33下载
    积分:1
  • 基于vc下的中国象棋代码,我是学人工只能的
    基于vc下的中国象棋代码,我是学人工只能的-vc on the Chinese chess code, I study the manual only
    2023-06-07 14:45:03下载
    积分:1
  • 贪吃蛇2005 + 源程序  贪吃蛇 一个经典的小游戏,本人精心制作,相信会比它所谓的贪吃蛇效果好很多。希望大家能提出更多宝贵的意见。游戏规则: 利...
    贪吃蛇2005 + 源程序  贪吃蛇 一个经典的小游戏,本人精心制作,相信会比其它所谓的贪吃蛇效果好很多。希望大家能提出更多宝贵的意见。游戏规则: 利用方向键控制蛇头运动,当蛇头碰到食物即吃到食物,获得积分; 在此过程中不允许蛇头出界或碰到身体,否则游戏结束。基本操作: 程序运行后输入数字0-9,选择级别;任何时候按Esc键即退出游戏;用键盘方向键控制蛇头运动方向;按任意键暂停,方向键和组合键除外;暂停后,按方向键继续游戏;出错后会出现是否继续游戏的提示,Y继续,N结束。 -2005 Snake Snake source of a small classic game, I carefully made, I believe other than the so-called Snake many good results. Hope we can put forward more valuable suggestions. The rules of the game : direction control keys snakeheads campaign, when the food is encountered snakeheads eat food, access points; In this process does not allow out-of-bounds snakeheads or physical encounter, the end of the game. Basic operation : running after importation figures 0-9, choose level; By any time that the Esc keys out of the game; The keyboard keys to control the direction snakeheads movement direction; Keys suspended by the arbitrary direction keys and key combinations exception; Following the suspension, according to the direction keys to th
    2022-12-13 12:15:03下载
    积分:1
  • This is a delphi mine procedure which is the same of microsoft s.
    一个用delphi编的和微软的扫雷一模一样的扫雷程序-This is a delphi mine procedure which is the same of microsoft s.
    2023-03-11 20:35:03下载
    积分:1
  • Unix/Linux 物流系统Demo
    Unix/Linux 物流系统Demo-Unix/Linux Logistics System Demo
    2022-10-27 11:10:03下载
    积分:1
  • 您(sushansong@163.com)最近上载的源码有: 1. cangku.rar,125KB 2. btree.rar,10KB 3. 2003.03....
    您(sushansong@163.com)最近上载的源码有: 1. cangku.rar,125KB 2. btree.rar,10KB 3. 2003.03.rar,3981KB 4. 2003.02.rar,5738KB 5. 2003.01.rar,5676KB 6. em78 sub program.rar,6KB 7. 编译原理 第六章.rar,35KB 8. 编译原理 第四章.rar,34KB 9. 编译原理 第十一章.rar,4KB 10. 编译原理 第十二章.rar,3KB(请不要用公用帐号上载)-you (sushansong@163.com) recently uploaded the source code are : 1. Cangku.rar, 102KB 2. Btree.rar, 10KB 3. 2003.03.rar, 3981KB 4. 2003.02.rar, 5738KB 5. 2003.01 . rar, 5676KB 6. em78 sub program.rar, 6KB 7. Compiler Principle VI. rar, 35 kB 8. Chapter IV compiler theory. rar, 34KB 9. Compiler Principle Chapter 11. rar, 4KB 10. Compiler Principle Chapter 12. rar , 3KB (please do not use on the public account)
    2023-06-22 05:30:03下载
    积分:1
  • a compiler of the source of great practical value to a compiler source, a very p...
    一个编译器的源程序,非常有实用价值 一个编译器的源程序,非常有实用价-a compiler of the source of great practical value to a compiler source, a very practical price
    2023-01-28 10:45:03下载
    积分:1
  • rc5 algorithme 的源代码
    RC5 encryption algorithm is a new fast symmetric block cipher developed by Ron Rivest for RSA Laboratories. Intended as a possible successor to the Data Encryption Standard, RC5 has a variable word size, a variable number of rounds, and a variable-length secret key, so the user can explicitly manipulate the trade-off between higher speed and higher security. RC5 is suitable for hardware or software implementations; the encryption and decryption algorithms are exceptionally simple. A novel feature of RC5 is the heavy use of data-dependent rotations.
    2022-01-24 09:55:50下载
    积分:1
  • 696518资源总数
  • 104349会员总数
  • 32今日下载