东北大学eda实验报告.docxVIP

  1. 1、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
  2. 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  3. 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
  4. 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
  5. 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们
  6. 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
  7. 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
东北大学eda实验报告

简易数字钟设计实验1、实验目的 1)学习掌握数字系统综合设计方法。 2)学习掌握层次设计方法。 3)学习掌握设计下载方法。 4)学习掌握实验系统使用方法。2、实验原理数字钟是对输入时基秒脉冲进行计数,依次输出秒数值、分数值、小时数值,从而确定时钟时间,其原理框图如下图所示。3、实验内容 1)选择XC2S200PQ208器件建立一个新的 工程。 2)在上述工程中,采用VHDL语言的方法设计上述简易数字钟。3)参考实验系统使用说明,按下列要求锁定引脚。秒、分钟、小时由实验系统的J1、J2输出,显示输出的时分秒间隔一位数码管。时钟输入由J7的1脚输入。 4)下载编程并验证设计结果。4、实验设备 1)清华同方PⅣ 2.4G\256M60G 2)ISE 6.2i—Windows软件系统3)多功能EDA实验系统(V型)5、vhdl程序library IEEE;use IEEE.STD_LOGIC_1164.ALL;use IEEE.STD_LOGIC_ARITH.ALL;use IEEE.STD_LOGIC_UNSIGNED.ALL;-- Uncomment the following lines to use the declarations that are-- provided for instantiating Xilinx primitive components.--library UNISIM;--use UNISIM.VComponents.all;entity zbr1 is Port ( clk,clr : in std_logic; y1,y3,y5 : out std_logic_vector(3 downto 0); y2,y4 : out std_logic_vector(2 downto 0); y6 : out std_logic_vector(1 downto 0));end zbr1;architecture Behavioral of zbr1 issignal num1,num3,num5:std_logic_vector(3 downto 0);signal num2,num4:std_logic_vector(2 downto 0);signal num6:std_logic_vector(1 downto 0);beginp1:process(clk,clr) begin if clr=1 then num1 =1000; elsif clkevent and clk=1 then if num1=1001 then num1=0000; else num1=num1+1; end if; end if; y1=num1;end process p1;p2:process(clk,clr) begin if clr=1 then num2=101; elsif clkevent and clk=1 then if(num1=1001) thenif(num2=101) thennum2=000; else num2=num2+1; end if; end if; end if; y2=num2;end process p2;p3:process(clk,clr) begin if clr=1 then num3=1000; elsif (num2=101 and num1=1001) then if clkevent and clk=1then if num3=1001 then num3=0000; else num3=num3+1; end if; end if; end if; y3=num3;end process p3;p4:process(clk,clr) begin if clr=1 then num4=101; elsif clkevent and clk=1 then if (num3=1001 and num2=101 and num1=1001) then if num4=101 thennum4=000; else num4=num4+1; end if; end if; end if; y4=num4;end process p4;p5:process(clk,clr) begin if clr=1 then num5=0011; elsif clkevent and clk=1 then if(num4=101 and num3=1001 and num2=101 and num1=1001) then if ((num6=00 or num6=01) and num5=1001) or (num6=10 and num5=0011) then num5=

文档评论(0)

yan698698 + 关注
实名认证
文档贡献者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档