按关键词阅读: 静态 动态 包含 程序 显示 数码管 实现 语言 VHDL
【VHDL|用VHDL语言实现的数码管显示程序(包含动态和静态)】1、library ieee;
use ieee.std_logic_1164.all;
use ieee.std_logic_unsigned.all;
entity shumaguan isport(clk:in std_logic;
x:out std_logic_vector(7 downto 0);
seg:out std_logic_vector(7 downto 0);
end entity;
architecture behave of shumaguan issignal clk1:std_logic;
beginprocess(clk)variable count:integer range 0 to 49999999;
beginif(clkevent and clk=1) thenif(count=20000000) then -动态-if(count=1000) then -静态count:=0;
clk1xxxxxxxxnull;
end case;
end process;
end behave;
。
来源:(未知)
【学习资料】网址:/a/2021/0417/0021956033.html
标题:VHDL|用VHDL语言实现的数码管显示程序(包含动态和静态)