Closed ptpan closed 2 years ago
Merging #221 (9ccdbd8) into master (4f2fd2d) will not change coverage. The diff coverage is
n/a
.
@@ Coverage Diff @@
## master #221 +/- ##
=======================================
Coverage 89.26% 89.26%
=======================================
Files 330 330
Lines 30242 30242
=======================================
Hits 26996 26996
Misses 3246 3246
Impacted Files | Coverage Δ | |
---|---|---|
...backends/verilog/tbgen/verilog_tbgen_v_template.py | 100.00% <ø> (ø) |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 4f2fd2d...9ccdbd8. Read the comment docs.
This PR makes the generated Verilog testbenches even more reusable by allowing customizable toplevel module names through macro definitions. You can define the
VTB_TOP_MODULE_NAME
macro to change the module instantiated in the TB, which can be useful when you want to repurpose the RTL TB for gate-level netlists. IfVTB_TOP_MODULE_NAME
is not defined, the module name defaults to the translated Verilog module name.