diff options
| author | uvok | 2025-12-26 13:22:55 +0100 |
|---|---|---|
| committer | uvok | 2025-12-26 13:22:55 +0100 |
| commit | 71ec72d7c63a7739fb760c2bdf1df86c0c2561aa (patch) | |
| tree | cc54eaafee3c935896dcb11732e044b699881481 /template.tb.v | |
| parent | 7312ecd487d8a7760c8cfe1dff18c2f2c71d0c03 (diff) | |
Add template files
Diffstat (limited to 'template.tb.v')
| -rw-r--r-- | template.tb.v | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/template.tb.v b/template.tb.v new file mode 100644 index 0000000..ca8c437 --- /dev/null +++ b/template.tb.v @@ -0,0 +1,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 |
