Eilert Backhus
-
Eilert Backhus replied to the topic RandomPkg: How to set weight for range in the forum OSVVM 6 years, 3 months ago
Hi Jim,I hoped that there’s some solution using the range notation like you showed:With named association, you can also do the following:
A <= RndA.DistSlv((0=>5, 1 to 14 =>1, 15=>5), A'length) ;
I just didn’t expect it to be so straight simple, since the defined type is self defined. You mentioned integer_vectors somewhere else. Are these…[Read more]