Alternate VHDL specification
architecture a of compa is
aeqb <= '1' when (a = b) else '0';
agtb <= '1' when (a > b) else '0';
altb <= '1' when (a < b) else '0';
Synthesis tool will pick a logic implementation for implementation of ‘=‘, ‘>’, ‘<‘ based on user constraints such as propagation delay.