Re: [casper] Help with Xilinx and Simulink

2016-09-03 Thread Heystek Grobler
Good Day I have sorted the out the problems that I was having with my setup. It basically came down to that my Matlab install file was files missing, I installed Matlab incorrectly and did not have the correct Xilinx Licence. Everything is working now. Thank you for all the suggestions and the

Re: [casper] Help with Xilinx and Simulink

2016-08-25 Thread Primiani, Rurik
Hi Heystek, In addition to what Jack suggests it looks like you may have copied "tutorial1.slx" to a new model called "tutorial1a.slx" and then immediately tried to run the casper_xps. From my experience when this is done some of the gateway in/out blocks do not have a chance to change their

Re: [casper] Help with Xilinx and Simulink

2016-08-24 Thread Jack Hickish
Hi Heystek, >From a clean install, you shouldn't really have this many problems, and I suspect all your chmod/chown-ing to/from root is just making everything worse.You certainly don't need to run startsg as root (and you shouldn't, who knows what code CASPER collaborators have hidden in there!)

Re: [casper] Help with Xilinx and Simulink

2016-08-17 Thread Heystek Grobler
Hi I will check that I did everything of the compile tweeks in the casper webpage. If it does not work I will provide screenshots of the errors. Thanks for all the help Heystek On Wed, Aug 17, 2016 at 8:45 AM, Adam Isaacson wrote: > Hi Heystek, > > It appears that line

Re: [casper] Help with Xilinx and Simulink

2016-08-17 Thread Adam Isaacson
Hi Heystek, It appears that line 362 of gen_xps_files.m is commented out, so not sure what the error pertains to, but still worth checking the pcore compile tweaks. Kind Regards, Adam On Tue, Aug 16, 2016 at 11:48 PM, Adam Isaacson wrote: > Hi Heystek, > > I am a bit

Re: [casper] Help with Xilinx and Simulink

2016-08-16 Thread Adam Isaacson
Hi Heystek, I am a bit confused where you are now. Are you still getting the following error in red below or has this been resolved, but now you are encountering another error (Error using gen_xps_files(362)) after you applied the chmod command? Please send screen captures of the actual errors,

Re: [casper] Help with Xilinx and Simulink

2016-08-16 Thread David MacMahon
Hi, Heystek, > On Aug 16, 2016, at 8:36 AM, Heystek Grobler wrote: > > Details: > standard exception: XNetlistEngine: > Exception message could not be parsed: > com.xilinx.sysgen.netlist.NetlistInternal: couldn't open first > pass text file at >

Re: [casper] Help with Xilinx and Simulink

2016-08-16 Thread James Smith
Hello Heystek, It shouldn't matter between .mdl and .slx. Your error there is a bit more interesting, I'm not sure how to go about solving it or indeed what information would be needed. A bit more context information will probably help the other gurus on this list to assist you though. Regards,

Re: [casper] Help with Xilinx and Simulink

2016-08-16 Thread Heystek Grobler
Hi James I tried the command and it accepted it. The matlab terminal gives the following error: Error using gen_xps_files(362) Does it make a diffirence if the simulink models are .mdl or .slx? Thank for your help Heystek On Tue, Aug 16, 2016 at 5:40 PM, James Smith wrote:

Re: [casper] Help with Xilinx and Simulink

2016-08-16 Thread James Smith
Hello Heystek, Just to get you an answer quickly, try the following command: chmod 777 -R /home/heystek/Desktop/tut1 If that command makes an error message then add sudo. It's funny that you should have permissions issues there, if this doesn't fix things then there might be stranger issues at

Re: [casper] Help with Xilinx and Simulink

2016-08-16 Thread Heystek Grobler
Hi James and Adam I got it working. The chmod +x startsg command did the trick. I started with the first casper tutorial, but when the system generator compiles it the tutorial breaks. It gives two errors. 1. Design Error DefaultBlockDiagram System Generator Caught standard exception 2.

Re: [casper] Help with Xilinx and Simulink

2016-08-15 Thread Heystek Grobler
Hi Adam and James I am working on my personal computer. I will ask a IT guy to help me with the privileges and also clone the mlib-devel into the home directory and try to run it again. Thanks for all your help. Heystek On Mon, Aug 15, 2016 at 12:58 PM, Adam Isaacson

Re: [casper] Help with Xilinx and Simulink

2016-08-15 Thread Adam Isaacson
Hi Heystek, This issue is not with your script, but your linux permissions. I suggest you follow what James suggests. The fact that you can't run sudo though means that you may need your IT guy to give you sudo rights, but if you are working off the university server that may be an issue - as

Re: [casper] Help with Xilinx and Simulink

2016-08-15 Thread James Smith
Hello Heystek, It's conventional to cd into the directory first, then to run "./startsg" Please use the "-l" (minus + lowercase L) when you run the ls command - this allows the user to see a bunch more information. See here for a bit of an explanation:

Re: [casper] Help with Xilinx and Simulink

2016-08-15 Thread James Smith
Hello Heystek, It would be a bit easier to debug if you posted the terminal session, along with the commands you ran. Also, please run "ls -l" in the directory and post that as well. It might just be that you need to give the file executable permissions. Regards, James On Mon, Aug 15, 2016 at

Re: [casper] Help with Xilinx and Simulink

2016-08-15 Thread Heystek Grobler
Hi Adam I modified the startsg file. When I run it I get the error in the terminal "Permission denied". When I run the startsg file as sudo I get the error "command not found". I have attached my modified startsg file. Do you perhaps have any ideas of how to solve it? Sorry for the

Re: [casper] Help with Xilinx and Simulink

2016-08-15 Thread Adam Isaacson
Hi Heystek, Nope, just run the ./startsg and matlab will run the startup.m file for you when it opens. You should already have both the startsg and startup.m files, but I gave you mine as I know it works. Kind Regards, Adam On Mon, Aug 15, 2016 at 10:58 AM, Heystek Grobler

Re: [casper] Help with Xilinx and Simulink

2016-08-15 Thread Heystek Grobler
Hi Adam I will try these files! Do I run the startup.m file in matlab as well? Have a nice day Heystek On Mon, Aug 15, 2016 at 9:04 AM, Adam Isaacson wrote: > Hi Heystek, > > No worries. I was in your position just a few months ago :). I have > attached my matlab startup

