This commit is contained in:
2025-08-18 07:18:32 +03:00
commit 12dcc9d232
27 changed files with 1910 additions and 0 deletions

14
chapter2/mux.v Normal file
View File

@@ -0,0 +1,14 @@
module mux (
input [1:0] A,
input S,
output Y
);
wire and1, and2;
and a1 (and1, A[0], S);
and a2 (and2, A[1], ~S);
or o1 (Y, and1, and2);
endmodule