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

VHDL电子时钟

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

代码说明:

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

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

发表评论

0 个回复

  • Marr_Hildret算子的详细讲解,能更好的提高边缘提取的效果 很难得的哟...
    Marr_Hildret算子的详细讲解,能更好的提高边缘提取的效果 很难得的哟-Marr_Hildret Operator elaborate better marginal increase of the effect is difficult to extract the yo
    2022-07-14 16:39:48下载
    积分:1
  • xyslz041202游戏,是一个游戏播放器之类的工具,可以载入很的游戏。...
    xyslz041202游戏,是一个游戏播放器之类的工具,他可以载入很的游戏。-xyslz041202 game is a game player like tools, he could contain very game.
    2022-06-02 20:23:27下载
    积分:1
  • 分形 浏览器
    Fractal Explorer GUI-based program for exploring and studying the most common form of fractals, chaotic systems and fractional dimension systems
    2022-03-29 22:58:51下载
    积分:1
  • Girl power can only be the case, you want to be a member because I wanted to stu...
    小妹,实力也只能这样了,好想成为会员呀,因为我想好好学习-Girl power can only be the case, you want to be a member because I wanted to study hard
    2022-07-12 05:03:37下载
    积分:1
  • VC6开发的用于进行色谱分析的示例,搞色谱分析的可参考
    VC6开发的用于进行色谱分析的示例,搞色谱分析的可参考-VC6 development of the chromatographic analysis for example, engage in chromatographic analysis of reference
    2022-10-20 04:50:04下载
    积分:1
  • 很有用的一些技巧
    很有用的一些技巧-some very useful skills
    2022-02-06 04:09:42下载
    积分:1
  • VC++实现菜单功能,适合初学者学习使用
    VC++实现菜单功能,适合初学者学习使用-VC++ Realize menu function, suitable for beginners learning to use
    2022-10-06 10:00:02下载
    积分:1
  • qim Spread Spectrum Watermarking is tied with the algorithm. He has a lot of fea...
    qim是与扩频水印并列的算法。他有很多特性,此算法能帮助你理解qim。-qim Spread Spectrum Watermarking is tied with the algorithm. He has a lot of features, this algorithm can help you understand qim.
    2022-08-06 07:43:49下载
    积分:1
  • % 该Matlab程序基于牛顿-拉夫逊算法,用于计算已知导纳矩阵、PQ节点、PV节点、平衡节点(UA)的电力网络潮流 % U...
    % 该Matlab程序基于牛顿-拉夫逊算法,用于计算已知导纳矩阵、PQ节点、PV节点、平衡节点(UA)的电力网络潮流 % U - 各节点母线电压 S - 各节点注入功率 S_net - 电力网络总损耗 % PQ_P - 实算PQ节点注入有功功率 PQ_Q - 实算PQ节点注入无功功率 % delt_PQ_P - 实算PQ节点有功功率修正值 delt_PQ_Q -实算PQ节点无功功率修正值 % delt_UA_P - 实平衡节点有功功率修正值 delt_U_2 - 实平衡节点电压平方修正值 % delt_PQV - 实算P Q U^2修正值 J - 雅可比矩阵 % e - 电压实部 f - 电压虚部 delt_ef - 电压实部与虚部修正值- The Matlab program based on the Newton- Raphson algorithm is used to calculate the admittance matrix is known, PQ node, PV node, the node balance (UA) the trend of the electricity networks U- the node bus voltage S- each node injection power S_net-- The total loss of electric power networks PQ_P- operator PQ is injected into active nodes PQ_Q- operator PQ is injected reactive power node delt_PQ_P- is considered the correct value of active power PQ node delt_PQ_Q- really count PQ node reactive power to amend the value of delt_UA_P- real active power balance of the correct value of the node delt_U_2- node voltage balance is the correct value of the square o
    2022-10-25 02:45:02下载
    积分:1
  • 《圣剑英雄传
    《圣剑英雄传--英雄救美》是一款微型的中文RPG游戏,由成都金点工作组成员softboy和EVA编写,游戏中出现的图片主要由网友qingyong、Daimy和 cuigod提供。这是一个自由游戏软件,你可以任意复制并传播。(附源程序)-"SHENG- JIAN Heroes-- heroic rescue" is a miniature Chinese RPG, from the point of Chengdu members of the Working Group softboy and EVA preparation, the game appeared Photo by netizens qingyong, Daimy and cuigod provided. This is a free game software, you can copy arbitrary and dissemination. (Source)
    2023-03-24 20:45:04下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载