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

📄 suocunqi.txt

📁 包内共有六个源代码
💻 TXT
字号:
library ieee;
use ieee.std_logic_1164.all;
entity suocunqi is
port(clr,clk,ena,oe:in std_logic;
                  d:in std_logic_vector(7 downto 0);
                  q:buffer std_logic_vector(7 downto 0));
end suocunqi;
architecture jiegou of suocunqi is
signal q_temp:std_logic_vector(7 downto 0);
 begin
  u1:process(clk,clr,ena,oe)
   begin
    if clr='0' then q_temp<="00000000";
      elsif clk'event and clk='1'then
        if (ena='1') then
          q_temp<=d;
        end if;
     end if;
    if oe='1' then q<="ZZZZZZZZ";
    else q<=q_temp;
    end if;
  end process u1;
end jiegou;      

⌨️ 快捷键说明

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