⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ywjcq.vhd

📁 本源码用VHDL语言实现了用键盘控制米字管显示十进制
💻 VHD
字号:
library ieee;
use ieee.std_logic_1164.all;
entity ywjcq is
port(clk,load:in std_logic;
     y:in std_logic_vector(6 downto 0);
     dout:buffer std_logic_vector(6 downto 0));
end ywjcq;
architecture bb of ywjcq is
 begin
  process(clk,load)
   begin
    if load='1' then
       dout<=y;
  elsif clk'event and clk='1' then
     dout<=dout(0)&dout(6 downto 1);
  end if;
end process;
end bb;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -