Reply To: OSVVM and BigIntegers ?

Why OSVVM™? Forums OSVVM OSVVM and BigIntegers ? Reply To: OSVVM and BigIntegers ?

#863
Jim Lewis
Member

Hi

What sort of binning do you want to do?  

A brute force way to do this is to handle item/point coverage as cross coverage, the first bin in the cross being the upper bits of the number and the second bin in the cross being the range of the lower number.  

OTOH, you can divide/shift/mask away your lower bits and just use a normal integer range.  Even just 2**31 item coverage bins is quite a few and you would really need to think about whether you need this many as it will impact simulation performance.

Jim