[vhdl-200x-ft] Release 6 of packages

From: David Bishop <dbishop@server.vhdl.org>
Date: Mon Nov 15 2004 - 12:06:39 PST

I just posted release 6 of the packages:
http://www.eda-twiki.org/vhdl-200x/vhdl-200x-ft/packages/files.html
or
http://www.eda-twiki.org/vhdl-200x/vhdl-200x-ft/packages/vhdl-200x-ft-pkgs_6.tar.Z

Changes in this release:
Fixed-point packages have been modified to remove some null arrays.
I did a synthesis test on this package.

Floating-point packages now take advantage of package generics.
ieee.fphdl_base_pkg (base package) could now be hidden, but isn't.
I'd like the opinion of the group before I do this.
ieee.fphdl_pkg is the default package, and because of the way package
generics works, can not be used unless it is instantiated.

The 32 bit package will look like this:
package fphdl32_pkg is new ieee.fphdl_pkg
   generic map (
     fp_fraction_width => 23; -- 23 bits of fraction
     fp_exponent_width => 8; -- exponent 8 bits
     fp_round_style => round_nearest; -- round nearest algorithm
     fp_denormalize => true; -- Use IEEE extended floating
                                         -- point (Denormalized numbers)
     fp_check_error => true; -- Turn on NAN and overflow processing
     fp_guard_bits => 3 -- number of guard bits
     );

For now, you will see the generics commented out at the top of the package,
and a package and package body for all of the different floating-point
data width packages is used. These can be removed later.

-- 
David W. Bishop dbishop@vhdl.org       All standard disclaimers apply.
Received on Mon Nov 15 12:06:43 2004

This archive was generated by hypermail 2.1.8 : Mon Nov 15 2004 - 12:07:12 PST