Professional Documents
Culture Documents
Note: This document is NOT error-free... so use with caution! REPORT ERROR TO ME
VISIT www.esnips.com/user/ttreddy for softcopy and visit regularly for many more useful
documents and links.
---------------------------------------------------------------------
Program No1(A): 3x8 Decoder DATA-FLOW style
---------------------------------------------------------------------
library IEEE;
use IEEE.std_logic_1164.all;
use IEEE.std_logic_arith.all;
use IEEE.std_logic_unsigned.all;
entity V3to8dec is
port ( enable : in STD_LOGIC;
A : in STD_LOGIC_VECTOR(2 downto 0);
Y : out STD_LOGIC_VECTOR(0 to 7) );
end V3to8dec;