I suggest using package generics to set the values of the five default behavior constants (fixed_round, fixed_truncate, fixed_saturate, fixed_wrap, and fixed_guard_bits) within the fixed point package fixed_pkg. That option would be convenient for users who intend to use non-default values throughout a design. Besides abbreviating calls to the long version of the divide function, the new types created by the package instance would help ensure that all uses of the fixed point operations are consistent within a design. Paul Butler Paul.Butler@ni.com (512) 683-8743 National Instruments Austin, TXReceived on Mon Apr 18 09:32:58 2005
This archive was generated by hypermail 2.1.8 : Mon Apr 18 2005 - 09:33:38 PDT