keyword 'iff' loses scope

Issue #141 resolved
Anonymous created an issue

In this snippet:

coverpoint cp_name iff (cmd.kind == ANVM_CMD_abort);

iff has the following scopes:

source.systemverilog
meta.module.inst.systemverilog
entity.name.type.module.systemverilog

But in this one:

always @ (posedge clk iff rst == 0 or posedge rst) begin
    if (rst) begin
        q <= 0;
    end else begin
        q <= d;
    end
end

iff has these scopes:

source.systemverilog
keyword.control.systemverilog

Comments (1)

  1. Log in to comment