Commit c28536f
committed
Fix issue with changing vcd file name multiple times
We were seeing a bug where if you ran a bunch of tests with --dump-vcd
PyMTL3 would only dump the VCD for the first test, although every once
and a while it would indeed dump VCD files for the every test. This
seems to have something to do with the shared library. The cleanest
fix seems to be to avoid hard coding the VCD file name in the generated
PyMTL wrapper and instead to dynamically get the VCD file name from
the metadata.1 parent d20ec4d commit c28536f
File tree
1 file changed
+4
-3
lines changed- pymtl3/passes/backends/verilog/import_
1 file changed
+4
-3
lines changedLines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
124 | 125 | | |
125 | 126 | | |
126 | 127 | | |
127 | | - | |
128 | | - | |
129 | | - | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
130 | 131 | | |
131 | 132 | | |
132 | 133 | | |
| |||
0 commit comments