subtraction & multiplier

This commit is contained in:
2024-12-20 21:28:15 +03:00
parent 8d4ec38521
commit 4363a50662
299 changed files with 6627 additions and 55786 deletions

26
project0.2/opCodeTB.v Normal file
View File

@@ -0,0 +1,26 @@
module opCodeTB();
reg [2:0] A;
wire [7:0] opCode;
opCode uut (
.A(A),
.opCode(opCode)
);
initial begin
$dumpfile("opCode.vcd");
$dumpvars;
A = 3'b000; #3;
A = 3'b001; #3;
A = 3'b010; #3;
A = 3'b011; #3;
A = 3'b100; #3;
A = 3'b101; #3;
A = 3'b110; #3;
A = 3'b111; #3;
$finish;
end
endmodule