- 38
- 0
- 约1.42万字
- 约 16页
- 2017-01-15 发布于四川
- 举报
《eda程序
跑马灯;
library ieee;
use ieee.std_logic_1164.all;
use ieee.std_logic_unsigned.all;
entity paomadeng is
port(clk : in std_logic;
input: in std_logic;
reset: in std_logic;
q: out std_logic_vector(7 downto 0));
end;
architecture rtl of paomadeng is
type state_type is (s0, s1, s2, s3);
signal state : state_type;
signal q1:std_logic_vector(7 downto 0);
signal count:std_logic_vector(3 downto 0);
begin
process (clk, reset)
begin
if reset = 1 then
state = s0;
q1=(others=0);
elsif (rising_edge(clk)) then
case state is
when s0=
if q1then --s0
q1
您可能关注的文档
最近下载
- 12J926 无障碍设计图集.docx VIP
- 水利建筑工程预算定额(2024).pdf VIP
- 湖南农业大学《实验化学》2025年考研专业课真题试卷及答案.docx VIP
- T∕TAF 268.8-2025 生成式人工智能个人信息保护技术要求 第8部分:供应链管理.docx VIP
- 2026中国华能集团有限公司山东分公司校园招聘考试备考试题及答案解析.docx VIP
- 结构抗震设计:基于性能的抗震设计_(19).国际抗震设计标准与发展趋势.docx
- (共41页PPT)专题2领悟人生真谛把握人生方向第1讲树立高尚人生目的.pptx VIP
- 《可信数据空间建设运营指南》.pdf VIP
- 2026年中国华能集团有限公司山东分公司校园招聘笔试模拟试题及答案解析.docx VIP
- Unit 2 Onwards and upwards 大单元教学设计 -高二英语外研版(2019)选择性必修第一册.pdf
原创力文档

文档评论(0)