Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Compile Xilinx ISE library for external Modelsim simulator

Status
Not open for further replies.

promach

Advanced Member level 4
Joined
Feb 22, 2016
Messages
1,199
Helped
2
Reputation
4
Reaction score
5
Trophy points
1,318
Activity points
11,636
I have the following errors using compxlibgui to compile Xilinx ISE libraries for external Modelsim simulator.
Any advice ?

1640053320530.png


Code:
RUNNING NEW INTEGRATED COMPXLIB ...
compxlib -s mti_se -64bit -p /opt/altera/modelsim_ase/bin/ -p -l verilog -arch spartan6 -arch spartan6l -lib all -w -exclude_superseded -verbose -dir /home/phung/Downloads/DDR_backup/DDR_Xilinx_ISE/modelsim/
Output from log file : compxlib.log
    ____  ____
   /   /\/   /
  /___/  \  /    VENDOR      : Xilinx Inc.
  \   \   \/     VERSION     : 14.7 (P.20131013)
   \   \         APPLICATION : compxlib
   /   /         CONTENTS    : Compilation Log
  /___/   /\     FILENAME    : compxlib.log
  \   \  /  \   
   \___\/\___\

Processing command line ...
Reading the compxlib configuration file - 'compxlib.cfg' ...
ERROR:Compxlib:387 - COMPXLIB[option]: Invalid directory '/opt/altera/modelsim_ase/bin/ -p' specified for -p.
Library Source Paths => '/opt/Xilinx/14.7/ISE_DS/ISE'
Current Working Directory => '/home/phung/Downloads/DDR'
Compilation Mode = FAST
Execute Mode = ON
Scheduling library installation & compilation for architectures: spartan6 spartan6l

Scheduling library installation & compilation for libraries: simprim unisim xilinxcorelib edk

Signature:-
------------------------------------------------------------------------------
compxlib -s mti_se -64bit -p "/opt/altera/modelsim_ase/bin/ -p" -l verilog -arch spartan6 -arch spartan6l -lib all -w -exclude_superseded -verbose -dir /home/phung/Downloads/DDR_backup/DDR_Xilinx_ISE/modelsim/
------------------------------------------------------------------------------
Executing cmd '/opt/altera/modelsim_ase/bin/vlog -version' with output '.cxl.mti_se.version' (Tue Dec 21 10:16:23 2021)...
RunWindow on the command '/opt/altera/modelsim_ase/bin/vlog -version'(.cxl.mti_se.version).
COMPXLIB[exe]: The command line '/opt/altera/modelsim_ase/bin/vlog -version' ran to completion with return code 0.
ERROR:Compxlib - COMPXLIB[sim]: Unable to automatically find executables for simulator 'mti_se' from the following paths:
    /opt/Xilinx/14.7/ISE_DS/ISE//bin/lin64
   /opt/Xilinx/14.7/ISE_DS/ISE/bin/lin64
   /opt/Xilinx/14.7/ISE_DS/ISE/sysgen/util
   /opt/Xilinx/14.7/ISE_DS/ISE/sysgen/bin
   /opt/Xilinx/14.7/ISE_DS/ISE/../../../DocNav
   /opt/Xilinx/14.7/ISE_DS/PlanAhead/bin
   /opt/Xilinx/14.7/ISE_DS/EDK/bin/lin64
   /opt/Xilinx/14.7/ISE_DS/EDK/gnu/microblaze/lin/bin
   /opt/Xilinx/14.7/ISE_DS/EDK/gnu/powerpc-eabi/lin/bin
   /opt/Xilinx/14.7/ISE_DS/EDK/gnu/arm/lin/bin
   /opt/Xilinx/14.7/ISE_DS/EDK/gnu/microblaze/linux_toolchain/lin64_be/bin
   /opt/Xilinx/14.7/ISE_DS/EDK/gnu/microblaze/linux_toolchain/lin64_le/bin
   /opt/Xilinx/14.7/ISE_DS/common/bin/lin64
   /home/phung/miniconda3/condabin
   /usr/local/bin
   /usr/bin
   /var/lib/snapd/snap/bin
   /usr/local/sbin
   /opt/cuda/bin
   /opt/cuda/nsight_compute
   /opt/cuda/nsight_systems/bin
   /var/lib/flatpak/exports/bin
   /usr/lib/jvm/default/bin
   /opt/altera/modelsim_ase/bin
   /usr/bin/site_perl
   /usr/bin/vendor_perl
   /usr/bin/core_perl
   /opt/altera/quartus/bin
   /opt/sonnetsuite/bin
   //home/phung/.local/bin
   /opt/Xilinx/14.7/ISE_DS/ISE/bin/lin64/.
Simulator 'mti_se' is ignored.
 

It says right there:
ERROR:Compxlib:387 - COMPXLIB[option]: Invalid directory '/opt/altera/modelsim_ase/bin/ -p' specified for -p.
 

Code:
[phung@archlinux DDR]$ ls -al /opt/altera/modelsim_ase/bin/mti_se
lrwxrwxrwx 1 root root 33 Dec 21 10:16 /opt/altera/modelsim_ase/bin/mti_se -> /opt/altera/modelsim_ase/bin/vsim
[phung@archlinux DDR]$
 

You are also trying to compile xilinx libraries in what I believe to be the free altera edition of modelsim. I'm not sure this is possible.
 

Only Intel (Altera) offers free Modelsim (starter edition) software now.

@promach, No.......the Microchip Libero SoC tool comes with a ModelSim that can be used with Xilinx toolchains.
My colleague is successfully using this Modelsim provided by Microchip for a Vivado based project.

You also need to apply and get the free node-locked license from Microchip for Modelsim to work.

I think he used this AR https://support.xilinx.com/s/article/64083?language=en_US and common-sense!

An advice - you must be very careful about all the path settings (loc of the simu executable, loc of precompiled libraries, etc)!
 
Last edited:

compile_simlib is for Vivado, but I am now looking for solution with regards to ISE.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top