8000 Signal with an external name cannot be assigned concurrently · Issue #1156 · nickg/nvc · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Signal with an external name cannot be assigned concurrently #1156
Closed
@am9417

Description

@am9417

Following structure gives error. I.e. when assigning a signal from an external name inside an architecture (concurrent assignment statement).


** Error: unexpected << while parsing concurrent statement, expecting one of process, postponed, component, entity, configuration, with, assert, block, if, for, case, ( or identifier
architecture arc of ent is
  signal x : std_logic;
begin
  << signal .some.external.name : std_logic >> <= x;
end architecture;

My workaround is to wrap the concurrent assignment into a process:

architecture arc of ent is
  signal x : std_logic;
begin
  process(all)
  begin
    << signal .some.external.name : std_logic >> <= x;
  end process;
end architecture;

and the error disappears and the unit can be analyzed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0