Hello Attila,

in the instantiation code line of tdc_lbc_cls is no library referenced. You need to add "work.".

label : entity myLibrary.myEntity
  generic map (...)
  port map (...);

Regards
    Patrick

-----------------------------------
Wissenschaftliche Hilfskraft
Technische Universität Dresden
Fakultät Informatik
Institut für Technische Informatik
Lehrstuhl VLSI-Entwurfssysteme, Diagnostik und Architektur        
01062 Dresden, GERMANY
Tel.:  +49 351 463-38451                                       Fax:  +49 351 463-38324
E-Mail: patrick.lehm...@tu-dresden.de  
WWW:    http://vlsi-eda.inf.tu-dresden.de

-------- Ursprüngliche Nachricht --------
Von: Attila Kinali
Datum:01.12.2015 21:45 (GMT+01:00)
An: GHDL discuss list
Betreff: [Ghdl-discuss] SYSTEM.ASSERTIONS.ASSERT_FAILURE in trans.adb:393 (Set_Scope_Via_Param_Ptr)

Moin,

I'm again doing some weird stuff and stumbled over an assert.
I'm pretty sure that the fault is mine, but I cannot see it.
Could someone lend me a hand and have a look?

The code in question can be found at http://attila.kinali.ch/tdc/
( download with:
wget http://attila.kinali.ch/tdc/{tdc_package.vhd,tdc_lbc.vhd,tdc_lbc_cls.vhd,tb_lbc.vhd,simulate.sh}
)

If simulate.sh is run, then I get the following assert output:

******************** GHDL Bug occured ****************************
Please report this bug on http://gna.org/projects/ghdl
GHDL release: GHDL 0.33dev (20141104) [Dunoon edition]
Compiled with GNAT Version: 4.9.2
In directory: /tmp/asdadsfasdfasdfasdf/
Command line:
/usr/local/stow/ghdl-hg-2015-11-26-r922/bin/ghdl1-llvm --std=08 -P/usr/local/stow/ghdl-hg-2015-11-26-r922/lib/ghdl/v08/std/ -P/usr/local/stow/ghdl-hg-2015-11-26-r922/lib/ghdl/v08/ieee/ -c -o tdc_lbc_cls.o tdc_lbc_cls.vhd
Exception SYSTEM.ASSERTIONS.ASSERT_FAILURE raised
Exception information:
Exception name: SYSTEM.ASSERTIONS.ASSERT_FAILURE
Message: trans.adb:393
Call stack traceback locations:
0x7f32da6c9fc1 0x53f4ef 0x561cbe 0x55e46c 0x55ebda 0x55e9e8 0x55ecab 0x5a8e4f 0x54c31c 0x5ade63 0x46d3bf 0x431cc6 0x7f32d9be9b43 0x431110 0xfffffffffffffffe
******************************************************************

As you can see from the path name, ghdl has been compiled from hg r922
a couple of days ago, using the llvm backend.

Thanks in advance

                                Attila Kinali


--
It is upon moral qualities that a society is ultimately founded. All
the prosperity and technological sophistication in the world is of no
use without that foundation.
                 -- Miss Matheson, The Diamond Age, Neil Stephenson

_______________________________________________
Ghdl-discuss mailing list
Ghdl-discuss@gna.org
https://mail.gna.org/listinfo/ghdl-discuss

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
Ghdl-discuss mailing list
Ghdl-discuss@gna.org
https://mail.gna.org/listinfo/ghdl-discuss

Reply via email to