Closed leonardt closed 5 years ago
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
fault/system_verilog_target.py | 13 | 14 | 92.86% | ||
<!-- | Total: | 31 | 32 | 96.88% | --> |
Totals | |
---|---|
Change from base Build 937: | 4.7% |
Covered Lines: | 1471 |
Relevant Lines: | 1815 |
This adds a
PowerTester
class that adds the methods:add_power
- marks a port to be generated assupply1
add_ground
- marks a port to be generated assupply0
add_tri
- marks a port to be generated astri
When the
Tester
is compiled to a SV test bench, the marked ports are generated as the specified type (as opposed to the default behavior withreg
for inputs andwire
for outputs)