some random things

This commit is contained in:
2025-01-08 01:05:46 +03:00
parent ceede4abc3
commit 39d8168cc0
11 changed files with 1474 additions and 13 deletions

16
project0.2/mux2.v Normal file
View File

@@ -0,0 +1,16 @@
module mux2 (
input A0, A1,
input S,
output Y
);
wire notS, and1, and2;
not n1 (notS, S);
and an1 (and1, A1, S);
and an2 (and2, notS, A0);
or o1 (Y, and1, and2);
endmodule