Thanks everyone! I'll give that a try.
Paul
On 02/26/2014 10:16 AM, Jason Manley wrote:
The RCS stuff is set by dragging the RCS block from the library into the top
level of your design (next to System Generator block). Double-click and set the
mask parameters as normal.
It will try'n pull the git revisions of your mlib library and model file for
you automatically when you compile, if you're working from valid git checkouts.
Failing that, it will use timestamps.
This is handled automatically with the get_rcs function in corr.
Jason
On 26 Feb 2014, at 17:07, Jack Hickish <jackhick...@gmail.com> wrote:
Hi Paul,
None of these registers is directly configurable from within simulink.
They live in the sys_block pcore -- see the relevant base package
.../xps_base/XPS_ROACH<x>_base/system.mhs, for where their values are
set. The sys_rev and sys_rev_rcs are determined by the hardware. E.g.,
roach has board id 0xb00b and roach2 0xbabe. I don't know quite how
the rest of the version information is encoded in the registers, but
in principal if you set the parameters of the sys_block accordingly,
you can set the values of those registers to whatever you like.
sys_scratchpad is a blank read/writable register for testing the power
pc interface -- it doesn't have any direct interface to your simulink
design, so you can't write to it from your model.
Cheers,
Jack
On 26 February 2014 14:38, Paul Marganian <pmarg...@nrao.edu> wrote:
Can anyone tell me how to set the sys_rev, sys_rev_rcs, and sys_scratchpad
registers from within my model?
Thanks
Paul Marganian
NRAO, Green Bank