Reply To: ../packages/RandomPkg.vhd(92): Range 0 downto 1 is null

Why OSVVM™? Forums OSVVM ../packages/RandomPkg.vhd(92): Range 0 downto 1 is null Reply To: ../packages/RandomPkg.vhd(92): Range 0 downto 1 is null

#455
Jim Lewis
Member

Actually technique.  Note it is not illegal in the language to do this.  The simulator just flags it because usually the code is wrong – in this case it is ok.  

It is used on functions normal and poisson to make the exclude vector optional.

CoveragePkg use same technique so expect a null vector warning there too.

Jim