1
0
mirror of https://github.com/myhdl/myhdl.git synced 2024-12-14 07:44:38 +08:00
myhdl/example/manual/tb_FramerCtrl.v
2008-11-22 22:40:25 +01:00

30 lines
312 B
Verilog

module tb_FramerCtrl;
wire SOF;
wire [2:0] state;
reg syncFlag;
reg clk;
reg reset_n;
initial begin
$from_myhdl(
syncFlag,
clk,
reset_n
);
$to_myhdl(
SOF,
state
);
end
FramerCtrl dut(
SOF,
state,
syncFlag,
clk,
reset_n
);
endmodule