Ari
Junior Member
![* *](https://designers-guide.org/forum/Templates/Forum/default/starblue.gif)
Offline
Posts: 17
Israel
|
Hi,
I have two questions regarding $random and $arandom
1. Except for the fact that $arandom supports global/local randomization, and that its seed can be a parameter, are there any further differences between it and $random? I don't see why both $random and $arandom are supported, as it seems one will always want to use $arandom.
2. Often I build a Verilog-A view which is simulated in several simulators (SPICE, fast SPICE, etc..) It is not clear from the LRM if results of $random/$arandom should be repeatable across simulators. i.e., when running in simulator (A), I am getting certain random output (and it is repeatable across different runs) Once I switch to simulator (B), is there a built-it random function which is guaranteed to give the same results like in simulator (A) ?
Regards,
Ari
|