Example
LIBRARY <name>, <name> ;
- name is symbolic and define by compiler tool.
- Note: Remember that WORK and STD do not need to be defined.
USE lib_name.pack_name.object;
Placing the Library/Use clause 1st will allow all following design units to access it.
USE ieee.std_logic_1164.all;
PORT ( a, b, sel : IN std_logic;
ARCHITECTURE logic OF cmpl_sig IS
-- simple signal assignment
x <= (a AND NOT sel) OR (b AND sel);
-- conditional signal assignment
-- selected signal assignment
CONFIGURATION cmpl_sig_conf OF cmpl_sig IS