Hi, Laura,

It looks like the software registers end up using the "fixdt" function when 
setup as "From Processor" and the mode is other than "one value".  I'm pretty 
sure the "fixdt" function is from the fixed point toolbox.  

Does your problem happen only on software registers with more than one output 
or does it happen on all software registers?  Which mlib_devel commit are you 
using?

Dave

On Nov 9, 2014, at 9:04 PM, Vertatschitsch, Laura E. wrote:

> Hi Homin, 
> 
> I have a hunch that the new software registers may need the fixed point 
> toolset to work.  I can compile fine, but can't simulate and can't change the 
> parameters.  The fixed point toolset seems to be the main difference between 
> myself and Rurik's set up, and he seems to have no issues. I'd be curious to 
> see if the same is true for you.
> 
> Laura
> 
> On Sunday, November 9, 2014, David MacMahon <[email protected]> wrote:
> Hi, Homin,
> 
> What bad luck did you have?  One thing about the new software registers that 
> might be causing you problems is that they require the inputs to be of the 
> desired/requested/expected width.  IOW, instead of using a "convert" block 
> internally to make the user-supplied input be the expected width, the new 
> software register uses an "assert" block to require that the user (you!) adds 
> the appropriate convert block before the software register.  I think this 
> unfriendly to users, but I think that's the way it is.
> 
> You might have to add a "bitbasher" block (or "reinterpret" and "convert" 
> blocks) before the software register to make the new software register yellow 
> block happy.
> 
> HTH,
> Dave
> 
> On Nov 9, 2014, at 7:53 PM, Homin Jiang wrote:
> 
> > Hi Jack:
> >
> > I followed your instruction, but i didn't have good luck. I am using latest 
> > version of mlib_devel library from ska-sa, and i guess the latest "software 
> > register" block has something wrong.
> > There is a "software register_OLD" in the library, is there a command i can 
> > replace the "software register" by "software register_OLD" ?
> >
> > regards
> > homin
> >
> >
> > On Fri, Nov 7, 2014 at 7:03 PM, Jack Hickish <[email protected]> wrote:
> > Hi Homin,
> >
> > As Wes says, there's a good chance you need to replace your sw registers 
> > with new versions from the library. For sanity, you can do this 
> > automatically from the matlab prompt with the command (open your model 
> > first so bdroot points to it):
> >
> > >> update_casper_blocks(bdroot, 'Tag', 'xps:sw_reg')
> >
> > You can update *all* casper blocks with:
> > >> update_casper_blocks(bdroot)
> >
> > Cheers,
> > Jack
> >
> > On Fri Nov 07 2014 at 08:30:09 Wesley New <[email protected]> wrote:
> > Can you elaborate on these errors?
> >
> > A while ago the software registers were updated so you might have to 
> > replace all of the software registers in you your design with the new on 
> > from the library.
> >
> > Wesley New
> > South African SKA Project
> > +2721 506 7365
> > www.ska.ac.za
> >
> >
> >
> > On Fri, Nov 7, 2014 at 3:55 AM, Homin Jiang <[email protected]> 
> > wrote:
> > Hello:
> >
> > I am upgrading my system to xilinx 14.7 with Matlab 2012a and up to date 
> > mlib_devel library.
> > I encountered errors by the "software register" in XPS library. Any one can 
> > help ?
> >
> > thanks
> > homin
> >
> >
> >
> 
> 


Reply via email to