This commit is contained in:
2025-01-12 07:23:34 +03:00
parent 39d8168cc0
commit 3d71f7e69f
31 changed files with 1298 additions and 368 deletions

View File

@@ -0,0 +1,12 @@
module halfsubtraction (
input A, B,
output Difference, Borrow
);
wire notA;
xor xo1 (Difference, A, B);
not a1 (notA, A);
and an1 (Borrow, notA, B);
endmodule