I'd just like to confirm the behavior of a class randomize call that has arguments, described in LRM 13.10. In the example below, will the randomize method call return 0, indicating failure? And this is because constraint c2 cannot be true? Thanks, Bill Paulsen class class1; rand int a,b; constraint c1 { a >= 20 && a <= 30; } constraint c2 { b >= 50 && b <= 60; } endclass ... class1 class1_h = new; ... class1_h.b = 0; result = class1_h.randomize(a);Received on Thu Jun 1 13:57:35 2006
This archive was generated by hypermail 2.1.8 : Thu Jun 01 2006 - 13:58:10 PDT