Re: [casper] Help with Xilinx and Simulink

2016-08-15 Thread Adam Isaacson
Hi Heystek, No worries. I was in your position just a few months ago :). I have attached my matlab startup scripts (startsg and startup.m). These must be placed in the "mlib_devel" directory. You will probably have to change the paths to where your installs are. All you need to do is the

Re: [casper] Help with Xilinx and Simulink

2016-08-14 Thread Heystek Grobler
Hi Adam I got ISE to run. It open up die GUI. How do I start the sysgen with MATLAB? Sorry about the queations. Thank you for your help Heystek On Sun, Aug 14, 2016 at 12:06 PM, Heystek Grobler wrote: > Good day Adam > > I have been working through the documents

Re: [casper] Help with Xilinx and Simulink

2016-08-14 Thread Heystek Grobler
Good day Adam I have been working through the documents you send me. I cant open the ISE IDE. As soon as I run the script I get the following error: command not found I am new to Linux and Xilinx. Have a good day Heystek On Mon, Aug 8, 2016 at 3:31 PM, Adam Isaacson

Re: [casper] Help with Xilinx and Simulink

2016-08-08 Thread Adam Isaacson
Hi Heystek, You mentioned that you were using the ROACH2 board. This contains a Virtex 6 device. Vivado only works with Virtex 7 onwards. I would suggest if you are going to target the ROACH 2 that you use Xilinx ISE 14.7. You will need to work with ISE 14.7 and not Vivado. We have just begun

Re: [casper] Help with Xilinx and Simulink

2016-08-08 Thread Heystek Grobler
Good day Adam I am using Ubuntu 14.04 LTS with MATLAB 2012B. Im using the Vivado suite that came with a Zed-Board (Vivado 2013.4). The error I am receiving from MATLAB at startup is: Undefined function 'lAddSysgen' for input arguments of type 'char'. > In matlabrc at 205 The errors I get from

Re: [casper] Help with Xilinx and Simulink

2016-08-08 Thread Adam Isaacson
Hi Heystek, What OS are you using? I am using Ubuntu 4.04 LTS. What repo are you using? I am using https://github.com/ska-sa/mlib_devel. What version of Matlab and Xilinx are you using? I am using Matlab R2012b and R2105b. I am using Xilinx ISE 14.7. I wrote these How To docs which may or may not

[casper] Help with Xilinx and Simulink

2016-08-08 Thread Heystek Grobler
Good Day My name is Heystek Grobler. I am an electrical en electronic engineering science student and for my final year project (skripsie) I'm developing a wideband spectrometer on a ROACH-2 board. Currently I have a problem with Xilinx System Generator and MATLAB. The Simulink Model runs as a