'soft' keyword loses scope when using operator other than "="

Issue #137 resolved
Axel Aguado
created an issue

Compare this text snippet:

constraint constraint_c {
    soft var_1 = 1;
}

to this one:

constraint constraint_c {
    soft var_1 < 1;
}

The soft keyword's scope in the first snippet is

source.systemverilog 
meta.userdefined.systemverilog 
storage.type.userdefined.systemverilog`.

In the second snippet, it's

source.systemverilog

Comments (2)

  1. Log in to comment