Difference between revisions of "CasperTutorial01"
From AstroBaki
Jump to navigationJump to searchLine 360: | Line 360: | ||
\section{Transferring your bitstream to your ROACH board} | \section{Transferring your bitstream to your ROACH board} | ||
− | If you | + | If you navigate to the directory containing your *.mdl file, you |
will find a subfolder with the name of your Simulink design. | will find a subfolder with the name of your Simulink design. | ||
Line 366: | Line 366: | ||
You will find your bitstreams inside the folder called bit\_files. There are | You will find your bitstreams inside the folder called bit\_files. There are | ||
− | two files | + | two files with names of the form |
− | <design\_name>\_<start\_compile\_time>.XXX. | + | <design\_name>\_<start\_compile\_time>.XXX. |
− | |||
− | |||
− | |||
The .bit is the raw FPGA bitstream that you could load manually using a Xilinx | The .bit is the raw FPGA bitstream that you could load manually using a Xilinx | ||
JTAG programmer. Of interest to us now is the .bof file. This is a BORPH | JTAG programmer. Of interest to us now is the .bof file. This is a BORPH | ||
executable. We will transfer this to your ROACH board now. | executable. We will transfer this to your ROACH board now. | ||
− | To transfer files to ROACH, you can use any | + | To transfer files to ROACH, you can use any program capable of doing Secure Copy over SSH |
− | + | Protocol (SCP) transfers. On Linux, scp is the standard tool. | |
− | |||
− | |||
− | |||
− | + | You will then login to the Linux server wsserv that boots the ROACH boards and | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | You will then login to the Linux server wsserv | ||
hosts their filesystem. The ROACH filesystem lives in /srv/roach\_boot/etch/. | hosts their filesystem. The ROACH filesystem lives in /srv/roach\_boot/etch/. | ||
− | In the root folder of this filesystem is a directory called boffiles. ROACH | + | In the root folder of this filesystem is a directory called /boffiles. ROACH |
boards look in here for executable BORPH files. You will need to transfer your | boards look in here for executable BORPH files. You will need to transfer your | ||
− | bof file into this directory and make it executable | + | bof file into this directory and make it executable. Navigate to /srv/roach\_boot/etch/boffiles. This |
− | |||
− | |||
− | |||
directory is shared amongst all the ROACH boards, so you will notice a list of | directory is shared amongst all the ROACH boards, so you will notice a list of | ||
everyone else's bof files too. | everyone else's bof files too. | ||
− | |||
− | |||
− | |||
− | |||
\section{Connecting to your ROACH board} | \section{Connecting to your ROACH board} |