11 | | === void '''_random_wait'''( unsigned int value ) === |
12 | | This function implements a pseudo-random delay. |
13 | | The 5 LSB bits of the '''value''' argument (number between 0 and 31) define the average delay value: 2 * (2**(value[4:0]) |
| 11 | === void '''_random_wait'''( unsigned int randomize , unsigned int value ) === |
| 12 | This function implements a 5 cycles waiting loop. |
| 13 | If the <randomize> argument is set, the number of iterations is a pseudo-random number whose number of bits is defined by the <value> argument. If the <randomize> is zero, the number of iterations is defined by the <value> argument. |