architecture struc-arch of eq2 is
begin
signal eO, el: std-logic;
_- instantiate two 1-bit comparators
5 eq-bit0-unit : entity work. eql (sop-arch)
eq-bitl-unit : entity work. eql (sop-arch)
-- a and b are equal if individual bits are equal
port map(iO=>a(O), il=>b(O), eq=>eO);
port map(iO=>a(l), il=>b(i), eq=>el);
KI aeqb