I ran into an assertion failure when running the elaboration command for a model that has a procedure declaration inside a process statement. The following code snippet demonstrates the problem:
entity test is
end entity;
architecture arch of test is
signal my_a : integer := 0;
signal my_b : integer := 1;
begin
process (all) is
procedure do_thing (signal a : in integer; signal b : out integer) is
begin
b <= a;
end procedure;
begin
my_b <= my_a;
end process;
end architecture;
The problem doesn't seem to happen if I move the procedure into the architecture declarative part or if I remove the signal assignment statement from the process body.
Hello,
I ran into an assertion failure when running the elaboration command for a model that has a procedure declaration inside a process statement. The following code snippet demonstrates the problem:
nvc -e test
output:The problem doesn't seem to happen if I move the procedure into the architecture declarative part or if I remove the signal assignment statement from the process body.