// Synthesizable, zero-delay generic circuit. Segment order: { g, f, e, d, c, b, a }.

module basic_gates
(
    input              a,
    input              b,
    output             y_and,
    output             y_or,
    output             y_not,
    output             y_xor
);

    assign y_and = a & b;
    assign y_or  = a | b;
    assign y_not = ~ a;
    assign y_xor = a ^ b;

endmodule
