Hi Alec,

What version of the casper libraries are you using?

The top of the tutorials page on the wiki states:
"""

These tutorials were constructed using Xilinx System Generator 14.7 and
MATLAB 2012b. Other mutually compatible versions of Xilinx and MATLAB tools
may work correctly, but have not been tested.

These tutorials use the casper-astro repository, specifically git commit
4c7ba5efb4
<https://github.com/casper-astro/mlib_devel/commit/4c7ba5efb421fda1cec0640cf0e3b830a9987640>

If you plan to use these tutorials on your own system, you are most likely
to have success if you use these libraries. You can obtain them from github:

git clone git://github.com/casper-astro/mlib_devel.git

cd mlib_devel

git checkout 4c7ba5efb4
"""

I've no idea if this information is up to date, but is this what you did?
If you're using a newer version of the libraries than the model was saved
in, you can try opening the model and running, in the matlab prompt:

update_casper_blocks(bdroot)

This will [try to] update all the blocks in the model to the latest
versions (the argument bdroot is a shortcut to the top level of your design
heirarchy). It'll take a while. After this script has completed, you
shouldn't have any broken links remaining.

Cheers
Jack

On Tue, 4 Oct 2016 at 16:51 Alec Josaitis <josai...@umich.edu> wrote:

> Dear Casperites,
>
> I've been trying to complete tutorial 4
> <https://casper.berkeley.edu/wiki/Tutorial_Wideband_Pocket_Correlator>
> for the Roach2, and have run into difficulty compiling either the .slx
> <https://github.com/casper-astro/tutorials_devel/blob/tutorials_update_2016/tut4/poco_wide_12_r316_new.slx.r2013a.tar.gz>
> or .mdl
> <https://github.com/casper-astro/tutorials_devel/blob/tutorials_update_2016/tut4/poco_wide_12_r316_new.mdl.tar.gz>files
> given for the Roach 2, or uploading the precompoliled .fpg
> <https://github.com/casper-astro/tutorials_devel/blob/tutorials_update_2016/tut4/poco_wide_1kat.fpg>
> file onto my Roach2 (using either the python scripts given or simply by
> command-line uploading the .fpg using ipython). My error messages are
> attached in this Google Drive document.
> <https://docs.google.com/document/d/1RY5LSS7mRx3o2Zm6Gyy_a8jhEjJr2bM1k9CCN9ov0bw/edit?usp=sharing>
>
> For tutorials 1-3 I have had no trouble compiling the .slx files and
> upload the corresponding .fpg files to my Roach2.
>
> I've made sure in the .slx I cite above (for tutorial 4) that the
> XSG_core_config block does not have a broken link and that the settings are
> as follows:
>
>
>    - Hardware platform: Roach2:sx475t
>    - User IP clock source: adc0_clk
>    - User IP clock rate (MHz): 200, (and that the adc1 and adc0 are
>    correspondingly clocked to 800 MHz)
>    - Sample period: 1
>    - Synthesis tool: XST
>
> Any advice on how I can complete tutorial 4?
>
>
> Best,
>
> Alec
>
>
>
>

Reply via email to