//Greg Chabala //ECE 483 lab 2 //majority function module maj (out, a, b, c); output out; input a; input b; input c; or (out, w1, w2, w3); and (w1, a, b); and (w2, b, c); and (w3, c, a); endmodule