Sign In

Don't have a Xilinx account yet?

  • Choose to receive important news and product information
  • Gain access to special content
  • Personalize your web experience on Xilinx.com

Create Account

Username

Password

Forgot your password?
XClose Panel
Xilinx Home
Reply
Visitor
pavankumarl73
Posts: 4
Registered: ‎08-27-2010
0

system generator doesn't start in ubuntu

[ Edited ]

  Hello,

         I'm new to the concept of sysgen. I installed ISE 12.2 DSP edition trail version and I have matlab 2009b edition.  After a brief search I found http://xlnx.lithium.com/t5/Installation-and-Licensing/System-Generator-Won-t-Start-in-Linux/m-p/4544... this. But directory hierarchy is different in 12.2 than that of mentioned in that forum link. 

 

       I have installed matlab at /home/trans/Matlab and xilinx at /home/trans/Xilinx. Though I have sysgen_startup.m at /home/trans/Xilinx/ISE_DS/ISE/sysgen/util if I try to run sysgen by using command "./sysgen" I get error as 

 

ERROR: Could not find SysGen startup script at "/home/trans/Xilinx/ISE/sysgen/util/sysgen_startup.m".

 

As per the above mentioned link I found sg_config at /home/trans/Xilinx/ISE_DS/ISE/sysgen/bin/lin and used command "./sg_config -install_to_matlab /home/trans/Matlab" I get message like this

 

 

[: 26: unexpected operator
[: 28: /home/trans/Xilinx/ISE_DS/ISE/sysgen/lib/lin:: unexpected operator
DSPTools successfully installed into MATLAB!

 

[: 26: unexpected operator[: 28: /home/trans/Xilinx/ISE_DS/ISE/sysgen/lib/lin:: unexpected operatorDSPTools successfully installed into MATLAB!

 

Then I ran matlab by giving command ./matlab and opened simulink. I found HDL libraries in simulink but when I tried to generate HDL code I got error like 

 

 

Warning: Failed to update device information. It is possible that the device

target information in a System Generator token is out of date with respect to

your ISE installation. Failed cast to Dictionary

 

 

 

ans =

 

Error using ==> xlgetpartinfo

The environment variable "XILINX" currently points to "/home/trans/Documents/MATLAB", which is not a valid ISE installation.

 

 

ans =

 

Error using ==> xlgetpartinfo

The environment variable "XILINX" currently points to "/home/trans/Documents/MATLAB", which is not a valid ISE installation.

 

 

I didn't understand the above error. I have chosen matlab workspace as /home/trans/Documents/MATLAB but I haven't pointed anything to that location. 

 

So finally how do I set environmental variables at /home/trans/Xilinx/ISE_DS/ISE and how do I get sysgen to work?

I installed ISE from the DVD which I got from xilinx

 

reply would be really appreciable 

Xilinx Employee
Xilinx Employee
ywu
Posts: 2,861
Registered: ‎11-28-2007
0

Re: system generator doesn't start in ubuntu

Follow the instructions in the message below to set up the environment for IDS.

 

http://forums.xilinx.com/t5/Installation-and-Licensing/Running-ISE-in-Linux/m-p/97408#M1838

 

Then make sure the version of Matlab you want to run is in your PATH by running

%which matlab

 

Then open SysGen by running

%sysgen

 

 

 

 

Cheers,
Jim