ENTITY example2 IS PORT (xl, x2, x3, x4: IN BIT; g : OUT BIT); f, END example2 ; ARCHITECTURE LogicFunc OF example2 IS BEGIN <= f (xl AND x3) OR (NOT x3 AND x2); <= g (NOT x3 OR xl) AND (NOT x3 OR x4) ; END LogicFunc
ENTITY example2 IS PORT (xl, x2, x3, x4: IN BIT; f, g : OUT BIT); END example2 ; ARCHITECTURE LogicFunc OF example2 IS BEGIN f <= (xl AND x3) OR (NOT x3 AND x2); g <= (NOT x3 OR xl) AND (NOT x3 OR x4) ; END LogicFunc