Hi friends,
I am working with Solaris and with all the systems that i generate with XPS have the same problem.
I have a Problem with LIBGEN. If I execute XPS->Software->generate libreries and BSPs, gmake ist not compiling the libraries and the directory ./ppc405/include possesses only the file xparameters.h and the directory ./ppc405/lib is empty
*************************************************************************** XPS INFO: Configuring make for target include using: gmake -s include "COMPILER=powerpc-eabi-gcc" "ARCHIVER=powerpc-eabi- ar" "COMPILER_FLAGS= -O2 -c" "EXTRA_COMPILER_FLAGS=-g"gmake: Command not found. gmake: Command not found. gmake: Command not found. gmake: Command not found.` gmake: Command not found. gmake: Command not found. Configuring make for target libs using: gmake -s libs "COMPILER=powerpc-eabi-gcc" "ARCHIVER=powerpc-eabi-ar" "COMPILER_FLAGS= -O2 -c" "EXTRA_COMPILER_FLAGS=-g" gmake: Command not found. gmake: Command not found. gmake: Command not found. gmake: Command not found. gmake: Command not found. gmake: Command not found. Libraries generated in /home/ferorcue/my_work/project/xps/xps_lin_v1_e/ppc405_0/lib/ directory Running execs_generate for OS'es, Drivers and Libraries ... LibGen Done. powerpc-eabi-gcc -O2 TestApp_Memory/src/TestApp_Memory.c -o TestApp_Memory/executable.elf \ -Wl,-T -Wl,TestApp_Memory/src/TestApp_Memory_LinkScr.ld -g - I./ppc405_0/include/ -L./ppc405_0/lib/ \
TestApp_Memory/src/TestApp_Memory.c:39:19: xutil.h: No such file or directory make: *** [TestApp_Memory/executable.elf] Error 1
***************************************************************************To solve this problem I use windows with the same system and I execute XPS->Software->generate libreries and BSPs. The files of /lib and / include are created
*************************************************************************** XPS INFO:Configuring make for target include using: make -s include "COMPILER=powerpc-eabi-gcc" "ARCHIVER=powerpc-eabi-ar" "COMPILER_FLAGS= -O2 -c" "EXTRA_COMPILER_FLAGS=-g" Configuring make for target libs using: make -s libs "COMPILER=powerpc-eabi-gcc" "ARCHIVER=powerpc-eabi-ar" "COMPILER_FLAGS= -O2 -c" "EXTRA_COMPILER_FLAGS=-g" Compiling common powerpc-eabi-ar: creating ../../../lib/libxil.a Compiling bsp Compiling plb_arbiter Compiling opbarb Compiling uartlite Compiling cpu_ppc405 Libraries generated in \\storage\ferorcue\my_work\project\xps\xps_lin_v1_e\ppc405_0\lib\ directory Running execs_generate for OS'es, Drivers and Libraries ... LibGen Done. Created mapping for /xygdrive -> /cygdrive Done!
***************************************************************************After that I can execute >Generate libraries and HDL files And >launch HDL simulator
In modelsim I compile the design by running the EDK compile script, Later I change the modelsim.ini to use the smartmodels. And I click s to simulate
s => load the design for simulation. (ModelSim 'vsim' # *** command with 'system') After loading the design, # *** set up signal displays (optional) and run the simulation. # *** (ModelSim 'run' command)
This is the error that I get :
*************************************************************************** XPS INFO:s # vsim -t ps system_conf # ** Note: (vsim-3812) Design is being optimized... # ** Note: (vsim-3865) Due to PLI being present, full design access is being specified. # Loading /opt/modeltech/6.2a/linux/libswiftpli.sl # Loading /opt/modeltech/6.2a/linux/../std.standard # Loading /opt/modeltech/6.2a/linux/../ieee.std_logic_1164(body) # Loading /home/ferorcue/simlib/EDK8.2_mti_se_linux/ISE_Lib/ unisim/.vcomponents # Loading /opt/modeltech/6.2a/linux/../std.textio(body) # Loading /opt/modeltech/6.2a/linux/../ieee.vital_timing(body) # Loading /opt/modeltech/6.2a/linux/../ieee.vital_primitives(body) # Loading /home/ferorcue/simlib/EDK8.2_mti_se_linux/ISE_Lib/ unisim/.vpkg(body) # Loading work.system_conf#1 # Loading work.system(structure)#1 # Loading work.ppc405_0_wrapper(structure)#1 # Loading ppc405_virtex4_v1_01_a.ppc405_virtex4(structure)#1 # Loading /home/ferorcue/simlib/EDK8.2_mti_se_linux/ISE_Lib/ unisim/.ppc405_adv(ppc405_adv_v) # Loading /home/ferorcue/simlib/EDK8.2_mti_se_linux/ISE_Lib/ unisim/.ppc405_adv_swift_bus(ppc405_adv_swift_bus_v) # Loading /home/ferorcue/simlib/EDK8.2_mti_se_linux/ISE_Lib/ unisim/.ppc405_adv_swift(smartmodel) # Loading /opt/modeltech/6.2a/linux/libsm.sl # ** Note (SmartModel): # Copyright (c) 1984-2007 Synopsys Inc. ALL RIGHTS RESERVED # ** Note (SmartModel): # Platform Type: x86_linux (32-bit). # ** Note (SmartModel): # You can use the Browser tool to configure the SmartModel # Library and access information about SmartModels: # $LMC_HOME/bin/sl_browser # # SmartModel product documentation is available here: # $LMC_HOME/doc/smartmodel/manuals/intro.pdf #
Do you know why "gmake" is not working?
Windows uses "make" and it compiles the libraries, but later It should work. Why I have a problem with a ip core from Xilinx (opb_arbiter_v1_02_e).
Do you think, that if I get the "gmake" working in Solaris it will compile the libraries in a different way and the simulation will work?
Thank you for your consideration