library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
entity Lab3_Adder1 is
Port (cin : in STD_LOGIC;
a : in STD_LOGIC_VECTOR (3 downto 0);
b : in STD_LOGIC_VECTOR (3 downto 0);
s :
我有一個VHDL測試文件a.vhd。 貓a.vhd package pak is
component b is -- 1st definition of component b.
end component
end pak;
use work.pak.all; -- 1st definition visible through this package use clause