Hello,

This usually means that your are using a rare VHDL construct that is probably 
legal, but not yet supported by GHDL.

However, looking at the current case, I would say it comes from the use of a 
"begin" keyword after the "generate" which is not legal because you have no 
declarative statement before.

Christophe.

On Saturday 15 October 2011 07:18, KIMURA Masaru wrote:
> Hi,
>
> anyone can tell me what it is?
> i got this error on windows (using ghdl-win-installer-latest.exe on
> cygwin) and osx (ghdl_mcode_r142.dmg).
> FYI, same code works w/ modelsim pe 10.0b.
>
> Peace,
>
> $ hg clone https://bitbucket.org/hiyuh/oisc
> $ cd oisc
> $ make
> == analyze vhdl/DMEM
> for f in vhdl/DMEM.vhd ; do case $f in *.vhd) ghdl -a --work=work
> --workdir=./work --std=93c --no-vital-checks --warn-binding
> --warn-reserved --warn-library --warn-no-vital-generic
> --warn-no-delayed-checks --warn-no-body --warn-specs --warn-unused $f
> ;; esac ; done ;
> vhdl/DMEM.vhd:36:14:warning: package "dmem_prim_pkg" does not require a
> body vhdl/DMEM.vhd:69:36:warning: universal integer bound must be numeric
> literal or attribute
> vhdl/DMEM.vhd:130:14:warning: package "dmem_pkg" does not require a body
> vhdl/DMEM.vhd:168:30:warning: universal integer bound must be numeric
> literal or attribute
> touch vhdl/DMEM.analyzed
> == analyze vhdl/OISC_SUBLEQ
> for f in vhdl/OISC_SUBLEQ.vhd vhdl/DMEM.analyzed ; do case $f in
> *.vhd) ghdl -a --work=work --workdir=./work --std=93c
> --no-vital-checks --warn-binding --warn-reserved --warn-library
> --warn-no-vital-generic --warn-no-delayed-checks --warn-no-body
> --warn-specs --warn-unused $f ;; esac ; done ;
> vhdl/OISC_SUBLEQ.vhd:157:39:warning: universal integer bound must be
> numeric literal or attribute
> vhdl/OISC_SUBLEQ.vhd:239:47:warning: universal integer bound must be
> numeric literal or attribute
> parse_declarative_part(2): cannot handle IIR_KIND_GENERATE_STATEMENT
> (vhdl/OISC_SUBLEQ.vhd:208:16)
>
> ******************** 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: GPL 2009 (20090519)
> In directory: CURRENT_DIRECTORY
> Command line:
> C:\GHDL\bin\ghdl.exe -a --work=work --workdir=./work --std=93c
> --no-vital-checks --warn-binding --warn-reserved --warn-library
> --warn-no-vital-generic --warn-no-delayed-checks --warn-no-body
> --warn-specs --warn-unused vhdl/OISC_SUBLEQ.vhd
> Exception TYPES.INTERNAL_ERROR raised
> Exception information:
> Exception name: TYPES.INTERNAL_ERROR
> Message: errorout.adb:71
> ******************************************************************
> touch vhdl/OISC_SUBLEQ.analyzed
> == analyze bench/BENCH_OISC_SUBLEQ
> for f in bench/BENCH_OISC_SUBLEQ.vhd vhdl/OISC_SUBLEQ.analyzed ; do
> case $f in *.vhd) ghdl -a --work=work --workdir=./work --std=93c
> --no-vital-checks --warn-binding --warn-reserved --warn-library
> --warn-no-vital-generic --warn-no-delayed-checks --warn-no-body
> --warn-specs --warn-unused $f ;; esac ; done ;
> bench/BENCH_OISC_SUBLEQ.vhd:4:10: primary unit "oisc_subleq_pkg" not
> found in library "work"
> touch bench/BENCH_OISC_SUBLEQ.analyzed
> == elaborate bench/BENCH_OISC_SUBLEQ
> ghdl -e --work=work --workdir=./work --std=93c --no-vital-checks
> --warn-binding --warn-reserved --warn-library --warn-no-vital-generic
> --warn-no-delayed-checks --warn-no-body --warn-specs --warn-unused -o
> bench/BENCH_OISC_SUBLEQ BENCH_OISC_SUBLEQ
> error: cannot find entity or configuration bench_oisc_subleq
> make: *** [bench/BENCH_OISC_SUBLEQ.elaborated] Error 1

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

Reply via email to