EDA数字式时钟设计 没邮箱啊?补充:发了,希望帮到你EDA数字时钟设计实验思考题:本次设计程序占用EPF10K10LC84-4芯片的多少资源 以quartus II这个集成工具为例。当你编译(compile)完成之后,应该会弹出一个编译流程完成后的摘要信息(flow summary),其中就包含了资源占用的信息。如下图示例所示(红色圈住的是某个设计的用cyclone IV GX器件所占用的资源)。我也是学电子的.能把你的EDA课程设计给我发一份吗? 我不是学姐,答案我就不帮你做了,给你一些提示,希望你能独立完成.1:先选对计数器,根据需要选择4位,8位,32位(如果没有32位的计数器可以用2个16位的计数器级联起来,第一级的计数器的高位输出驱动第二级的计数器始终)2:10进制,12进制,60进制的计数器怎么做?你需要一个比较器,比较器输入端比较counter的值和一个preset value,如果两个值相等,则输出一,否则输出0,用这个比较信号来控制counter的复位信号,注意有些复位是低电平有效3:有了上面的这些计数器以后怎么做时钟?用级联的方式把上面这些计数器串联起来,也就是说用function generator 产生一个10Hz的频率分秒的比较器输出当作秒的时钟输入(enable也可以),同样的道理,秒的计数器的比较器出入做分的计数器的十种输入.EDA编程数字钟能进行正常的时、分、秒,小时计时要求为12进制,分和秒为60进制循环,要求整点和12点整报时 1.分秒六十进制电路模块count60的VHDL程序library ieee;use ieee.std_logic_1164.all;use ieee.std_logic_unsigned.all;entity wj7157_count60 isport(clk:in std_logic;bcd10,bcd1:buffer std_logic_vector(3 downto 0);present:in std_logic;co:out std_logic);end wj7157_count60;architecture rtl of wj7157_count60 issignal co_1:std_logic;beginprocess(clk,present)beginif present='0' then bcd1;else if clk='1' and clk'event thenif bcd1=\"1001\"then bcd1;else bcd1;end if;end if;end if;end process;process(clk,present,bcd1)beginif present='0' then bcd10;co_1;else if clk='1' and clk'event thenif bcd1=\"1000\"and bcd10=\"0101\"then co_1;elsif bcd1=\"1001\"and bcd10=\"0101\"then bcd10;co_1;elsif bcd1=\"1001\"then bcd10;co_1;end if;end if;end if;end process;co;end rtl;3.时十二进制电路模块count12的VHDL程序library ieee;use ieee.std_logic_1164.all;use ieee.std_logic_unsigned.all;entity wj7157_count12 isport(clk:in std_logic;bcd10,bcd1:buffer std_logic_vector(3 downto 0));end wj7157_count12;architecture rtl 。求eda数字钟设计程序 1.Topclock(元件例化 顶层文件)Library ieee;Use ieee.std_logic_1164.all;Use ieee.std_logic_arith.all;Use ieee.std_logic_unsigned.all;Entity topclock isPort(clk,clr,en,m1,h1:in std_logic;alarm:out std_logic;secs,secg,mins,ming,hours,hourg:buffer std_logic_vector(3 downto 0));End;2.秒模块程序library ieee;use ieee.std_logic_1164.all;use ieee.std_logic_unsigned.all;entity SECOND isport(clk,clr:in std_logic;sec1,sec0:out std_logic_vector(3 downto 0);co:out std_logic);end SECOND;architecture SEC of SECOND isbeginprocess(clk,clr)variable cnt1,cnt0:std_logic_vector(3 downto 0);beginif clr='1' thencnt1:=\"0000;cnt0:=\"0000;elsif clk'event and clk='1' thenif cnt1=\"0101\"and cnt0=\"1000\"thencoa);u2:min1 port map(clr=>;clr,alarm=>;alarm,mins=>;mins,ming=>;ming,clkm=>;b,enmin=>;c);u3:hour1 port map(clr=>;clr,hours=>;hours,hourg=>;hourg,clkh=>;d);u4:madapt port map(en=>;en,m1=>;m1,clk=>;clk,secin=>;a,minset=>;b);u5:hadapt port map(en=>;en,h1=>;h1,clk=>;clk,minin=>;c,hourset=>;d);end;
随机阅读
- 超市属于什么单位性质 超市属于企业吗
- 我是揭阳人陈俊洪 揭阳市榕城区商业第三总店中山四十六门市怎么样?
- 从信阳到汉中火车票多少钱?几点的 ? 信阳离汉中多远
- 拱辰大厦 拱宸桥东到杭州大厦公交车怎么坐
- 网游之美女如云 百度 谁能给推荐几部美女如云的小说 美女越多越好!!!
- 英语四级段落信息匹配题是什么 16年四级12段落匹配题
- 刀剑乱舞提前支付全款 刀剑乱舞讲的大概是什么故事,里面的有什么内涵?
- 中煤新集杨村地下煤气化批准 天然气和煤气比哪个比较贵?
- 对我国水资源与供水安全研究的启示 日本水俣病事件对中国的启示
- 请问如果发生了重大疾病,是不是代表合同就终止了 返本重大疾病保险合同
- 樟輋村到罗湖 深圳市罗湖区清水河街道樟輋村,有没有除电信以外的宽带可以装呢?
- 危重病人外出检查流程 推荐!急危重病人的抢救流程
- 西贝黄米凉糕的做法 黄米面凉糕图片
- 青岛倍特机械科技有 自动称重包装机的原理是什么
- 门静脉血栓形成的机理 肝硬化,门静脉血栓,顽固性腹水,糖尿病 肝硬化,门静脉血...
- 有一个陌生人一直加我好友 QQ总有陌生人加我好友是怎么回事
- 一帆风顺 好年好景好前程 顺风顺水顺人意 对联怎样贴才好 顺风顺水顺人意 好年
- 对长期投资进行评估主要评估的是 对长期投资的评估,一般进行的程序包括( )。 A.应明确投资的种类、原始投资额、评
- 海涛 大家赛 海涛的人物事件
- 二氧化锆烤瓷牙好吗 带二氧化锆烤瓷牙好不好