Carlos Alberto Ruiz
2016-10-28 10:43:53 UTC
Hello,
I had installed GHDL 0.34-dev with mcode and my project compile and
simulate well.
I have installed GHDL 0.34-dev with LLVM and now I'm having problems
(with the installation and compilation). I followed the steps of
build.txt and this fails in "make install":
**file attached
But I run "ghdl -v":
***@SVR-SIM:~$ ghdl -v
GHDL 0.34-dev (tarball) [Dunoon edition]
Compiled with GNAT Version: 4.9.2
llvm code generator
Written by Tristan Gingold.
Copyright (C) 2003 - 2015 Tristan Gingold.
GHDL is free software, covered by the GNU General Public License. There
is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
When I compile my project:
***@SVR-SIM:~/ELINT/95512010_FPGA_central/tsb/global$ python run.py
Compiling ../../src/xilinxcorelib/dsp_mmcm.vhd into global_lib ...
/home/cruiz/ELINT/95512010_FPGA_central/src/xilinxcorelib/dsp_mmcm.vhd:73:12:
package "vcomponents" is obsoleted by package "std_logic_1164"
/usr/local/bin/ghdl: compilation error
Failed to compile ../../src/xilinxcorelib/dsp_mmcm.vhd with command:
/usr/local/bin/ghdl -a
--workdir=/home/cruiz/ELINT/95512010_FPGA_central/tsb/global/vunit_out/ghdl/libraries/global_lib
--work=global_lib --std=93 -P/home/cruiz/vendors/v00/xilinxcorelib
-P/home/cruiz/ELINT/95512010_FPGA_central/tsb/global/vunit_out/ghdl/libraries/global_lib
-P/home/cruiz/ELINT/95512010_FPGA_central/tsb/global/vunit_out/ghdl/libraries/global_tb_lib
-P/home/cruiz/vendors/xilinx-ise/unimacro/v93
-P/home/cruiz/ELINT/95512010_FPGA_central/tsb/global/vunit_out/ghdl/libraries/vunit_lib
-P/home/cruiz/vendors/v00/unisim --ieee=synopsys -fexplicit
--no-vital-checks -frelaxed-rules
/home/cruiz/ELINT/95512010_FPGA_central/src/xilinxcorelib/dsp_mmcm.vhd
I have erros with all files in std_logic_1164
***@SVR-SIM:~$ cat /etc/debian_version
8.6
***@SVR-SIM:~/ELINT/95512010_FPGA_central/tsb/global$ gnat -v
GNAT 4.9.2
***@SVR-SIM:~/ELINT/95512010_FPGA_central/tsb/global$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.9/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.9.2-10'
--with-bugurl=file:///usr/share/doc/gcc-4.9/README.Bugs
--enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr
--program-suffix=-4.9 --enable-shared --enable-linker-build-id
--libexecdir=/usr/lib --without-included-gettext --enable-threads=posix
--with-gxx-include-dir=/usr/include/c++/4.9 --libdir=/usr/lib
--enable-nls --with-sysroot=/ --enable-clocale=gnu
--enable-libstdcxx-debug --enable-libstdcxx-time=yes
--enable-gnu-unique-object --disable-vtable-verify --enable-plugin
--with-system-zlib --disable-browser-plugin --enable-java-awt=gtk
--enable-gtk-cairo
--with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.9-amd64/jre
--enable-java-home
--with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.9-amd64
--with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.9-amd64
--with-arch-directory=amd64
--with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc
--enable-multiarch --with-arch-32=i586 --with-abi=m64
--with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic
--enable-checking=release --build=x86_64-linux-gnu
--host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.9.2 (Debian 4.9.2-10)
***@SVR-SIM:~$ llvm-config --version
3.5.0
--
CARLOS ALBERTO RUIZ NARANJO
_FPGA engineer_
***@dasphotonics.com
__
DAS PHOTONICS S.L.
Ciudad Politécnica de la Innovación, Camino de Vera s/n.
Acceso K, Edificio 8F, 2ª planta 46022 Valencia - SPAIN
Telf: +34 963 556 150 - Directo: +34 --------------
www.dasphotonics.com [1]
Before printing this email think well whether it is really necessary.
This e-mail contains confidential information.It is for the intended
recipient only. If you are not the intended recipient of this e-mail,
please notify the author by replying to this e-mail immediately and
delete the message from your computer. If you are not the intended
recipient you must not use, disclose, distribute, copy, print or rely on
this e-mail
Links:
------
[1] http://www.dasphotonics.com/
I had installed GHDL 0.34-dev with mcode and my project compile and
simulate well.
I have installed GHDL 0.34-dev with LLVM and now I'm having problems
(with the installation and compilation). I followed the steps of
build.txt and this fails in "make install":
**file attached
But I run "ghdl -v":
***@SVR-SIM:~$ ghdl -v
GHDL 0.34-dev (tarball) [Dunoon edition]
Compiled with GNAT Version: 4.9.2
llvm code generator
Written by Tristan Gingold.
Copyright (C) 2003 - 2015 Tristan Gingold.
GHDL is free software, covered by the GNU General Public License. There
is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
When I compile my project:
***@SVR-SIM:~/ELINT/95512010_FPGA_central/tsb/global$ python run.py
Compiling ../../src/xilinxcorelib/dsp_mmcm.vhd into global_lib ...
/home/cruiz/ELINT/95512010_FPGA_central/src/xilinxcorelib/dsp_mmcm.vhd:73:12:
package "vcomponents" is obsoleted by package "std_logic_1164"
/usr/local/bin/ghdl: compilation error
Failed to compile ../../src/xilinxcorelib/dsp_mmcm.vhd with command:
/usr/local/bin/ghdl -a
--workdir=/home/cruiz/ELINT/95512010_FPGA_central/tsb/global/vunit_out/ghdl/libraries/global_lib
--work=global_lib --std=93 -P/home/cruiz/vendors/v00/xilinxcorelib
-P/home/cruiz/ELINT/95512010_FPGA_central/tsb/global/vunit_out/ghdl/libraries/global_lib
-P/home/cruiz/ELINT/95512010_FPGA_central/tsb/global/vunit_out/ghdl/libraries/global_tb_lib
-P/home/cruiz/vendors/xilinx-ise/unimacro/v93
-P/home/cruiz/ELINT/95512010_FPGA_central/tsb/global/vunit_out/ghdl/libraries/vunit_lib
-P/home/cruiz/vendors/v00/unisim --ieee=synopsys -fexplicit
--no-vital-checks -frelaxed-rules
/home/cruiz/ELINT/95512010_FPGA_central/src/xilinxcorelib/dsp_mmcm.vhd
I have erros with all files in std_logic_1164
***@SVR-SIM:~$ cat /etc/debian_version
8.6
***@SVR-SIM:~/ELINT/95512010_FPGA_central/tsb/global$ gnat -v
GNAT 4.9.2
***@SVR-SIM:~/ELINT/95512010_FPGA_central/tsb/global$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.9/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.9.2-10'
--with-bugurl=file:///usr/share/doc/gcc-4.9/README.Bugs
--enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr
--program-suffix=-4.9 --enable-shared --enable-linker-build-id
--libexecdir=/usr/lib --without-included-gettext --enable-threads=posix
--with-gxx-include-dir=/usr/include/c++/4.9 --libdir=/usr/lib
--enable-nls --with-sysroot=/ --enable-clocale=gnu
--enable-libstdcxx-debug --enable-libstdcxx-time=yes
--enable-gnu-unique-object --disable-vtable-verify --enable-plugin
--with-system-zlib --disable-browser-plugin --enable-java-awt=gtk
--enable-gtk-cairo
--with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.9-amd64/jre
--enable-java-home
--with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.9-amd64
--with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.9-amd64
--with-arch-directory=amd64
--with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc
--enable-multiarch --with-arch-32=i586 --with-abi=m64
--with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic
--enable-checking=release --build=x86_64-linux-gnu
--host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.9.2 (Debian 4.9.2-10)
***@SVR-SIM:~$ llvm-config --version
3.5.0
--
CARLOS ALBERTO RUIZ NARANJO
_FPGA engineer_
***@dasphotonics.com
__
DAS PHOTONICS S.L.
Ciudad Politécnica de la Innovación, Camino de Vera s/n.
Acceso K, Edificio 8F, 2ª planta 46022 Valencia - SPAIN
Telf: +34 963 556 150 - Directo: +34 --------------
www.dasphotonics.com [1]
Before printing this email think well whether it is really necessary.
This e-mail contains confidential information.It is for the intended
recipient only. If you are not the intended recipient of this e-mail,
please notify the author by replying to this e-mail immediately and
delete the message from your computer. If you are not the intended
recipient you must not use, disclose, distribute, copy, print or rely on
this e-mail
Links:
------
[1] http://www.dasphotonics.com/