nand2Tetris

This commit is contained in:
2024-12-01 13:42:54 +03:00
parent 0237c7bcb2
commit a69386c7b4
14 changed files with 274 additions and 17 deletions

View File

@ -1,13 +0,0 @@
module fullAdder (
input A,
input B,
input Cin,
output S,
output Cout
);
wire AxB, AnB1, AnB2;
halfadder h1(A, B, AxB, AnB2);
halfadder h2(AxB, Cin, S, AnB1);
or o1(Cout, AnB1, AnB2);
endmodule