Re: [casper] Roach2 Tutorial 4 Troubles (Can't Compile .slx or Upload .fpg)

2016-12-04 Thread Jack Hickish
Hi Alec, I'm sorry to say I've kinda run out of suggestions. I can't recreate your problem with my installation. As per my previous email -- with MATLAB 2012b, Xilinx 14.7, and mlib_devel commit 4c7ba5efb4 -- after running update_casper_blocks everything seems to Just Work. For what it's worth,

Re: [casper] Roach2 Tutorial 4 Troubles (Can't Compile .slx or Upload .fpg)

2016-12-02 Thread Alec Josaitis
Dear Jack, I just wanted to follow-up with my last message, about the broken "shared bram" connections. Any new suggestions? I hope we're close to resolve this issue, as there are no other errors displayed by MATLAB. Thanks for all the help you've given, and any more that you may be able to

Re: [casper] Roach2 Tutorial 4 Troubles (Can't Compile .slx or Upload .fpg)

2016-11-21 Thread Alec Josaitis
Dear Jack, Yes, I ran update_casper_blocks(bdroot), which did not resolve the broken connections. When I grab a shared bram block directly from my library, the connections are also broken., same with the sim_munge connections inside the mem block of each shared bram block (shared bram -> mem ).

Re: [casper] Roach2 Tutorial 4 Troubles (Can't Compile .slx or Upload .fpg)

2016-11-18 Thread G Jones
The broken connections between blocks are causing your problem. Often that happens when the ports on a block change between versions. You will likely have to figure out how to connect them back up (perhaps by looking at how they're connected before you run the casper_update_blocks script. Not sure

Re: [casper] Roach2 Tutorial 4 Troubles (Can't Compile .slx or Upload .fpg)

2016-11-18 Thread A. T. Josaitis
Dear Jack (and the rest of the Casper family), I just wanted to follow-up with my last message, and see if anyone had recommendations for how to correct the shared BRAM errors I'm receiving in tutorial 4 (see last message in this thread). The blocks are updated, and I've also tried replacing

Re: [casper] Roach2 Tutorial 4 Troubles (Can't Compile .slx or Upload .fpg)

2016-11-14 Thread Jack Hickish
Hi Alec, So I have MATLAB 2012b, Xilinx 14.7, and mlib_devel commit 4c7ba5efb4. I cloned the tutorials from github.com/casper-astro/tutorials_devel.git, and unzipped poco_wide_12_r316.mdl.gz. This model doesn't seem to have any black boxes in it. I ran update_casper_blocks(bdroot) and some

Re: [casper] Roach2 Tutorial 4 Troubles (Can't Compile .slx or Upload .fpg)

2016-11-14 Thread Alec Josaitis
Dear Jack, Yup, I was working with poco_wide_12_r316.mdl. The only substantive change I can recall is replacing the Xilinx Black Box version of the pfb_fir_generic to the one in the DSP blockset, programmed as specified in the tutorial

Re: [casper] Roach2 Tutorial 4 Troubles (Can't Compile .slx or Upload .fpg)

2016-11-14 Thread Alec Josaitis
Dear Dave and Glenn, You were both correct, my MLIB_DEVEL_PATH returned any empty string; the variable was never set. I'm amazed I got to tutorial 4 without that mistake making itself present! I am now able to implement the green blocks as expected, and when I run the Simulation -> Update Diagram

Re: [casper] Roach2 Tutorial 4 Troubles (Can't Compile .slx or Upload .fpg)

2016-11-10 Thread David MacMahon
Hi, Alec, I suspect your MLIB_DEVEL_PATH environment variable is not getting set. This error message... > An error or warning occurred during a callback while saving > '/casper_library/casper_library_bus.slx'. …shows that matlab is trying to save the casper_library_bus.slx file in

Re: [casper] Roach2 Tutorial 4 Troubles (Can't Compile .slx or Upload .fpg)

2016-11-10 Thread G Jones
You don't need to run the *_init.m files yourself, matlab does that for you. Click the "set path" button in matlab and make sure you see the directory that will be something like .../mlib_devel/casper_library I suspect that you don't have your startsg.local or startup.m at the matlab prompt,

Re: [casper] Roach2 Tutorial 4 Troubles (Can't Compile .slx or Upload .fpg)

2016-11-09 Thread G Jones
Something is not quite right with your library path setup. Did you modify the startsg.sh local script to properly point to your casper libraries? You definitely should have the casper bus library if things are set up properly. Glenn On Nov 9, 2016 5:59 PM, "Alec Josaitis"

Re: [casper] Roach2 Tutorial 4 Troubles (Can't Compile .slx or Upload .fpg)

2016-11-09 Thread Alec Josaitis
Dear Glenn, Yes, update_casper_blocks appears to run succesfully. First I ran it inasmuch as it said at the end "done updating blocks in ", but it does issue warnings at some points. See below. First, I tried updating my library, and at some point received this: updating block

Re: [casper] Roach2 Tutorial 4 Troubles (Can't Compile .slx or Upload .fpg)

2016-11-07 Thread G Jones
Hi Alec (ccing list for posterity), I don't know if there's a .fpg for tutorial 4 for ROACH 2 but I would assume one must be around somewhere. The error message you're seeing is a bit misleading: 'fpga' is not defined because of an error in setting it up, so the exit_fail function is being

Re: [casper] Roach2 Tutorial 4 Troubles (Can't Compile .slx or Upload .fpg)

2016-11-07 Thread Alec Josaitis
Dear Glenn and Jack, Thanks for the response. I've re-cloned mlib_devel and checked-out the proper version ( 4c7ba5efb4 ). I then re-downloaded, and un-tarred this .mdl, saved is as a .slx, and then opened

Re: [casper] Roach2 Tutorial 4 Troubles (Can't Compile .slx or Upload .fpg)

2016-11-04 Thread Jack Hickish
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

Re: [casper] Roach2 Tutorial 4 Troubles (Can't Compile .slx or Upload .fpg)

2016-11-04 Thread G Jones
No, these warnings are almost always safe to ignore. You want to look for error messages. You will always get lots of warning messages. Glenn On Fri, Nov 4, 2016 at 5:09 PM, Alec Josaitis wrote: > Dear Casperites, > > One other thing I should clarify, is that before the XSG

Re: [casper] Roach2 Tutorial 4 Troubles (Can't Compile .slx or Upload .fpg)

2016-11-04 Thread G Jones
Hi Alec, Sorry if it wasn't clear, my answers were to your two separate queries, not all together: To diagnose the compilation problem, you need to dig through the tut4_update directory that was created by casper_xps in the same directory as the tut4_update.slx file you are compiling and find all

Re: [casper] Roach2 Tutorial 4 Troubles (Can't Compile .slx or Upload .fpg)

2016-11-04 Thread Alec Josaitis
Dear Casperites, One other thing I should clarify, is that before the XSG generation fails, the following warning is given in Matlab, regarding inconsistent ADC time samples. Does this provide insight as to why my compilation fails? Warning: Inconsistent sample times. Sample time (0.25) of

Re: [casper] Roach2 Tutorial 4 Troubles (Can't Compile .slx or Upload .fpg)

2016-11-04 Thread Alec Josaitis
Dear Glenn, Thanks for getting back to me. Unfortunately, the .log files don't reveal any hints to this issue; below is a print-out of the entire .log file (it is only five lines long). None of these lines refer to 'fpga.is_connected()'. - Version Log

Re: [casper] Roach2 Tutorial 4 Troubles (Can't Compile .slx or Upload .fpg)

2016-11-02 Thread G Jones
Hi Alec, Your compilation error indicates that running system generator failed. You need to look in the directory created with the design name for the system generator logs to see where the error occurred. I can't remember the exact name but dig through the sub directories for .log files and the

Re: [casper] Roach2 Tutorial 4 Troubles (Can't Compile .slx or Upload .fpg)

2016-10-06 Thread Alec Josaitis
Dear Casperites, I just wanted to follow-up with you all on the above error. Do any of you have recommendations for getting the tut4 files to run on my copy of MATLAB and Roach2? I'm happy to provide any other information you all may need to diagnose this issue. Thank you all for your time.

[casper] Roach2 Tutorial 4 Troubles (Can't Compile .slx or Upload .fpg)

2016-10-04 Thread Alec Josaitis
Dear Casperites, I've been trying to complete tutorial 4 for the Roach2, and have run into difficulty compiling either the .slx