Jump to content

dave_59

Members
  • Content Count

    385
  • Joined

  • Last visited

  • Days Won

    20

Reputation Activity

  1. Like
    dave_59 got a reaction from ljepson74 in randomize() with inside syntax   
    The syntax is
    assert (         randomize(index) with { index inside { [1:5] } ;  }          ) else begin It's the same {} as if you wrote named constraint block. Each constraint within the {} needs to be terminated with a semi-colon
    constraint range_constraint                                { index inside { [1:5] } ;  }            
×
×
  • Create New...