summaryrefslogtreecommitdiff
path: root/template.tb.v
blob: f781e4a2beb7602207a07d5b4d8d29b378c8cce3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
`timescale 1us/1ns

module template_tb (
);

reg clk_i;
reg rst_i;

template uut(
  .clk_i(clk_i),
  .rst_i(rst_i)
);

initial begin
  $dumpfile("template.lxt2"); $dumpvars();
  clk_i <= 0;
  rst_i <= 1'b1;

end

always #10 clk_i = ~clk_i;

initial begin
  #100
  $finish();
end

endmodule