Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation on 04/05/2016 in all areas

  1. 1 point
    mastrick

    randomize() with inside syntax

    Also, you might want to keep your randomize() call outside the assert(). Otherwise, simulators may not call the randomize at all if you disable assertions (e.g. to temporarily work around a problem). You can assign the return from randomize() to a variable and then assert that variable.
×