diff --git a/MUXF8.v b/MUXF8.v new file mode 100644 index 0000000..1d12680 --- /dev/null +++ b/MUXF8.v @@ -0,0 +1,16 @@ +`timescale 1 ps / 1 ps + +module MUXF8 (O, I0, I1, S); + + output O; + reg O; + + input I0, I1, S; + + always @(I0 or I1 or S) + if (S) + O = I1; + else + O = I0; +endmodule +