Archived
1
0
This repository has been archived on 2026-02-06. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
iceberg/gates/testbench/and16_tb.v
T
2022-03-01 23:35:40 +01:00

16 lines
354 B
Verilog

include "predefined/and16.v"
module and_tb();
reg ta,tb;
wire ty;
and_gate dut(y, ta, tb);
initial begin
ta = 0'b16;
tb = 0'b16;
i=0
for(i<=15, i=i+1)
$monitor("IN: %b, %b ",ta, tb, "OUT: ",y);
ta = ta+1;
tb = tb+1;
end
endmodule