洗衣机实验报告(6)
发布时间:2021-06-08
发布时间:2021-06-08
分频:
模式选择:
数码管显示:
四、源程序
顶层文件: LIBRARY IEEE;
USE IEEE.STD_LOGIC_1164.ALL; USE IEEE.STD_LOGIC_UNSIGNED.ALL;
ENTITY washing IS PORT(
clk:IN STD_LOGIC; clear:IN STD_LOGIC;
up,down,mode,sure,choice,pause,start:IN STD_LOGIC;-- DISP:OUT STD_LOGIC_VECTOR(7 DOWNTO 0); beep:OUT STD_LOGIC;
LED1:OUT STD_LOGIC_VECTOR(4 DOWNTO 0); LED2:OUT STD_LOGIC_VECTOR(2 DOWNTO 0); CAT:OUT STD_LOGIC_VECTOR(5 DOWNTO 0); row:OUT STD_LOGIC_VECTOR(7 DOWNTO 0); colg:OUT STD_LOGIC_VECTOR(7 DOWNTO 0); colr:OUT STD_LOGIC_VECTOR(7 DOWNTO 0) );
END washing;
上一篇:企业怎样才能吸引和留住人才
下一篇:数据发布订阅实施说明