Sorry I forgot the attachements
Here they are
library ieee;
use ieee.std_logic_1164.all;
use ieee.numeric_std.all;

entity test is end entity;

architecture a_test of test is
    signal a, b : std_logic;
    signal i1 : integer := 1;
    constant i2 : integer := 1;
    signal t1 : time := 1 ns;
    constant t2 : time := 1 ns;
begin
    process
        variable m : boolean;
        variable ip1 : integer := 1;
        constant ip2 : integer := 1;
        variable tp1 : time := 1 ns;
        constant tp2 : time := 1 ns;
    begin
        m := a'stable(1 ns);        --works
        m := a'stable(i1 * ns);     --works
        m := a'stable(i2 * ns);     --works
        m := a'stable(t1);          --works
        m := a'stable(t2);          --works
        m := a'stable(ip1 * ns);    --crashs
        m := a'stable(ip2 * ns);    --works
        m := a'stable(tp1);         --crashs
        m := a'stable(tp2);         --crashs
        --
        m := a'quiet(1 ns);        --works
        m := a'quiet(i1 * ns);     --works
        m := a'quiet(i2 * ns);     --works
        m := a'quiet(t1);          --works
        m := a'quiet(t2);          --works
        m := a'quiet(ip1 * ns);    --crashs
        m := a'quiet(ip2 * ns);    --works
        m := a'quiet(tp1);         --crashs
        m := a'quiet(tp2);         --crashs
        --
        b <= a'delayed(1 ns);        --works
        b <= a'delayed(i1 * ns);     --works
        b <= a'delayed(i2 * ns);     --works
        b <= a'delayed(t1);          --works
        b <= a'delayed(t2);          --works
        b <= a'delayed(ip1 * ns);    --crashs
        b <= a'delayed(ip2 * ns);    --works
        b <= a'delayed(tp1);         --crashs
        b <= a'delayed(tp2);         --crashs
    end process;
end architecture;
jo...@pc:~$ ghdl -a test.vhd

******************** GHDL Bug occured ****************************
Please report this bug on http://gna.org/projects/ghdl
GHDL release: GHDL 0.29 (20100109) [Sokcho edition]
Compiled with GNAT Version: 4.4.3
In directory: /home/jonas/
Command line:
/usr/lib/ghdl/libexec/gcc/i486-linux-gnu/4.3.4/ghdl1 
-P/usr/lib/ghdl/lib/gcc/i486-linux-gnu/4.3.4/vhdl/lib//v93/std/ 
-P/usr/lib/ghdl/lib/gcc/i486-linux-gnu/4.3.4/vhdl/lib//v93/ieee/ -quiet -o 
test.s test.vhd
Exception TYPES.INTERNAL_ERROR raised
Exception information:
Exception name: TYPES.INTERNAL_ERROR
Message: translation.adb:23481
Call stack traceback locations:
0x80b845d 0x80b849b 0x80b87e8 0x80b8839 0x80eebe0 0x80ead5c 0x80eb1b7 0x80f2b2c 
0x80eae6e 0x80ffd90 0x8102d22 0x8104d30 0x810bfe9 0x810c66c 0x8111704 0x805b280 
0x804f50f
******************************************************************

Execution terminated by unhandled exception
Exception name: TYPES.INTERNAL_ERROR
Message: translation.adb:23481
Call stack traceback locations:
0x80b845d 0x80b849b 0x80b87e8 0x80b8839 0x80eebe0 0x80ead5c 0x80eb1b7 0x80f2b2c 
0x80eae6e 0x80ffd90 0x8102d22 0x8104d30 0x810bfe9 0x810c66c 0x8111704 0x805b280 
0x804f50f
/usr/lib/ghdl/bin/ghdl: compilation error
jo...@pc:~$

Reply via email to