Unified fpga folders

This commit is contained in:
d18c7db 2023-05-30 19:47:27 +02:00
commit c59bdec4f2
114 changed files with 1852 additions and 4814 deletions

22
fpga/mux2_oneout.v Normal file
View file

@ -0,0 +1,22 @@
//-----------------------------------------------------------------------------
// Two way MUX.
//
// kombi, 2020.05
//-----------------------------------------------------------------------------
module mux2_oneout(
input [1:0] sel,
input y,
output reg x0,
output reg x1
);
always @(*)
begin
case (sel)
1'b0: x1 = y;
1'b1: x0 = y;
endcase
end
endmodule