Ryan,
> C. Encouraging good DSP design by forcing the designer to specify what
> happens to the bits.
I agree.
OOPS. Let me correct this one,
So the following is good:
Y_ufixed <= Resize(A_ufixed + B_ufixed, ...) ;
Is it not also a good design practice to encourage
designers to specify when they are mixing operand types?
Y_sfixed <= Resize(A_sfixed + to_sfixed(B_ufixed)) ;
Cheers,
Jim
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Jim Lewis Director of Training mailto:Jim@SynthWorks.com SynthWorks Design Inc. http://www.SynthWorks.com 1-503-590-4787 Expert VHDL Training for Hardware Design and Verification ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Received on Wed Jul 7 11:37:16 2004
This archive was generated by hypermail 2.1.8 : Wed Jul 07 2004 - 11:37:18 PDT