欢迎来到毕设资料网! | 帮助中心 毕设资料交流与分享平台
毕设资料网
全部分类
  • 毕业设计>
  • 毕业论文>
  • 外文翻译>
  • 课程设计>
  • 实习报告>
  • 相关资料>
  • ImageVerifierCode 换一换
    首页 毕设资料网 > 资源分类 > DOC文档下载
    分享到微信 分享到微博 分享到QQ空间

    EDA课程设计--秒表设计

    • 资源ID:1417956       资源大小:893KB        全文页数:12页
    • 资源格式: DOC        下载积分:100金币
    快捷下载 游客一键下载
    账号登录下载
    三方登录下载: QQ登录
    下载资源需要100金币
    邮箱/手机:
    温馨提示:
    快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。
    如填写123,账号就是123,密码也是123。
    支付方式: 支付宝   
    验证码:   换一换

     
    账号:
    密码:
    验证码:   换一换
      忘记密码?
        
    友情提示
    2、PDF文件下载后,可能会被浏览器默认打开,此种情况可以点击浏览器菜单,保存网页到桌面,就可以正常下载了。
    3、本站不支持迅雷下载,请使用电脑自带的IE浏览器,或者360浏览器、谷歌浏览器下载即可。
    4、本站资源下载后的文档和图纸-无水印,预览文档经过压缩,下载后原文更清晰。

    EDA课程设计--秒表设计

    1、 题目:秒表设计 内容内容 一:设计任务与要求一:设计任务与要求 秒表的逻辑结构比较简单,它主要由、显示译码器、分频器、十进制计 数器、报警器和六进制计数器组成。在整个秒表中最关键是如何获得一个精确的 100Hz 计时脉冲,除此之外,整个秒表还需要一个启动信号和一个归零信号,以 便能够随时启动及停止。 秒表有六个输出显示,分别为百分之一秒,十分之一秒、秒、十秒、分、十分, 所以共有 6 个计数器与之对应,6 个个计数器全为 BCD 码输出,这样便于同时显 示译码器的连接。当计时达 60 分钟后,蜂鸣器鸣响 3 声。 二:设计原理二:设计原理 本系统采用自上向下的设计方案,系统的整体设计组装原理

    2、图如图 2-1 所 示,它主要由控制模块,时基分屏模块,计时模块和显示模块四部分组成。各模 块分别完成控制,分屏,计时和显示的功能 设计原理图 三、三、程序模块程序模块 1、控制模块程序 library ieee; use ieee.std_logic_1164.all; use ieee.std_logic_unsigned.all; entity ctrl is port(clr,clk,sp:in std_logic; en:out std_logic); end ctrl; architecture behave of ctrl is type states is (s0,s1,s2,

    3、s3); signal current_state,next_state:states; begin com:process(sp,current_state) begin case current_state is when s0=en=0;if sp=1 then next_state=s1;else next_stateen=1;if sp=1 then next_state=s1;else next_stateen=1;if sp=1 then next_state=s3;else next_stateen=0;if sp=1 then next_state=s3;else next_

    4、state=s0;end if; end case; end process; synch:process(clk) begin if clr=1 then current_state=s0; elsif clkevent and clk=1 then current_state=next_state; end if; end process; end behave; 2、时基分频模块程序 library ieee; use ieee.std_logic_1164.all; entity cb10 is port(clk: in std_logic; co: buffer std_logic)

    5、; end cb10; architecture art of cb10 is signal counter:integer range 0 to 49999; begin process(clk) begin if (clk=1 and clkevent) then if counter=49999 then counter=0; co= not co; else counter=counter+1; end if; end if; end process; end art; 3、计时模块的程序 1) 、十进制计数器 library ieee; use ieee.std_logic_1164

    6、.all; use ieee.std_logic_unsigned.all; entity cdu10 is port(clk,clr,en: in std_logic; cn: out std_logic; count10: out std_logic_vector(3 downto 0); end cdu10; architecture art of cdu10 is signal temp:std_logic_vector(3 downto 0); begin process(clk,clr) begin if clr=1 then temp=“0000“; cn=“1001“ then temp=“0000“; cn=1; else temp=temp+1; cn=0; end if; end if; end if; count10=temp; end process; end art; 2) 、六进制计数器 library ieee; use iee


    注意事项

    本文(EDA课程设计--秒表设计)为本站会员(毕***)主动上传,毕设资料网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请联系网站客服QQ:540560583,我们立即给予删除!




    关于我们 - 网站声明 - 网站地图 - 资源地图 - 友情链接 - 网站客服 - 联系我们
    本站所有资料均属于原创者所有,仅提供参考和学习交流之用,请勿用做其他用途,转载必究!如有侵犯您的权利请联系本站,一经查实我们会立即删除相关内容!
    copyright@ 2008-2025 毕设资料网所有
    联系QQ:540560583