- 5
- 0
- 约1.07千字
- 约 2页
- 2019-07-18 发布于江西
- 举报
library ieee;
use ieee.std_logic_1164.all;
use ieee.std_logic_unsigned.all;
entity shumaguan is
port(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 is
signal clk1:std_logic;
begin
process(clk)
variable count:integer range 0 to
begin
if(clkevent and clk=1) then
if(count then --动态
--if(count=1000) then --静态
count:=0;
clk1=not clk1;
else
count:=count+1;
end if;
end if;
end process;
process(clk1)
variable a:integer range 1 to 8;
begin
if(clk1event and clk1=
您可能关注的文档
最近下载
- 从秦汉小篆看摹印篆的产生与发展.pdf VIP
- 胰腺癌患者疼痛管理护理查房.docx VIP
- 徐州鑫盛达变频器说明书资料.pdf VIP
- 2025年国企党委办公室主任竞聘笔试题及答案.docx VIP
- 小学数学课堂中“翻转课堂”模式与传统教学模式对比研究教学研究课题报告.docx
- 2026最新党务岗位面试题及答案.docx VIP
- 2026年河南建筑职业技术学院高职单招职业适应性考试参考题库带答案详解.docx VIP
- 2026年党务岗位面试题及答案.docx VIP
- 2026年河南建筑职业技术学院高职单招职业适应性考试参考题库及答案解析.docx VIP
- 兰大法硕奖学金评比则细.doc VIP
原创力文档

文档评论(0)