Thanks to John's help, the error was because I used relative paths with symlinks rather than absolute paths.

-Dan

On 04/08/2013 11:26 AM, John Ford wrote:
Hi Dan.

This looks like the mixed-case model filename problem, but obviously your
filename is not mixed case.  Send me your .mdl and let me try it here.

John


I recently installed Xilinx 14.4, MATLAB 2012b on Red Hat 6, and checked
out the latest ska-sa toolset.  I followed the instructions available at
https://casper.berkeley.edu/wiki/MSSGE_Setup_with_Xilinx_14.4_and_Matlab_2012b
and copied the pcores from the aforementioned web page.  I built
tutorial 1 per the instructions at
https://casper.berkeley.edu/wiki/Tutorials as the given model files were
incompatible with ska-sa and / or the latest toolset.  Attached to this
email is the local start up script for CASPER.

At this point, it is possible to simulate tutorial one within Simulink,
and casper_xps succeeds at all steps except for the final
"EDK/ISE/Bitgen" step.  At that point an error is reported:

Warning: File '/a/tut1_x144/XPS_ROACH_base/implementation/system.bit'
not found.
  > In gen_xps_files at 623
    In casper_xps>run_Callback at 149
    In casper_xps at 80
    In
@(hObject,eventdata)casper_xps('run_Callback',hObject,eventdata,guidata(hObject))

Warning: File '/a/tut1_x144/XPS_ROACH_base/implementation/download.bit'
not found.
  > In gen_xps_files at 624
    In casper_xps>run_Callback at 149
    In casper_xps at 80
    In
@(hObject,eventdata)casper_xps('run_Callback',hObject,eventdata,guidata(hObject))

Error using gen_xps_files (line 647)
XPS failed.


I took apart the gen_xps_files script and was able to run up to the
'xps' command at line 644 of gen_xps_files.m.  Therein the script failed
with an error status of 2.

  >> status = system(['xps -nw -scr run_xps.tcl system.xmp']);
  >> status

status =

       2

  >>

Next, I tried running the xps command from the command line (located at
line 644 in gen_xps_files.m).  I first commented out the 'sysgen' line
in 'start.sh' (attached to this email), then sourced 'start.sh'.  From
my shell I then ran the command:

xps -nw -scr run_xps.tcl system.xmp

After a few minutes it generated the files.  I have not tested if the
files could be successfully uploaded to the board.

Any suggestions?  I'm at a loss,
-Dan

--
Man-Eating Seals of Antiquity




--
Man-Eating Seals of Antiquity


Reply via email to