On Monday 27 February 2017 11:05:23 andy pugh wrote: > On 27 February 2017 at 15:52, Gene Heskett <ghesk...@shentel.net> wrote: > > How wide, in terms of inputs, can I make a single instance of this > > mux_generic? > > The manual page says: > "This component is a more general version of the other multiplexing > components. It allows the creation of arbitrary-size multiplexers (up > to 1024 entries)" > In a single instance? Wow! That would be nearly 100 times what I need for this. It would also be one heck of a pile of hal code! Pages of setp's or...
Humm, I also need a scale function that runs on s32's. What we have runs on floats. OTOH, an s32-to-float in front of the whole chain, and a float-to-s32 at the output would work, but the execution time of all those floats in the middle might be a hurt on the pi. Ideally, all this should run only if conditions have changed, but I've no clue how to write an if/else/else/else/end in hal. > I suspect that you can derive up-pulse and down-pulse signals from > logic and the raw A B phases. As I had planned. But no progress yet, honeydo stuff in the way. ;) > I think I would start with a pencil and paper and a self-referencing > LUT5. But then LUT5 seems to be my go-to component for almost > anything. So I have noticed. :) If its low in execution time, and you wrote it, so you understand it intimately, why not? ;-) I tend to look for less complex bits and pieces I can stack up in the right sequence. Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) Genes Web page <http://geneslinuxbox.net:6309/gene> ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users