verilog - Can I use $urandom_range with time variables -


I wanted to know that I could just write:

  time from time_night; = $ Urandom_range (10ms, 7ms) at time_only; I have tried to use it directly, there are no errors / warnings issued. Although the returned value is not between 7-10 mms, I think it's time to do this. Along with $ urandom_range is legal to use (since I did not find any errors), but then why can not I get a price in the appropriate category?  

type of IEEE STD (1800-2009) $ urandom_range Code> int unsigned is not equal to this time I do not think you can rely on the system function so that you are not getting errors or warnings from your simulator Be there

This is a compilation error in VCS and there is a warning with a warning.

Can you use something like this?

  int unsigned del = $ urandom_range (10, 7); # (1 MMS * Dell);    

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -