/************************************** * Module: mux2a1gates * Date:2013-07-04 * Author: leon * * Description: Mutltiplexor 2 a 1 RTL ***************************************/ module mux2a1pro(a,b,c,s); input a,b,c; output s; reg s; always @ (a,b,c) if (c) s=a; else s=b; endmodule