Closed a-panella closed 5 months ago
It now reports this:
** Error: cannot create driver for external name as subprogram PROC [] is not contained
within a process statement
> ../test/sem/issue884.vhd:7
|
7 | << signal .issue884.uut.x : integer >> <= 42; -- Error
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Scenario: attempting to access external signals within a procedure declared in declarative region causes NVC to crash with a SIGMAPERR
As far as I understand, attempting to do this (access external signals within a procedure) is not valid VHDL anyway - it would be helpful to have a check for this and display an error message that clarifies this
MRE: