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

📄 boolean1.vhd

📁 VHDL子程序集,包括各种例程资料以及源码.
💻 VHD
字号:
--**********************************
--*   2 To 4 Decoder Active HIGH   *
--*   Using Boolean Algebra (1)    *
--*      Filename : BOOLEAN1       *
--********************************** 

library IEEE;
use IEEE.std_logic_1164.all;

entity BOOLEAN1 is
    port (
          A: in STD_LOGIC;
          B: in STD_LOGIC;
          Y: out STD_LOGIC_VECTOR (0 to 3)
          );
end BOOLEAN1;

architecture BOOLEAN1_arch of BOOLEAN1 is

begin
    Y(0) <= not A and not B;
    Y(1) <= not A and B;
    Y(2) <= A and not B;
    Y(3) <= A and B; 
end BOOLEAN1_arch;

⌨️ 快捷键说明

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