Start for free Book a free session

Duplicate named associations

Each element of the value built by an aggregate may only be represented once (LRM 9.3.3.1). Sigasi reports named associations in aggregates with duplicate choices (rule 27).

VHDL
type config is record
  width : integer;
  depth : integer;
end record;

constant c : config := (width => 8, WIDTH => 16, depth => 256); -- width is already associated
constant c : config := (width | WIDTH => 8, depth => 256);      -- same element twice in one choice list
constant c : config := (width => 8, depth => 256);