1
0
mirror of https://github.com/myhdl/myhdl.git synced 2025-01-24 21:52:56 +08:00
myhdl/example/manual/tb_gray_inc_reg.v
2016-06-20 18:59:39 +02:00

27 lines
284 B
Verilog

module tb_gray_inc_reg;
wire [7:0] graycnt;
reg enable;
reg clock;
reg reset;
initial begin
$from_myhdl(
enable,
clock,
reset
);
$to_myhdl(
graycnt
);
end
gray_inc_reg dut(
graycnt,
enable,
clock,
reset
);
endmodule