Skip to content

Commit

Permalink
Added a MUXF8 module as an exact duplicate of the of MUXF* modules.
Browse files Browse the repository at this point in the history
  • Loading branch information
nickfraser committed Oct 19, 2021
1 parent cb70728 commit a3b70cd
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions MUXF8.v
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit a3b70cd

Please sign in to comment.