nand2tetris

This commit is contained in:
2024-12-10 01:25:05 +03:00
parent 2acbfd9d8d
commit c1d75786ef
31 changed files with 1058 additions and 24 deletions

View File

@ -0,0 +1,23 @@
module dmuxGateTB();
reg A_i, S_i;
wire Y0_o, Y1_o;
dmuxGate uut(
.A_i(A_i),
.S_i(S_i),
.Y0_o(Y0_o),
.Y1_o(Y1_o)
);
initial begin
$dumpfile("dmuxGate.vcd");
$dumpvars;
A_i = 1'b0; S_i = 1'b0; #10;
A_i = 1'b1; S_i = 1'b0; #10;
A_i = 1'b0; S_i = 1'b1; #10;
A_i = 1'b1; S_i = 1'b1; #10;
$finish;
end
endmodule