Quantcast
Channel: Cadence Technology Forums
Viewing all articles
Browse latest Browse all 63819

Forum Post: RE: Verilog $random seems to be not random

$
0
0
You shouldn't give a new seed every time you call it as that would give a very non-random sequence. The original sequence was indeed random, but it's just that you're starting from a fixed seed (which is usually a good idea for reproducibility of results; it would be very annoying if each time you ran the simulation you got a different answer, as otherwise you couldn't reproduce a previous observation). Andrew.

Viewing all articles
Browse latest Browse all 63819

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>