Re: [casper] Xilinx System Generator_error
Hi Everyone, Attached is the script that I use on Windows to configure Matlab/Simulink/Xilinx and TI compiler tools. Keep in mind that there are very strict rules about which versions of Xilinx work with which versions of Matlab on which versions of Windows [1]. Best to follow those requirements. Hope this helps, -bogdan [1] http://www.xilinx.com/support/answers/17966.htm On 3/26/13 8:18 AM, "John Ford" wrote: >I think there are missing environment variables. Most of us have a script >that sets them on Linux, and on Windows, you have to set some environment >variables in your profile. > >I don't think we open system generator from the start menu, generally. I >take it you are trying to use it outside of the casper toolflow? In that >case, I think your best bet is the Xilinx web site for info. > >John > >> Hello, >> I am re-installing Xilinx ISE completely, hoping it will solve the >> problem. >> >> Thanks and regards, >> Shaman >> >> >> >> >>> Hi Shaman, >>> >>> In Linux we have to source the settings/64.sh file in the Xilinx >>>install >>> directory before we can start any of the Xilinx tools. This sets the >>> correct paths and environment variables. There may be a similar script >>> for >>> windows. >>> >>> Wes >>> >>> >>> On Tue, Mar 26, 2013 at 8:55 AM, wrote: >>> Hello, I am trying to use the System Generator for DSP. I have installed Xilinx ISE Design Suite 13.2 and Matlab R2010b. (OS-Windows 7 32bit) When I open the System Generator from the start menu, Matlab simulink opens with an error message popping as "Set up error--- There is a problem with ISE installation or Xilinx environment variable". Any ideas about overcoming this error? Thanks, Shaman >>> >> >> > > > @rem Project Base (for initializing Matlab pathtool) @set PRJ_ROOT=%HOMEDRIVE%%HOMEPATH% @rem Must clear (system) path of existing Matlab, CCS entries, add Diamond path at head @set PATH=%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SystemRoot%\System32\WindowsPowerShell\v1.0\ @set XDCROOT= @rem Keep CUDA stuff in the path @set PATH=%CUDA_PATH%bin;C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 3.2\C\common\bin;C:\Program Files\NVIDIA Corporation\NVSMI;%PATH% @rem We need to setup a MATLAB to get 'gmake', etc. @rem Also, if Matlab was installed in Program Files, we need a way to remove the ' ' @rem The 'subst' trick below also normalizes absolute path references there may be... @subst M: /D > nul @subst M: "C:\MATLAB" @set MATLAB_ROOT=M:\R2011b @set MATLAB_VER=R2011b @set PATH=%MATLAB_ROOT%\bin;%MATLAB_ROOT%\bin\win32;%PATH% @rem call setup.vc2010.bat :: The contents of setup.vc2010.bat are the three lines below @set VC_VER=VC++2010 @set MSSDK="C:\Program Files\Microsoft SDKs\Windows\v7.1" @call %MSSDK%\Bin\SetEnv /Release /x86 /win7 @rem call setup.ccs4p2.bat :: The contents of setup.ccs4p2.bat are the nine lines below @rem see http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/t/117663.aspx @set TI_DIR=C:\TI @set TI_VER=4.2.4 @set BIOS_INSTALL_DIR=%TI_DIR%\bios_6_21_00_13 @set C6X_A_DIR=%TI_DIR%\ccsv4\tools\compiler\c6000\include;%TI_DIR%\ccsv4\tools\compiler\c6000\lib @set C6X_C_DIR=%C6X_A_DIR% @set XDCROOT=%TI_DIR%\xdctools_3_16_02_32 @set PATH=%TI_DIR%\ccsv4\tools\compiler\c6000\bin;%XDCROOT%;%PATH% @rem call setup.ise13p3.ornl.bat :: The contents of setup.ise13p3.ornl.bat are the 12 lines below @rem *** IMPORTANT: The Xilinx tools must come _AFTER_ Matlab tools b/c FlexLM program conflicts @set XILINXD_LICENSE_FILE=C:\.Xilinx\Xilinx.lic @set XILINX_PLATFORM=nt64 @set XILINX_ROOT=C:\Xilinx\13.3\ISE_DS @set XILINX=%XILINX_ROOT%\ISE @set XILINX_EDK=%XILINX_ROOT%\EDK @set XILINX_PLANAHEAD=%XILINX_ROOT%\PlanAhead @set XILINX_DSP= @rem set LMC_HOME=%XILINX%\smartmodel\nt\installed_nt @rem For ISE 13.3, we can use Xilinx' setup utility to set the environment variables @set ISE_VER=13.3 call %XILINX_ROOT%\settings64.bat @rem TI compilers have a problem if the TEMP/TMP do not have a drive spec in them @rem see: http://e2e.ti.com/support/development_tools/compiler/f/343/t/51820.aspx @set TEMP=%HOMEDRIVE%%HOMEPATH%\temp @set TMP=%HOMEDRIVE%%HOMEPATH%\temp @start "MATLAB Session (%MATLAB_VER%, CCS%TI_VER%, ISE%ISE_VER%, %VC_VER%)" /D%PRJ_ROOT% cmd /K echo For Matlab, execute: %MATLAB_ROOT%\bin\matlab
Re: [casper] Xilinx System Generator_error
I think there are missing environment variables. Most of us have a script that sets them on Linux, and on Windows, you have to set some environment variables in your profile. I don't think we open system generator from the start menu, generally. I take it you are trying to use it outside of the casper toolflow? In that case, I think your best bet is the Xilinx web site for info. John > Hello, > I am re-installing Xilinx ISE completely, hoping it will solve the > problem. > > Thanks and regards, > Shaman > > > > >> Hi Shaman, >> >> In Linux we have to source the settings/64.sh file in the Xilinx install >> directory before we can start any of the Xilinx tools. This sets the >> correct paths and environment variables. There may be a similar script >> for >> windows. >> >> Wes >> >> >> On Tue, Mar 26, 2013 at 8:55 AM, wrote: >> >>> Hello, >>> >>> I am trying to use the System Generator for DSP. >>> >>> I have installed Xilinx ISE Design Suite 13.2 and Matlab R2010b. >>> (OS-Windows 7 32bit) >>> >>> When I open the System Generator from the start menu, Matlab simulink >>> opens with an error message popping as "Set up error--- There is a >>> problem >>> with ISE installation or Xilinx environment variable". >>> >>> Any ideas about overcoming this error? >>> >>> >>> Thanks, >>> Shaman >>> >>> >>> >>> >>> >> > >
Re: [casper] Xilinx System Generator_error
On Tue, Mar 26, 2013 at 10:48 AM, wrote: > > I cannot use the latest version. Now, after re-installing, I am not > getting the previous setup error. I am trying a basic simulink model and it is getting compiled and I can > observe the ouput. So the design compiles all the way though? Or is this the simulation? > But, while generating the the HDL code (using the > system generator only) Are you opening up the system generator block and trying to run it through there? Or do you mean during the SG stage of the compile? > , I am getting an error-- "fatal internal error" and > matlab crashes! > Could you please help.. > > > > If you can, use the latest version 14.4 ;) > > > > > > On Tue, Mar 26, 2013 at 9:58 AM, wrote: > > > >> Hello, > >> I am re-installing Xilinx ISE completely, hoping it will solve the > >> problem. > >> > >> Thanks and regards, > >> Shaman > >> > >> > >> > >> > >> > Hi Shaman, > >> > > >> > In Linux we have to source the settings/64.sh file in the Xilinx > >> install > >> > directory before we can start any of the Xilinx tools. This sets the > >> > correct paths and environment variables. There may be a similar script > >> for > >> > windows. > >> > > >> > Wes > >> > > >> > > >> > On Tue, Mar 26, 2013 at 8:55 AM, wrote: > >> > > >> >> Hello, > >> >> > >> >> I am trying to use the System Generator for DSP. > >> >> > >> >> I have installed Xilinx ISE Design Suite 13.2 and Matlab R2010b. > >> >> (OS-Windows 7 32bit) > >> >> > >> >> When I open the System Generator from the start menu, Matlab simulink > >> >> opens with an error message popping as "Set up error--- There is a > >> >> problem > >> >> with ISE installation or Xilinx environment variable". > >> >> > >> >> Any ideas about overcoming this error? > >> >> > >> >> > >> >> Thanks, > >> >> Shaman > >> >> > >> >> > >> >> > >> >> > >> >> > >> > > >> > >> > > >
Re: [casper] Xilinx System Generator_error
Hello, I am re-installing Xilinx ISE completely, hoping it will solve the problem. Thanks and regards, Shaman > Hi Shaman, > > In Linux we have to source the settings/64.sh file in the Xilinx install > directory before we can start any of the Xilinx tools. This sets the > correct paths and environment variables. There may be a similar script for > windows. > > Wes > > > On Tue, Mar 26, 2013 at 8:55 AM, wrote: > >> Hello, >> >> I am trying to use the System Generator for DSP. >> >> I have installed Xilinx ISE Design Suite 13.2 and Matlab R2010b. >> (OS-Windows 7 32bit) >> >> When I open the System Generator from the start menu, Matlab simulink >> opens with an error message popping as "Set up error--- There is a >> problem >> with ISE installation or Xilinx environment variable". >> >> Any ideas about overcoming this error? >> >> >> Thanks, >> Shaman >> >> >> >> >> >
Re: [casper] Xilinx System Generator_error
Hi Shaman, In Linux we have to source the settings/64.sh file in the Xilinx install directory before we can start any of the Xilinx tools. This sets the correct paths and environment variables. There may be a similar script for windows. Wes On Tue, Mar 26, 2013 at 8:55 AM, wrote: > Hello, > > I am trying to use the System Generator for DSP. > > I have installed Xilinx ISE Design Suite 13.2 and Matlab R2010b. > (OS-Windows 7 32bit) > > When I open the System Generator from the start menu, Matlab simulink > opens with an error message popping as "Set up error--- There is a problem > with ISE installation or Xilinx environment variable". > > Any ideas about overcoming this error? > > > Thanks, > Shaman > > > > >
[casper] Xilinx System Generator_error
Hello, I am trying to use the System Generator for DSP. I have installed Xilinx ISE Design Suite 13.2 and Matlab R2010b. (OS-Windows 7 32bit) When I open the System Generator from the start menu, Matlab simulink opens with an error message popping as "Set up error--- There is a problem with ISE installation or Xilinx environment variable". Any ideas about overcoming this error? Thanks, Shaman