MUXF5.v 483 Bytes
// $Header: /root/leakn64/depot/rf/hw/flif/xilinx/MUXF5.v,v 1.1 2003/08/20 23:46:50 berndt Exp $

/*

FUNCTION	: 2 to 1 Multiplexer for Carry Logic

*/

`timescale  100 ps / 10 ps


module MUXF5 (O, I0, I1, S);

    output O;
    reg    o_out;

    input  I0, I1, S;

    buf B1 (O, o_out);

	always @(I0 or I1 or S) begin
	    if (S)
		o_out <= I1;
	    else
		o_out <= I0;
	end

    specify
	(I0 => O) = (1, 1);
	(I1 => O) = (1, 1);
	(S  => O) = (1, 1);
    endspecify

endmodule