如果您无法下载资料,请参考说明:
1、部分资料下载需要金币,请确保您的账户上有足够的金币
2、已购买过的文档,再次下载不重复扣费
3、资料包下载后请先用软件解压,在使用对应软件打开
2024年EDA设计与开发(5篇)在日常学习、工作或生活中,大家总少不了接触作文或者范文吧,通过文章可以把我们那些零零散散的思想,聚集在一块。大家想知道怎么样才能写一篇比较优质的范文吗?接下来小编就给大家介绍一下优秀的范文该怎么写,我们一起来看一看吧。EDA设计与开发篇一一、实验目的1、掌握多位计数器相连的设计方法。2、掌握十进制,六进制,二十四进制计数器的设计方法。3、掌握扬声器的驱动及报时的设计。4、led灯的花样显示。5、掌握cpld技术的层次化设计方法。二、实验器材1、主芯片alteraepf10k10lc84-4。2、8个led灯。3、扬声器。4、4位数码显示管。5、8个按键开关(清零,调小时,调分钟)。三、实验内容根据电路特点,运用层次设计概念设计。将此设计任务分成若干模块,规定每一模块的功能和各模块之间的接口。1、时计时程序:libraryieee;use;use;entityhourisport(reset,clk:instd_logic;daout:outstd_logic_vector(7downto0));endhour;architecturebehavofhourissignalcount:std_logic_vector(3downto0);signalcounter:std_logic_vector(3downto0);beginp1:process(reset,clk)beginifreset='0'thencount<=“0000”;counter<=“0000”;elsif(clk'eventandclk='1')thenif(counter<2)thenif(count=9)thencount<=“0000”;counter<=counter+1;elsecount<=count+1;endif;elseif(count=3)thencounter<=“0000”;elsecount<=count+1;count<=“0000”;endif;endif;endif;endprocess;daout(7downto4)<=counter;daout(3downto0)<=count;endbehav;2、分计时程序:libraryieee;use;use;entityminuteisport(reset,clk,sethour:instd_logic;daout:outstd_logic_vector(7downto0);enhour:outstd_logic);endminute;architecturebehavofminuteissignalcount:std_logic_vector(3downto0);signalcounter:std_logic_vector(3downto0);signalcarry_out1:std_logic;signalcarry_out2:std_logic;beginp1:process(reset,clk)beginifreset='0'thencount<=“0000”;counter<=“0000”;elsif(clk'eventandclk='1')thenif(counter<5)thenif(count=9)thencount<=“0000”;counter<=counter+1;elsecount<=count+1;endif;carry_out1<='0';elseif(count=9)thencount<=“0000”;counter<=“0000”;carry_out1<='1';elsecount<=count+1;carry_out1<='0';endif;endif;endif;endprocess;p2:process(clk)beginif(clk'eventandclk='0')thenif(counter=0)thenif(count=0)thencarry_out2<='0';endif;elsecarry_out2<='1';endif;endif;endprocess;daout(7downto4)<=counter;daout(3downto0)<=count;enhour<=(carry_out1andcarry_out2)orsethour;endbehav;3、秒计时程序:libraryieee;use;use;entitysecondisport(reset,clk,setmin:instd_logic;daout:ou