diff options
Diffstat (limited to 'template.tb.v')
| -rw-r--r-- | template.tb.v | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/template.tb.v b/template.tb.v index f781e4a..a633fcb 100644 --- a/template.tb.v +++ b/template.tb.v @@ -11,8 +11,14 @@ template uut( .rst_i(rst_i) ); +string filename; initial begin - $dumpfile("template.lxt2"); $dumpvars(); +`ifdef DUMP_FILE_NAME + filename=`DUMP_FILE_NAME; +`else + filename="template.lxt2"; +`endif + $dumpfile(filename); $dumpvars(); clk_i <= 0; rst_i <= 1'b1; |
