binarytobcd

This commit is contained in:
2024-12-23 02:57:13 +03:00
parent c5af5cfeda
commit 2f91f173de
10 changed files with 5491 additions and 3351 deletions

View File

@@ -3,16 +3,16 @@ module ALUTB ();
reg [3:0] A, B;
reg CarryIN;
reg [2:0] opCodeA;
wire [7:0] Y;
wire CarryOUT, overflow;
wire [11:0] bcd;
ALU uut(
.A(A),
.B(B),
.CarryIN(CarryIN),
.opCodeA(opCodeA),
.Y(Y),
.CarryOUT(CarryOUT),
.bcd(bcd),
.overflow(overflow)
);