超完美VHDL数码管显示键值 PS2键盘控制实验.docVIP

  • 50
  • 0
  • 约6.5千字
  • 约 7页
  • 2016-12-24 发布于重庆
  • 举报

超完美VHDL数码管显示键值 PS2键盘控制实验.doc

共四个文件:顶层,分频,读键,显示。绝对正确。 library IEEE; use IEEE.STD_LOGIC_1164.ALL; use IEEE.STD_LOGIC_ARITH.ALL; use IEEE.STD_LOGIC_UNSIGNED.ALL; ---- Uncomment the following library declaration if instantiating ---- any Xilinx primitives in this code. --library UNISIM; --use UNISIM.VComponents.all; entity top is port( clr : in std_logic; clk : in std_logic; ps2clk : in std_logic; ps2data : in std_logic; a_to_g : out STD_LOGIC_VECTOR (6 downto 0); sel : out STD_LOGIC_VECTOR (3 downto 0); dp : out STD_LOGIC ); end top; architecture Behavioral of top is signal clk4,sclk

文档评论(0)

1亿VIP精品文档

相关文档