Running_Casper_tools_in_ASIAA - david-macmahon/wiki_convert_test GitHub Wiki

First, we encourage you to have your own laptop with you. you need SSH with X window available in your laptop. Inside ASIAA network territory,login as

yourComputer>ssh`` ``-X`` ``youraccount@cp16

Then make sure there are 2 files, startup.m and sysgen_startup.m existed by

cp16>ls

If not, please copy them from:

'' cp16> cp /penguin/apps/Xilinx/11.1/startup.m  ./ ''

'' cp16> cp /penguin/apps/Xilinx/11.1/sysgen_startup.m  ./ ''

Also,copy the tutorial model files to your account:

"cp -r /penguin/apps/Xilinx/casper_tutorial/ ./ "

Before running tutorial 2, please make a subdirectory as:

$mkdir`` ``.Xilinx $cd`` ``.Xilinx $mkdir`` ``Coregen $cd`` ``Coregen $mkdir`` ``CoreLicenses

Then copy the licenses file to it :

''yourAccount/.Xilinx/Coregen/CoreLicenses$ cp -r /penguin/apps/Xilinx/11.1/ISE/coregen/core_licenses ./ ''

To run matlab, type in as :

cp16>`` ``source`` ``penguin/apps/bin/startsg.sh

Hope you have good luck!


Once you have BOF files created, please follow the instruction below to download the BOF files to ROACH board. There are 6 Roach boards ready to use, they are :

192.168.100.2   roach020133 192.168.100.3   roach020129 192.168.100.4   roach020134 192.168.100.5   roach030284 192.168.100.6   roach030285 192.168.100.7   roach030287 

0. after compiling the simulink model on one of the cluster machine (cp15 or cp16), you can login the file server (140.109.176.17) for the roach boards using your guest account (guest1 - guest10, password is the same as the login).

1. ftp into the cluster machine to retrieve the bof file you create, namely,

>sftp -l ctli@cp16

where guest1 is your user name.

2. use commands like "cd" "ls" to get to where you store the bof file, e.g. for tut1, it should be at ./tut1/bit_files/

3. get the bof file by

>get xxxx.bof

where xxxx.bof is the filename of the bof file

4. exit the ftp

5. rename the bof file with your user name attached, e.g.

>mv tut2_2011_Mar_15_1640.bof tut2_2011_Mar_15_1640_guest2.bof

where guest2 is your user name.

6. change the bof to be executable if it is not by

>chmod a+x xxxx.bof

7. copy the bof file to where it should be in the file system, i.e.

>cp ./xxxx.bof /srv/roach_boot/usbstick/boffiles/ 

where /srv/roach_boot/usbstick/boffiles/ is where the file system store the bof files in this file server

8. make sure the bof file is copied by

>ls /srv/roach_boot/usbstick/boffiles/

9. copy the required python script from /srv/roach_boot/usbstick/boffiles/, e.g.

>cp /srv/roach_boot/usbstick/boffiles/tut2.py .

10. find the name of the roach machine you plan to use, e.g. roach030285,

follow the instruction on the tutorial guide to complete the tutorial

  • Note:

instead of issuing a command like

>./tut2.py roach030285 -p

use

>python tut2.py roach030285 -p