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 <jackhick...@gmail.com> 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 <wes...@ska.ac.za> 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 <ho...@asiaa.sinica.edu.tw> 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 > > >