On Tuesday 01 September 2015 15:32:51 John Kasunich wrote: > On Tue, Sep 1, 2015, at 03:12 PM, Gene Heskett wrote: > > Sample_hold is s32 except bit "hold", and the man page doesn't even > > say what state is hold & what state is fall-thru. > > > > comp is float, incompatible with the S_H > > > > Sum2 is float, incompatible with the S_H > > > > So the processing chain is too long and likely in the wrong addf > > sequence. But it would be a huge help if we had a float version of > > the sample_hold. > > > > Any chance of that ever happening? > > It's already there, it just isn't called sample-hold. > > Mux2 can be used as a sample-and-hold. Tie "in1" to the output. > "in0" is the input. When select is 0, "in0" is copied to the output. > When select goes to 1, the previous output enters thru "in1" and is > copied to the output. Presto, it holds.
Now that might be usable, but how to develop the .sel bit? Piece of cake IF the 5i25 had an encoder "edge" output set only when an edge has been detected that was reset by the card read. Maybe I can make it out of a comp? I'll go take it out of the circuit and play a bit by running the new code in parallel for S&G. It does sound workable if I can make a .sel bit for the mul2's. Thanks John. 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> ------------------------------------------------------------------------------ _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
