Hello Tristan,

here is the backtrace with all packages reanalyzed:

......> gdb --args C:\Tools\GHDL\0.33dev\bin\ghdl.exe -a --syn-binding --std=93 
--work=test D:\git\SATAController\lib\PoC\tb\misc\misc_Noise_tb.vhdl
GNU gdb (GDB) 7.7 for GNAT GPL 2014 (20140405)
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
See your support agreement for details of warranty and support.
If you do not have a current support agreement, then there is absolutely
no warranty for this version of GDB.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-mingw32".
Type "show configuration" for configuration details.For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from C:\Tools\GHDL\0.33dev\bin\ghdl.exe...done.
(gdb) catch exception
Catchpoint 1: all Ada exceptions
(gdb) run
Starting program: C:\Tools\GHDL\0.33dev\bin\ghdl.exe -a --syn-binding 
"--std=93" "--work=test" 
D:\git\SATAController\lib\PoC\tb\misc\misc_Noise_tb.vhdl
[New Thread 26776.0x6fe4]
build_constant: cannot handle IIR_KIND_PHYSICAL_FP_LITERAL 
(D:\git\SATAController\lib\PoC\tb\misc\misc_Noise_tb.vhdl:17:115)

Catchpoint 1, TYPES.INTERNAL_ERROR at 0x004a4d32 in errorout.error_kind 
(msg=..., an_iir=an_iir@entry=850) at D:\hg\ghdl\src\vhdl\errorout.adb:63
63            raise Internal_Error;
(gdb) bt
#0  <__gnat_debug_raise_exception> (e=0x5c6180 <types.internal_error>) at 
s-excdeb.adb:43
#1  0x005a9c36 in ada.exceptions.complete_occurrence (x=x@entry=0x25eba0) at 
a-except.adb:947
#2  0x005a9c4e in ada.exceptions.complete_and_propagate_occurrence 
(x=x@entry=0x25eba0) at a-except.adb:956
#3  0x005a9cb3 in <__gnat_raise_exception> (e=0x5c6180 <types.internal_error>, 
message=...) at a-except.adb:998
#4  0x004a4d32 in errorout.error_kind (msg=..., an_iir=an_iir@entry=850) at 
D:\hg\ghdl\src\vhdl\errorout.adb:63
#5  0x004be9be in evaluation.build_constant (val=850, origin=origin@entry=857) 
at D:\hg\ghdl\src\vhdl\evaluation.adb:227
#6  0x004c4bf8 in evaluation.eval_expr_keep_orig (expr=expr@entry=857, 
force=force@entry=false) at D:\hg\ghdl\src\vhdl\evaluation.adb:2321
#7  0x004c4c56 in evaluation.eval_expr_check_if_static (expr=857, 
atype=atype@entry=5800) at D:\hg\ghdl\src\vhdl\evaluation.adb:2374
#8  0x0055d4e8 in sem_assocs.sem_association_by_expression (finish=80, 
inter=4900, assoc=858) at D:\hg\ghdl\src\vhdl\sem_assocs.adb:1573
#9  sem_assocs.sem_association (assoc=assoc@entry=858, inter=inter@entry=4900, 
finish=finish@entry=true) at D:\hg\ghdl\src\vhdl\sem_assocs.adb:1599
#10 0x0055e631 in sem_assocs.sem_association_chain 
(interface_chain=interface_chain@entry=4900, assoc_chain=858, 
finish=finish@entry=true, missing=missing@entry=missing_parameter,
    loc=loc@entry=6036) at D:\hg\ghdl\src\vhdl\sem_assocs.adb:1682
