EDA16x16点阵滚动+动画显示Word文档下载推荐.docx
- 文档编号:19222463
- 上传时间:2023-01-04
- 格式:DOCX
- 页数:19
- 大小:62.61KB
EDA16x16点阵滚动+动画显示Word文档下载推荐.docx
《EDA16x16点阵滚动+动画显示Word文档下载推荐.docx》由会员分享,可在线阅读,更多相关《EDA16x16点阵滚动+动画显示Word文档下载推荐.docx(19页珍藏版)》请在冰豆网上搜索。
end;
architectureoneofxianshiis
signalsel:
std_logic_vector(3downto0);
signalq:
std_logic_vector(31downto0);
signali:
integerrange0to31;
signalcoi:
std_logic;
begin
process(sel,clk1)
begin
caseselis
when"
0000"
=>
q<
="
00000100000000000111111111111111"
;
0001"
00000100000000011011111111111111"
0010"
00100100000000011101111111111111"
0011"
00100101111110101110111111111111"
0100"
00100101010100101111011111111111"
0101"
11111101010101001111101111111111"
0110"
00100101010100001111110111111111"
0111"
00100111111100001111111011111111"
1000"
00100101010100001111111101111111"
1001"
11111101010101001111111110111111"
1010"
00100101010101001111111111011111"
1011"
01100111111100101111111111101111"
1100"
00100100100000101111111111110111"
1101"
00001100000000011111111111111011"
1110"
00000100000000001111111111111101"
1111"
00000000000000001111111111111110"
whenothers=>
null;
endcase;
ifclk1'
eventandclk1='
1'
then
si<
=q(i);
i<
=i+1;
coi<
='
0'
ifi=31theni<
=0;
sel<
=sel+'
endif;
rck<
=notcoi;
endprocess;
sck<
=clk1;
时序仿真:
从图中可以看出,当clk1在第32个上升沿rck变为低电频,sck与clk1是同一电频,故此程序满足要求。
2、多个字符的跳动显示(如:
黄小红):
port(clk1:
clk2:
signallie:
process(sel,clk1,clk2)
ifclk2'
eventandclk2='
then
lie<
=lie+'
caselieis
when"
caseselis
00000000000000000111111111111111"
00000000000100001011111111111111"
00000000001000001101111111111111"
00000000010000001110111111111111"
00000001100000001111011111111111"
00000110000000101111101111111111"
00000000000000011111110111111111"
11111111111111101111111011111111"
00000000000000001111111101111111"
00000100000000001111111110111111"
00000010000000001111111111011111"
00000001000000001111111111101111"
00000000100000001111111111110111"
00000000011000001111111111111011"
00000000000000001111111111111101"
00000100010001000111111111111111"
00001100111001101011111111111111"
00110101010001001101111111111111"
11000110010010001110111111111111"
00000100010010001111011111111111"
00001000010010101111101111111111"
00100000000000101111110111111111"
00100000000000101111111011111111"
00100000000000101111111101111111"
00100000000000101111111110111111"
00111111111111101111111111011111"
00100000000000101111111111101111"
01100000000000101111111111110111"
00100000000001101111111111111011"
00000000000000101111111111111101"
whenothers=>
从上图看出,当clk1在第32个上升沿rck变为低电频,sck与clk1是同一电频,故此程序满足要求。
3、汉字的滚动和动画显示(如:
黄小红+笑脸):
11
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- EDA16x16 点阵 滚动 动画 显示
![提示](https://static.bdocx.com/images/bang_tan.gif)