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 help. I really appreciate it!

Keep well

Heystek

On Thu, Aug 25, 2016 at 1:50 PM, Primiani, Rurik <[email protected]>
wrote:

> 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 hierarchical
> names to match the name of the top-level model file. In other words they
> are prepended with "tutorial1_" instead of "tutorial1a_" which causes the
> CASPER toolflow to throw an error.
>
> To fix this try running "Update diagram" from within Simulink (no
> casper_xps) via the "Simulation" menu drop down of your open "tutorial1a"
> model file. Then try the casper_xps flow again.
>
> Hope this helps,
> Rurik
>
>
>
> On Wed, Aug 24, 2016 at 6:18 PM, Jack Hickish <[email protected]>
> wrote:
>
>> 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!) and if you
>> do you'll likely create a bunch of temporary files and directories that you
>> now can't write to without root permissions, which will cause pain down the
>> road.
>>
>> It's *possible* that your current problem will go away if you try and
>> force your model and library versions up to date. You can do this by
>> opening your model, and running "update_casper_blocks(bdroot)" at the
>> MATLAB prompt. However, given your permissions problems so far, if it
>> were me I would clean out everything and start again.
>>
>> - Delete your mlib_devel and tutorials_devel directories.
>> - Delete (or change ownership to your normal user account) your MATLAB
>> and Xilinx configuration directories in ~/.matlab/ and ~/.Xilinx/
>> Doing *nothing* with sudo/root:
>> - clone from https://github.com/casper-astro/mlib_devel.git
>> - Modify startsg to point to your MATLAB/Xilinx installs
>> - Make sure you have completed the "tweaks to compile" from
>> https://casper.berkeley.edu/wiki/MSSGE_Setup_with_Xilin
>> x_14.x_and_Matlab_2012b
>>
>> Run startsg and try and build something.
>>
>> If you're trying to build one of the tutorials, make sure you're either
>> using the correct library version -- see the instructions at
>> https://casper.berkeley.edu/wiki/Tutorials (which I hope has been kept
>> up to date) -- or, after opening a tutorial, run
>> "update_casper_blocks(bdroot)" at the MATLAB prompt, which will make sure
>> the blocks in your library are up to date with your mlib_devel version.
>>
>> Cheers
>> Jack
>>
>> On Wed, 24 Aug 2016 at 13:21 Heystek Grobler <[email protected]>
>> wrote:
>>
>>> Good evening
>>>
>>> I am still struggling to get Matlab and Xilinx up and running. I have
>>> noticed that the system generator of Xilinx locks the simulink file during
>>> compilation. It changes the permissions to access only and the  it can not
>>> read and write from it. I have change the permission back to read and write
>>> but as soon as it compiles it locks the file again.
>>>
>>> To try and solve this I have changed the owner of MATLAB and XILINX to
>>> "me" and not root. Now I get the following errors that I attached as
>>> pictures.
>>>
>>> I hope that you can help
>>>
>>> Heystek
>>>
>>>
>>>
>>> On Wed, Aug 17, 2016 at 8:45 AM, Adam Isaacson <[email protected]>
>>> wrote:
>>>
>>>> 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 <[email protected]>
>>>> wrote:
>>>>
>>>>> 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, thanks.
>>>>>
>>>>> Details:
>>>>> standard exception: XNetlistEngine:
>>>>> Exception message could not be parsed:
>>>>> com.xilinx.sysgen.netlist.NetlistInternal: couldn't open first
>>>>> pass text file at
>>>>> /home/heystek/Desktop/tut1/sysgen/sysgen/masterScript4237968
>>>>> 397574398825.pl
>>>>> line 559'
>>>>>
>>>>> I had a brief look at line 362 of gen_xps_files.m and it is connected
>>>>> with the pcores, so once again I have to ask whether you repeated the
>>>>> compile tweaks after you installed ISE 14.7 (
>>>>> https://casper.berkeley.edu/wiki/MSSGE_Setup_with_Xilinx_14
>>>>> .x_and_Matlab_2012b)? Also, the tut1 Simulink model that I have been
>>>>> working with is a slx file and not an mdl file? What tut 1 file are you
>>>>> using?
>>>>>
>>>>> I am making the assumption that you are based near the Cape Town area?
>>>>> If I am correct and if you are still experiencing difficulties why not
>>>>> bring your machine and pop over? I think this may be the easiest solution
>>>>> :). Just email me directly if you favour this option.
>>>>>
>>>>> Kind Regards,
>>>>>
>>>>> Adam
>>>>>
>>>>> On Tue, Aug 16, 2016 at 9:02 PM, Heystek Grobler <
>>>>> [email protected]> wrote:
>>>>>
>>>>>> 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 <[email protected]>
>>>>>> wrote:
>>>>>>
>>>>>>> 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 play.
>>>>>>>
>>>>>>> Regards,
>>>>>>> James
>>>>>>>
>>>>>>>
>>>>>>> On Tue, Aug 16, 2016 at 5:36 PM, Heystek Grobler <
>>>>>>> [email protected]> wrote:
>>>>>>>
>>>>>>>> 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. Block Error    AddSub                       System Generator
>>>>>>>>
>>>>>>>> The following error log was also generated:
>>>>>>>>
>>>>>>>> --------------------------------- Version Log
>>>>>>>> ----------------------------------
>>>>>>>> Version                                 Path
>>>>>>>> System Generator
>>>>>>>>  /opt/Xilinx/14.7/ISE_DS/ISE/sysgen
>>>>>>>> Matlab 8.0.0.783 (R2012b)               /usr/local/MATLAB/R2012b
>>>>>>>> ISE                                     /opt/Xilinx/14.7/ISE_DS/ISE
>>>>>>>> ------------------------------------------------------------
>>>>>>>> --------------------
>>>>>>>> Summary of Errors:
>>>>>>>> Error 0001: caught standard exception
>>>>>>>>      Block: Unspecified
>>>>>>>> ------------------------------------------------------------
>>>>>>>> --------------------
>>>>>>>>
>>>>>>>> Error 0001:
>>>>>>>>
>>>>>>>> Reported by:
>>>>>>>>   Unspecified
>>>>>>>>
>>>>>>>> Details:
>>>>>>>> standard exception: XNetlistEngine:
>>>>>>>> Exception message could not be parsed:
>>>>>>>> com.xilinx.sysgen.netlist.NetlistInternal: couldn't open first
>>>>>>>> pass text file at
>>>>>>>> /home/heystek/Desktop/tut1/sysgen/sysgen/masterScript4237968
>>>>>>>> 397574398825.pl
>>>>>>>> line 559'
>>>>>>>>
>>>>>>>> ------------------------------------------------------------
>>>>>>>> --------------------
>>>>>>>>
>>>>>>>> Do you perhaps have an idea how I can fix it?
>>>>>>>>
>>>>>>>> Thanks for all the help.
>>>>>>>>
>>>>>>>> Have a wonderful day.
>>>>>>>>
>>>>>>>> Heystek
>>>>>>>>
>>>>>>>>
>>>>>>>> On Tue, Aug 16, 2016 at 8:07 AM, James Smith <[email protected]>
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> Hello Heystek,
>>>>>>>>>
>>>>>>>>> This should be a relatively trivial problem to solve:
>>>>>>>>>
>>>>>>>>> cd ~ # This is a shortcut for your home directory
>>>>>>>>> git clone <URL of repository here - either the casper-astro one or
>>>>>>>>> the SKA-SA one>
>>>>>>>>> cd mlib-devel
>>>>>>>>> ./startsg
>>>>>>>>>
>>>>>>>>> If that doesn't work, then do this:
>>>>>>>>> chmod +x startsg
>>>>>>>>>
>>>>>>>>> Then you should be fine.
>>>>>>>>>
>>>>>>>>> Regards,
>>>>>>>>> James
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Mon, Aug 15, 2016 at 7:46 PM, Heystek Grobler <
>>>>>>>>> [email protected]> wrote:
>>>>>>>>>
>>>>>>>>>> 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 <
>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>
>>>>>>>>>>> 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 
>>>>>>>>>>> James
>>>>>>>>>>> says, you shouldn't need this if you install into your home 
>>>>>>>>>>> directory.
>>>>>>>>>>>
>>>>>>>>>>> Kind Regards,
>>>>>>>>>>>
>>>>>>>>>>> Adam
>>>>>>>>>>>
>>>>>>>>>>> On Mon, Aug 15, 2016 at 11:27 AM, James Smith <[email protected]>
>>>>>>>>>>> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> 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 11:24 AM, Heystek Grobler <
>>>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> 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 inconvenience
>>>>>>>>>>>>>
>>>>>>>>>>>>> Heystek
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Mon, Aug 15, 2016 at 11:10 AM, Adam Isaacson <
>>>>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> 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 <
>>>>>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> 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 <
>>>>>>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> 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 following:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> 1) Startup matlab R2012b, by running the startsg script.
>>>>>>>>>>>>>>>> Using the Ubuntu terminal, in the "mlib_devel" directory type: 
>>>>>>>>>>>>>>>> "./startsg".
>>>>>>>>>>>>>>>> This should startup matlab. There should be a message saying 
>>>>>>>>>>>>>>>> that "system
>>>>>>>>>>>>>>>> generator currently found installed in matlab default path..."
>>>>>>>>>>>>>>>> 2) Type in "simulink" in the command window.
>>>>>>>>>>>>>>>> 3) The Simulink Library Browser will open. Browse to where
>>>>>>>>>>>>>>>> your model is located and select the *.slx file.
>>>>>>>>>>>>>>>> 4) The model should open. Press "Ctrl + D" to check for any
>>>>>>>>>>>>>>>> errors. There should be no errors.
>>>>>>>>>>>>>>>> 5) Type in "casper_xps" in the command window. The casper
>>>>>>>>>>>>>>>> XPS window should pop up. Make sure all boxes are ticked under 
>>>>>>>>>>>>>>>> "ISE Design
>>>>>>>>>>>>>>>> Flow Choice:" and then click on "Run XPS". This will run the 
>>>>>>>>>>>>>>>> system
>>>>>>>>>>>>>>>> generator as part of the process, the Xilinx ISE and generate 
>>>>>>>>>>>>>>>> the relevant
>>>>>>>>>>>>>>>> bit, fpg files.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> I have also attached scripts if you just want to run the
>>>>>>>>>>>>>>>> programs individually - you will need to edit the path to 
>>>>>>>>>>>>>>>> where your
>>>>>>>>>>>>>>>> installs are.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Good luck. This should get you going. If the scripts bomb
>>>>>>>>>>>>>>>> out then it is likely that your paths are not correct - check 
>>>>>>>>>>>>>>>> that first.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Kind Regards,
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Adam
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> On Sun, Aug 14, 2016 at 8:26 PM, Heystek Grobler <
>>>>>>>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> 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 <
>>>>>>>>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> 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 <
>>>>>>>>>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> 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 to use Vivado for our Virtex 7 board e.g  
>>>>>>>>>>>>>>>>>>> SKARAB. As far as
>>>>>>>>>>>>>>>>>>> I am aware, all the the ROACH2 development in SKA-SA has 
>>>>>>>>>>>>>>>>>>> been done using
>>>>>>>>>>>>>>>>>>> Xilinx ISE 14., as it supports Virtex 6 devices.
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Kind Regards,
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Adam
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> On Mon, Aug 8, 2016 at 3:13 PM, Heystek Grobler <
>>>>>>>>>>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> 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 the system generator is:
>>>>>>>>>>>>>>>>>>>> 1. Design Error - Default block diagram
>>>>>>>>>>>>>>>>>>>> 2. Block Error - AddSub
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> These errors occurs with the first tutorial from CASPER.
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> I looked at the "tweaks to compile" but everything
>>>>>>>>>>>>>>>>>>>> seems ok.
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> I will use the guides you have attached in the previous
>>>>>>>>>>>>>>>>>>>> email.
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> I appreciate your help!!
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Heystek
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> On Mon, Aug 8, 2016 at 2:30 PM, Adam Isaacson <
>>>>>>>>>>>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Apologies, that should of been Ubuntu 14.04 LTS and
>>>>>>>>>>>>>>>>>>>>> Matlab R2015b...
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> On Mon, Aug 8, 2016 at 2:28 PM, Adam Isaacson <
>>>>>>>>>>>>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> 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
>>>>>>>>>>>>>>>>>>>>>> come in handy.
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> 1) Matlab 2012b and 2015b Installation:
>>>>>>>>>>>>>>>>>>>>>> https://drive.google.com/open?
>>>>>>>>>>>>>>>>>>>>>> id=18BBkoWlSGeuK8BV1UlSnRJIYzlOEWUhqTlF_zAePTj0
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> 2) Xilinx ISE 14.7 Installation:
>>>>>>>>>>>>>>>>>>>>>> https://drive.google.com/open?
>>>>>>>>>>>>>>>>>>>>>> id=1o7Wl7wzB7VE1Cckk60B35WerJvl5crXa7Q5xbcoYgE0
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> This should be read in conjunction with the CASPER
>>>>>>>>>>>>>>>>>>>>>> wiki page - https://casper.berkeley.edu/
>>>>>>>>>>>>>>>>>>>>>> wiki/MSSGE_Setup_with_Xilinx_14.x_and_Matlab_2012b -
>>>>>>>>>>>>>>>>>>>>>> did you follow "tweaks to be able to compile"?
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Kind Regards,
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Adam
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> On Mon, Aug 8, 2016 at 1:53 PM, Heystek Grobler <
>>>>>>>>>>>>>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> 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 
>>>>>>>>>>>>>>>>>>>>>>> simulation but as soon
>>>>>>>>>>>>>>>>>>>>>>> as I run it in Xilinx System Generator to compile it 
>>>>>>>>>>>>>>>>>>>>>>> for the board it
>>>>>>>>>>>>>>>>>>>>>>> crashes and gives a "design error" as and "block error".
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> I was hoping that if possible, that you could
>>>>>>>>>>>>>>>>>>>>>>> provide me with assistance to get Xilinx and Simulink 
>>>>>>>>>>>>>>>>>>>>>>> up and running. So
>>>>>>>>>>>>>>>>>>>>>>> far I followed the CASPER tutorials but got stuck with 
>>>>>>>>>>>>>>>>>>>>>>> this problem/
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> I hope to hear from you soon.
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> Have a wonderful day
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Adam Isaacson
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> DBE: FPGA Engineer
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> SKA-SA
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> 3rd Floor
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> The Park
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Park Road
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Pinelands
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> 7405
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Tel: +27215067300 (W)
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Fax: +27215067375 (W)
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Cell: +27825639602
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Adam Isaacson
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> DBE: FPGA Engineer
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> SKA-SA
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> 3rd Floor
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> The Park
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Park Road
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Pinelands
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> 7405
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Tel: +27215067300 (W)
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Fax: +27215067375 (W)
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Cell: +27825639602
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Adam Isaacson
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> DBE: FPGA Engineer
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> SKA-SA
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> 3rd Floor
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> The Park
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Park Road
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Pinelands
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> 7405
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Tel: +27215067300 (W)
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Fax: +27215067375 (W)
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Cell: +27825639602
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Adam Isaacson
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> DBE: FPGA Engineer
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> SKA-SA
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> 3rd Floor
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> The Park
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Park Road
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Pinelands
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> 7405
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Tel: +27215067300 (W)
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Fax: +27215067375 (W)
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Cell: +27825639602
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Adam Isaacson
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> DBE: FPGA Engineer
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> SKA-SA
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> 3rd Floor
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> The Park
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Park Road
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Pinelands
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> 7405
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Tel: +27215067300 (W)
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Fax: +27215067375 (W)
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Cell: +27825639602
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>>
>>>>>>>>>>> Adam Isaacson
>>>>>>>>>>>
>>>>>>>>>>> DBE: FPGA Engineer
>>>>>>>>>>>
>>>>>>>>>>> SKA-SA
>>>>>>>>>>>
>>>>>>>>>>> 3rd Floor
>>>>>>>>>>>
>>>>>>>>>>> The Park
>>>>>>>>>>>
>>>>>>>>>>> Park Road
>>>>>>>>>>>
>>>>>>>>>>> Pinelands
>>>>>>>>>>>
>>>>>>>>>>> 7405
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Tel: +27215067300 (W)
>>>>>>>>>>>
>>>>>>>>>>> Fax: +27215067375 (W)
>>>>>>>>>>>
>>>>>>>>>>> Cell: +27825639602
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>>
>>>>> Adam Isaacson
>>>>>
>>>>> DBE: FPGA Engineer
>>>>>
>>>>> SKA-SA
>>>>>
>>>>> 3rd Floor
>>>>>
>>>>> The Park
>>>>>
>>>>> Park Road
>>>>>
>>>>> Pinelands
>>>>>
>>>>> 7405
>>>>>
>>>>>
>>>>> Tel: +27215067300 (W)
>>>>>
>>>>> Fax: +27215067375 (W)
>>>>>
>>>>> Cell: +27825639602
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> Adam Isaacson
>>>>
>>>> DBE: FPGA Engineer
>>>>
>>>> SKA-SA
>>>>
>>>> 3rd Floor
>>>>
>>>> The Park
>>>>
>>>> Park Road
>>>>
>>>> Pinelands
>>>>
>>>> 7405
>>>>
>>>>
>>>> Tel: +27215067300 (W)
>>>>
>>>> Fax: +27215067375 (W)
>>>>
>>>> Cell: +27825639602
>>>>
>>>
>>>
>

Reply via email to