mciepluc / cocotb-coverage

Functional Coverage and Constrained Randomization Extensions for Cocotb
BSD 2-Clause "Simplified" License
104 stars 16 forks source link

Missing "weight" variable in CoverItem class + make "weight" accessible using @property #14

Closed pwiecha closed 5 years ago

pwiecha commented 5 years ago

CoverPoint, CoverCross and CoverItem classes should have a retrievable weight property. CoverItem instance weight should be a sum of his children weights.

mciepluc commented 5 years ago

Fixed