Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception when assigning to inout signal in procedure #542

Closed
avelure opened this issue Sep 28, 2022 · 0 comments
Closed

Exception when assigning to inout signal in procedure #542

avelure opened this issue Sep 28, 2022 · 0 comments

Comments

@avelure
Copy link

avelure commented Sep 28, 2022

library ieee;
use ieee.std_logic_1164.all;
use ieee.numeric_std.all;

entity test is
end entity;

architecture beh of test is
begin

  p_proc : process
    procedure proc(
      signal   target        : inout  std_logic_vector) is
    begin
      target(target'range) <= (others => '0'); -- Issue is here
    end;
  begin
    report "OK";
    wait;
  end process;
end architecture;
nvc --std=08 -a test_assign_inout_range.vhd -e test -r

*** Caught exception c0000005 (EXCEPTION_ACCESS_VIOLATION) [address=0000000000000000, ip=00007FF674FCEDB0] ***

[00007FF674FA6AB4]
[00007FFCC38A0057] UnhandledExceptionFilter+0x1e7
[00007FFCC312F0B8]
[00007FFCC312EEA1]
[00007FFCC5EB5470] memset+0x13b0
[00007FFCC5E9C7B6] _C_specific_handler+0x96
[00007FFCC5EB235F] _chkstk+0x11f
[00007FFCC5E614A4] RtlRaiseException+0x434
[00007FFCC5EB0E8E] KiUserExceptionDispatcher+0x2e
[00007FF674FCEDB0]
[00007FF674FEC600]
[00007FF674FEF709]
[00007FF675002E00]
[00007FF674FF60FC]
[00007FF674FF61FD]
[00007FF674FF61FD]
[00007FF674FD18E6]
[00007FF67500EC49]
[00007FF67500F30B]
[00007FF674FA2BA8]
[00007FF674FA2B1C]
[00007FF675085EE2] vhpi_put_data+0x231f2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant