Hello,

I am using GHDL 0.25 on a x86_64 linux machine. When I try to compile
the appended code I get the appended error message.

greetings,

Mark.

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

entity test is
end;

architecture first of test is
    component x is
        port(
            a: in std_logic_vector(13 downto 0)
        );
    end component;
signal u: unsigned(18 downto 0):=(others=>'0');
begin

    a: x port map (
        a=>std_logic_vector(u(13 downto 0))
    );
end;

-------------- message ---------------

******************** GHDL Bug occured ****************************
Please report this bug on http://gna.org/projects/ghdl
GHDL version: GHDL 0.25 (20060811) [Sokcho edition]
Compiled with GNAT Version: 4.1.1
In directory: /home/mark/vhdl/test/vhdl_source/
Command line:
/usr/local-64/ghdl/libexec/gcc/x86_64-unknown-linux-gnu/4.1.1/ghdl1 
-P/usr/local-64/ghdl/lib/gcc/x86_64-unknown-linux-gnu/4.1.1/vhdl/lib/v93/std/ 
-P/usr/local-64/ghdl/lib/gcc/x86_64-unknown-linux-gnu/4.1.1/vhdl/lib/v93/ieee/ 
-quiet -o test_crash.s test_crash.vhd
Exception CONSTRAINT_ERROR raised
Exception information:
Exception name: CONSTRAINT_ERROR
Message: translation.adb:11026 access check failed
Call stack traceback locations:
0x866120 0x866159 0x8662d0 0x86643e 0x8664f4 0x49d9af 0x49db87 0x4b5631 
0x4b6c1e 0x4b778a 0x4b9072 0x4101fb 0x404bd5 0x40f316 0x4103a9 0x40424d 
0x2abf492ff4b9 0x403e48
******************************************************************

Execution terminated by unhandled exception
Exception name: CONSTRAINT_ERROR
Message: translation.adb:11026 access check failed
Call stack traceback locations:
0x866120 0x866159 0x8662d0 0x86643e 0x8664f4 0x49d9af 0x49db87 0x4b5631 
0x4b6c1e 0x4b778a 0x4b9072 0x4101fb 0x404bd5 0x40f316 0x4103a9 0x40424d 
0x2abf492ff4b9 0x403e48
ghdl: compilation error

_______________________________________________
Ghdl-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/ghdl-discuss

Reply via email to