[casper] Help request for scientific editing
If any of you folks would like to help correct or add to the science, or just be a reader, I would love to add you to the list for whatever amount of reading you would like to do. This will start near the end of summer. Below is a description of the project, if anyone has the time. Thanks so much in advance: Books Objective The purpose of this book is to get everyone from early readers to armchair adults to read, enjoy, learn and perhaps postulate about the improbable, and the possible. The potential, and the value of cooperation and teamwork. The power of many minds can have on one extremely difficult problem, and the improbability making that happen amongst nations. And, finally, to learn the difference between science and science fiction. The American public is woefully under-educated in any of the sciences, especially the hard ones. So, I hope to engage these folks with not just a good story, but a plausible one about why there is life on earth, and why life elsewhere, even if it's mostly microbial is “almost” certain. I provide the current thinking about the likelihood of sentient life elsewhere. Another main element is how that “contact” might take place. I don’t think will be a duke out with the US. Marine Corps in Los Angeles. I suggest it might be a somewhat more subtle approach. In the end, I hope to interest people in learning just a little more. Since certain scientific concepts and jargon are unavoidable, I hope to skirt this issue by embedding QR readers and Hyperlinks taking the questioning reader to sites like Scientific American, NASA and even the books appendix and glossary for explanations. My biggest challenge is to write to a level that a high school reader will be interested in. YOUR HELP: That's where my readers come in. Typos, readability, plot development, interesting story, and most importantly understandable without scientific errors. STORYLINE: Darkfield Explorer The fundamental elements of the story are two young girls who move in next door to a retiring physicist and teacher who takes an interest in their scientific curiosity. He is a bit of a polymath himself and engages their natural childhood curiosity. Both go on to get Ph.D.’s, and in the course of their dissertations find a very a very unexpected and perhaps serendipitous connection. One of the girls develops an instrument capable of seeing the interactions in the energy contained in "empty" space. Perhaps a Millisecond neutron burst? In the course of this, she detects something in the asteroid field just past Mars. Just far enough to prevent our current imaging or detection, which is size relative. Her best friend and neighbor does her dissertation in geophysics and discovers something stunning and equally unexpected within the ELF radio waves generated during seismic activity. - Original Message - From: "Heystek Grobler"To: "Adam Isaacson" Cc: "Casper Lists" Sent: Monday, August 15, 2016 10:46:26 AM Subject: Re: [casper] Help with Xilinx and Simulink 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 < aisaac...@ska.ac.za > 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 < jsm...@ska.ac.za > 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 < heystekgrob...@gmail.com > 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 < aisaac...@ska.ac.za > 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
Re: [casper] Help with Xilinx and Simulink
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 Isaacsonwrote: > 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 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 < >> heystekgrob...@gmail.com> 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 >>> 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 < heystekgrob...@gmail.com> 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 > 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 < >> heystekgrob...@gmail.com> 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 < >>> heystekgrob...@gmail.com> 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 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 >
Re: [casper] Help with Xilinx and Simulink
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 Smithwrote: > 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 < > heystekgrob...@gmail.com> 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 >> 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 < >>> heystekgrob...@gmail.com> 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 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 < > heystekgrob...@gmail.com> 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 < >> heystekgrob...@gmail.com> 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 >>> 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
Re: [casper] Help with Xilinx and Simulink
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: http://www.thegeekstuff.com/2009/07/linux-ls-command-examples One thing I would suggest doing is to clone the mlib-devel directory (git clone http://../mlib-devel.git) into your home directory and run it from there, not right into /opt. It's (in general) a bad idea to run software with super-user privileges if you don't need it. Regards, James On Mon, Aug 15, 2016 at 12:17 PM, Heystek Groblerwrote: > Hi > > *Here is a the terminal session :* > > heystek@ubuntu:~$ '/opt/mlib_devel-master/startsg' > bash: /opt/mlib_devel-master/startsg: Permission denied > heystek@ubuntu:~$ sudo '/opt/mlib_devel-master/startsg' > [sudo] password for heystek: > sudo: /opt/mlib_devel-master/startsg: command not found > heystek@ubuntu:~$ sudo '/opt/mlib_devel-master/startsg' > sudo: /opt/mlib_devel-master/startsg: command not found > heystek@ubuntu:~$ clear > > heystek@ubuntu:~$ '/opt/mlib_devel-master/startsg' > bash: /opt/mlib_devel-master/startsg: Permission denied > heystek@ubuntu:~$ sudo '/opt/mlib_devel-master/startsg' > [sudo] password for heystek: > sudo: /opt/mlib_devel-master/startsg: command not found > heystek@ubuntu:~$ sudo './opt/mlib_devel-master/startsg' > sudo: ./opt/mlib_devel-master/startsg: command not found > heystek@ubuntu:~$ sudo '/opt/mlib_devel-master./startsg' > sudo: /opt/mlib_devel-master./startsg: command not found > heystek@ubuntu:~$ gnome-screenshot > heystek@ubuntu:~$ > > *when is use the ls command I get the following: * > > heystek@ubuntu:~$ cd /opt/mlib_devel-master > heystek@ubuntu:/opt/mlib_devel-master$ ls > casper_library startsg startsg~ startup.m xps_base xps_library > heystek@ubuntu:/opt/mlib_devel-master$ > > if this is unclear I attached screenshots of the terminal session. > > > Thank you for your help > > Heystek > > > > > > > > > > > > On Mon, Aug 15, 2016 at 11:27 AM, James Smith 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 < >> heystekgrob...@gmail.com> 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 >>> 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 < heystekgrob...@gmail.com> 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 > 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
Re: [casper] Help with Xilinx and Simulink
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 Groblerwrote: > 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 > 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 < >> heystekgrob...@gmail.com> 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 >>> 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 < heystekgrob...@gmail.com> 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 < > heystekgrob...@gmail.com> 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 >> 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 < >>> heystekgrob...@gmail.com> 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 -
Re: [casper] Help with Xilinx and Simulink
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 Isaacsonwrote: > 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 < > heystekgrob...@gmail.com> 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 >> 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 < >>> heystekgrob...@gmail.com> 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 < heystekgrob...@gmail.com> 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 > 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 < >> heystekgrob...@gmail.com> 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 >>> wrote: >>> Apologies, that should of been Ubuntu 14.04 LTS and Matlab R2015b... On Mon, Aug 8, 2016
Re: [casper] Help with Xilinx and Simulink
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 Groblerwrote: > 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 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 < >> heystekgrob...@gmail.com> 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 < >>> heystekgrob...@gmail.com> 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 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 < > heystekgrob...@gmail.com> 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 >> wrote: >> >>> Apologies, that should of been Ubuntu 14.04 LTS and Matlab R2015b... >>> >>> On Mon, Aug 8, 2016 at 2:28 PM, Adam Isaacson >>> 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:
Re: [casper] Help with Xilinx and Simulink
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 Isaacsonwrote: > 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 > 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 < >> heystekgrob...@gmail.com> 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 >>> 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 < heystekgrob...@gmail.com> 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 > wrote: > >> Apologies, that should of been Ubuntu 14.04 LTS and Matlab R2015b... >> >> On Mon, Aug 8, 2016 at 2:28 PM, Adam Isaacson >> 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=18BBkoWlSGeuK8BV1UlSnRJIYzl >>> OEWUhqTlF_zAePTj0 >>> >>> 2) Xilinx ISE 14.7 Installation: >>> https://drive.google.com/open?id=1o7Wl7wzB7VE1Cckk60B35WerJv >>> l5crXa7Q5xbcoYgE0 >>> >>> This should be read in conjunction with the CASPER wiki page - >>> https://casper.berkeley.edu/wiki/MSSGE_Setup_with_Xilinx_1 >>> 4.x_and_Matlab_2012b - did you follow "tweaks to be able to >>> compile"? >>> >>> Kind
Re: [casper] Help with Xilinx and Simulink
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 Groblerwrote: > 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 < > heystekgrob...@gmail.com> 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 >> 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 < >>> heystekgrob...@gmail.com> 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 wrote: > Apologies, that should of been Ubuntu 14.04 LTS and Matlab R2015b... > > On Mon, Aug 8, 2016 at 2:28 PM, Adam Isaacson > 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=18BBkoWlSGeuK8BV1UlSnRJIYzl >> OEWUhqTlF_zAePTj0 >> >> 2) Xilinx ISE 14.7 Installation: >> https://drive.google.com/open?id=1o7Wl7wzB7VE1Cckk60B35WerJv >> l5crXa7Q5xbcoYgE0 >> >> This should be read in conjunction with the CASPER wiki page - >> https://casper.berkeley.edu/wiki/MSSGE_Setup_with_Xilinx_1 >> 4.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 < >> heystekgrob...@gmail.com> 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