ADDA的FPGA控制

ADDA的FPGA控制

ID:47596877

大小:45.01 KB

页数:11页

时间:2019-09-23

ADDA的FPGA控制_第1页
ADDA的FPGA控制_第2页
ADDA的FPGA控制_第3页
ADDA的FPGA控制_第4页
ADDA的FPGA控制_第5页
资源描述:

《ADDA的FPGA控制》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库

1、libraryieee;useieee.std_logic_1164.all;useieee.std_logic_unsigned.all;useieee.std_logic_arith.all;entityaddaisport(keyc:instd_logic;--thekeyforchoosethekindofdisplay    --bcdout:instd_logic_vector(11downto0);    --qa:instd_logic_vector(11downto0);    dataoututstd_logic_vector(11downto0);--fordispla

2、y    key:instd_logic;--maketherateofthevalue    datain:instd_logic_vector(7downto0);--thedatafromtheADdevice    clk:instd_logic;--theclockoftheAD-deviceworks750kHZ    eoc:instd_logic;--theADensureout    --lock1utstd_logic;--??    aleutstd_logic;--theAD'addressensureout    start:outstd_logic;--thead

3、'signalofstarting    oe:outstd_logic;--theoutensure    adda:outstd_logic;--thechannelofchoosing    clkk:instd_logic;--theclockoftheDAdeviceworks    clk1:instd_logic;--thefrequencyofmovingdata    kk:instd_logic;--thekeyforchangethefrequency    --data:instd_logic_vector(11downto0);    --dd:outstd_log

4、ic_vector(7downto0));    dd:outstd_logic_vector(7downto0));--thedatafortheDAend;architectureartofaddaissignalbcdout:std_logic_vector(11downto0);--thenumericalnumberfromtheADdevicesignalqqa:std_logic_vector(11downto0);--thenumericalnumberfromthekeyboardsignalqaa:std_logic_vector(11downto0);--themarg

5、insignaldata:std_logic_vector(11downto0);--thenumericalnumberfortheDAsignaldataa,datab,datac:std_logic_vector(3downto0);--thedataforthearithmeticsignaldta,dtb,dtc:std_logic_vector(3downto0);--liketheabovesignalwk:std_logic;--theclockofthearithmeticsignalqa,qb,qc:std_logic_vector(3downto0);--thedata

6、foroneofthedisplay--signalda,db,dc:std_logic_vector(3downto0);--daisthehighestbitbthemiddlethecthelastone--signaldda,ddb,ddc:std_logic_vector(3downto0);--signalqqa:std_logic_vector(11downto0);--thecountforsub--signalstate:std_logic_vector(1downto0);--thekindofdisplay--signalqqa:std_logic_vector(11d

7、ownto0);--thecountforsubbeginwk<=clk;dataa<=qqa(11downto8);datab<=qqa(7downto4);datac<=qqa(3downto0);dta<=bcdout(11downto8);dtb<=bcdout(7downto4);dtc<=bcdout(3downto0);qaa<=qa&qb&qc;data<=bcdout;--????keybo

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。