1
0
mirror of https://github.com/myhdl/myhdl.git synced 2025-01-24 21:52:56 +08:00
myhdl/example/manual/tb_inc.v
2016-05-23 16:11:01 +02:00

27 lines
260 B
Verilog

module tb_inc;
wire [7:0] count;
reg enable;
reg clock;
reg reset;
initial begin
$from_myhdl(
enable,
clock,
reset
);
$to_myhdl(
count
);
end
inc dut(
count,
enable,
clock,
reset
);
endmodule