yosys/tests/fmt/always_full_tb.v

15 lines
188 B
Verilog
Raw Normal View History

module always_full_tb;
reg clk = 0;
wire fin;
always_full uut (.clk(clk), .fin(fin));
always begin
#1 clk <= ~clk;
if (fin) $finish;
end
endmodule