#11 0x00563219 in sem_expr.sem_subprogram_call (expr=expr@entry=6036, 
a_type=a_type@entry=0) at D:\hg\ghdl\src\vhdl\sem_expr.adb:1410
#12 0x00550bf6 in sem_names.finish_sem_function_call (call=call@entry=6036, 
prefix=<optimized out>) at D:\hg\ghdl\src\vhdl\sem_names.adb:817
#13 0x00557aa9 in sem_names.finish_sem_name_1 (name=name@entry=856, res=6036) 
at D:\hg\ghdl\src\vhdl\sem_names.adb:1555
#14 0x00558627 in sem_names.finish_sem_name (name=name@entry=856) at 
D:\hg\ghdl\src\vhdl\sem_names.adb:1662
#15 0x0055893e in sem_names.name_to_expression (name=name@entry=856, 
a_type=a_type@entry=562) at D:\hg\ghdl\src\vhdl\sem_names.adb:3610
#16 0x00566cf2 in sem_expr.sem_expression_ov (expr=expr@entry=856, a_type1=562) 
at D:\hg\ghdl\src\vhdl\sem_expr.adb:4008
#17 0x0056460f in sem_expr.sem_expression (expr=expr@entry=856, 
a_type=a_type@entry=633) at D:\hg\ghdl\src\vhdl\sem_expr.adb:4208
#18 0x0056b5d3 in sem_decls.sem_object_declaration (decl=decl@entry=852, 
parent=parent@entry=844, last_decl=last_decl@entry=848) at 
D:\hg\ghdl\src\vhdl\sem_decls.adb:1612
#19 0x0056f7a8 in sem_decls.sem_declaration_chain (parent=parent@entry=844) at 
D:\hg\ghdl\src\vhdl\sem_decls.adb:2814
#20 0x0054a80c in sem_stmts.sem_block (blk=blk@entry=844, 
sem_decls=sem_decls@entry=true) at D:\hg\ghdl\src\vhdl\sem_stmts.adb:1987
#21 0x00577952 in sem.sem_architecture_body (arch=844) at 
D:\hg\ghdl\src\vhdl\sem.adb:208
#22 sem.semantic (design_unit=design_unit@entry=842) at 
D:\hg\ghdl\src\vhdl\sem.adb:3013
#23 0x0053b4d5 in ghdllocal.finish_compilation (unit=842, main=true) at 
D:\hg\ghdl\src\ghdldrv\ghdllocal.adb:66
#24 0x00537302 in ghdlcomp.perform_action (cmd=..., args=...) at 
D:\hg\ghdl\src\ghdldrv\ghdlcomp.adb:310
#25 0x00535b04 in ghdlmain.main () at D:\hg\ghdl\src\ghdldrv\ghdlmain.adb:333
#26 0x004807fa in ghdl_jit () at D:\hg\ghdl\src\ghdldrv\ghdl_jit.adb:34
(gdb)


Regards
    Patrick

-----------------------------------
Wissenschaftliche Hilfskraft

Technische Universität Dresden
Fakultät Informatik
Institut für Technische Informatik
Lehrstuhl VLSI-Entwurfssysteme, Diagnostik und Architektur
01062 Dresden
Tel.:   +49 351 463-38451
Fax:    +49 351 463-38324
Raum:   APB-1020
E-Mail: [email protected]
WWW:    http://vlsi-eda.inf.tu-dresden.de

-----Original Message-----
From: Ghdl-discuss [mailto:[email protected]] On Behalf Of Tristan 
Gingold
Sent: Tuesday, June 09, 2015 2:48 AM
To: [email protected]
Subject: Re: [Ghdl-discuss] Error while handling floating point literals in 
physical literals

On 09/06/15 02:43, Lehmann, Patrick wrote:
> Hello again,
>
> ghdl is compile without -g or -ggdb. There is also an addition strip run to 
> remove symbols.
> I deactivated executable striping so GDB could find any symbols.
>
> Here is the output from start until breakpoint:
> D:\git\SATAController\lib\PoC\temp\ghdl [paebbels/experimental +16 ~2 
> -0 !]> gdb --args C:\Tools\GHDL\0.33dev\bin\ghdl.exe -a --syn-binding 
> --std=93 --work=test 
> D:\git\SATAController\lib\PoC\tb\misc\misc_Noise_tb.vhdl
> GNU gdb (GDB) 7.7 for GNAT GPL 2014 (20140405) Copyright (C) 2014 Free 
> Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later 
> <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> See your support agreement for details of warranty and support.
> If you do not have a current support agreement, then there is 
> absolutely no warranty for this version of GDB.  Type "show copying"
> and "show warranty" for details.
> This GDB was configured as "i686-pc-mingw32".
> Type "show configuration" for configuration details.For help, type "help".
> Type "apropos word" to search for commands related to "word"...
> Reading symbols from C:\Tools\GHDL\0.33dev\bin\ghdl.exe...done.
> (gdb) catch exception
> Catchpoint 1: all Ada exceptions
> (gdb) run
> Starting program: C:\Tools\GHDL\0.33dev\bin\ghdl.exe -a --syn-binding 
> "--std=93" "--work=test" 
> D:\git\SATAController\lib\PoC\tb\misc\misc_Noise_tb.vhdl
> [New Thread 27328.0x6d7c]
> D:\git\SATAController\lib\PoC\tb\misc\misc_Noise_tb.vhdl:6:28: package 
> "utils" is obsoleted by package "std_logic_1164"
> D:\git\SATAController\lib\PoC\src\common\vectors.vhdl:39:28: package 
> "utils" is obsolete

Argh, this isn't the crash: ghdl stopped analysis due to the above error
(std_logic_1164 was reanalyzed during the ghdl build I suppose).
So you first need to reanalyze vectors.vhdl (and possibly other files).

Tristan.


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

Attachment: smime.p7s
Description: S/MIME cryptographic signature

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

Reply via email to