summaryrefslogtreecommitdiff
path: root/template.tb.v
blob: ca8c437859a0b92060078c8ae4d7166a46bbc5be (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
  clk_i <= 0;
  rst_i <= 1'b1;

  $dumpfile("template.lxt2"); $dumpvars();
end

always #10 clk_i = ~clk_i;

initial begin
  #100
  $finish();
end

endmodule