Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
i'm not sure how u can generate a 36-bit random value. $random provides only 32 bit max value. what you could probably do is, concatenate it with a 4-bit counter
use $random%(see_d) function
it will generate values betwwen -(see_d-1) to +(see_d -1)
To constraint to +ve values only
use {$random}%(see_d) so the values generated will be in the range 0 to (se_d -1)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.