Menu

#507 Unique syntax error in certain

v1.0_(example)
closed-fixed
nobody
None
5
2017-09-18
2017-09-12
No

Hi all,

The following syntax is beeing flagged as an error, even the is correct:

   assert(this.randomize(off_delay) with { foreach(off_delay[i]) off_delay[i] < c_tocken; unique{off_delay}; });

Error message:

Multiple markers at this line
-<file.sv> Expecting keyword "endtask" ; received "{"
-<file.sv> Unknown module/class/iterface body item: Operator }
-<file.sv> Unknown suffix for expression: {

Thanks for fixing,

Safouan

Discussion

  • Matthew Ballance

    • status: open --> closed-fixed
     
  • Matthew Ballance

    Corrected in 2.0.4. Thanks for the bug report and testcase!

     

Log in to post a comment.