VHDL Model - Concurrent Signal Assignments
- The signal assignments execute in parallel, and therefore the order we list the statements should not affect the outcome
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