下載/瀏覽

Download Report

Transcript 下載/瀏覽

CMOS邏輯元件
CD4069
-- ================================================================================
-- CD4069 Hex Inverter
--- Copyright (C),2013 Dr. C.H. Wei, STUST
--- This program is provided free of charge for educational purposes
--- Redistribution and use in binary form without modification, is permitted provided that the above copyright notice, this list of conditions
-- and the following disclaimer in the documentation and/or other materials provided with the distribution.
-- ================================================================================
CD4069.VHD
library
use
ieee;
ieee.std_logic_1164.all;
entity CD4069 is
port (
A
B
C
D
E
F
G
H
I
J
K
L
end entity CD4069;
architecture dataflow of CD4069 is
begin
G <= '1' when A = '0' else '0' ;
H <= '1' when B = '0' else '0' ;
I <= '1' when C = '0' else '0' ;
J <= '1' when D = '0' else '0' ;
K <= '1' when E = '0' else '0' ;
L <= '1' when F = '0' else '0' ;
end architecture;
:
:
:
:
:
:
:
:
:
:
:
:
in
in
in
in
in
in
out
out
out
out
out
out
std_logic;
std_logic;
std_logic;
std_logic;
std_logic;
std_logic;
std_logic;
std_logic;
std_logic;
std_logic;
std_logic;
std_logic );