To add to what Dave has said. I found that having no control over the relative size and placement of the blocks when using xBlocks made it hard to see what was happening, making the design write-only and hard to debug.
Generating scipts can be tedious though. The mdl2m.m script in the casper_library folder will grovel through a model and generate an associated script which can help save time and effort in this regard. Regards Andrew On Sat, 31 Aug 2019, 00:33 David MacMahon, <[email protected]> wrote: > I could be wrong, but as I recall, the block diagrams created via xBlocks > were (at least at the time) not very conducive to visualizing the structure > of the diagrams (e.g. lots of lines/traces overlaid on top of each other). > This was not a serious problem when everything worked as it should, but it > was a nightmare when it didn't. > > Dave > > On Aug 30, 2019, at 15:21, Dan Werthimer <[email protected]> wrote: > > > > i don't know much about xblocks, so can't add much to jack's comments, > except: > > about a dozen years ago chris dick and others at xilinx recommended casper > use xblocks, > so hong chen tried it out, and ported several of the casper dsp blocks. > i think it worked well, and hong chen liked xblocks, but it didn't catch > on in the casper community. > not sure why. > > best wishes, > > dan > > > > > On Fri, Aug 30, 2019 at 1:39 PM Jack Hickish <[email protected]> > wrote: > >> Hi Franco, >> >> I don't think there's any reason not to use xblocks. Someone can >> correct me if I'm wrong. >> >> Several years ago there was a quest to move the whole casper library >> to xblocks -- https://github.com/casper-astro/xblocks_devel/ -- but it >> never seemed to get traction and the original libraries won over. I >> suspect had the project been more aggressive about just replacing the >> casper libraries it would have caught on. >> >> Cheers >> Jack >> >> On Thu, 29 Aug 2019 at 12:34, Franco <[email protected]> wrote: >> > >> > Dear Casperites, >> > >> > I've recently been playing around with the creation of block libraries >> and I found out about Xilinx's API for programmatic model creation >> (xBlock). I find it particularly convenient because you don't have to >> explicitly position the blocks, as the software does all the positioning >> for you, and for what I tested the results are pretty nice. >> > >> > However when I checked in the CASPER library, only a few blocks are >> created using xBlock, and moreover, some blocks where re-implemented from >> xBlock to standard Matlab block scripting. >> > >> > So my question is: is there any reason why I should avoid using xBlock? >> The only inconvenient I have had with it for now is that you have to >> install some additional libraries in Linux to make it work, which I didn't >> find it documented anywhere. >> > >> > Thanks, >> > >> > Franco Curotto >> > >> > -- >> > You received this message because you are subscribed to the Google >> Groups "[email protected]" group. >> > To unsubscribe from this group and stop receiving emails from it, send >> an email to [email protected]. >> > To view this discussion on the web visit >> https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CACBfcEmKHeDGr5ny5HH2ruqvHgYr-VbNbyyPjpJz5eR1C-JaRA%40mail.gmail.com >> . >> >> -- >> You received this message because you are subscribed to the Google Groups >> "[email protected]" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CAG1GKSn%2Bgy-f4HFRXYsNAoheHDJxYA_EzFcXyxUgwnM_STxWtA%40mail.gmail.com >> . >> > > -- > You received this message because you are subscribed to the Google Groups " > [email protected]" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CAGHS_vGWWsG8y9RShzBaji3-3B5wD8Gd6K-gdOL-_jwsR8j%3DHg%40mail.gmail.com > <https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CAGHS_vGWWsG8y9RShzBaji3-3B5wD8Gd6K-gdOL-_jwsR8j%3DHg%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > > > -- > You received this message because you are subscribed to the Google Groups " > [email protected]" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/C230AA84-F656-4536-B101-5E07C3B391BD%40berkeley.edu > <https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/C230AA84-F656-4536-B101-5E07C3B391BD%40berkeley.edu?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "[email protected]" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CADEwHTcuw1tSxXETco%3DUqhFPpLgZA%3DJUojwy9itUMiZBLoDWSA%40mail.gmail.com.

