- uses common fixed_pkg

git-svn-id: http://moon:8086/svn/vhdl/trunk@239 cc03376c-175c-47c8-b038-4cd826a8556b
This commit is contained in:
2009-01-14 09:36:50 +00:00
parent e91134a95f
commit 70645de004
2 changed files with 22 additions and 15 deletions
+9 -6
View File
@@ -17,9 +17,12 @@ use IEEE.MATH_REAL.ALL;
USE ieee.numeric_std.ALL;
use std.textio.all; -- Imports the standard textio package.
library ieee_proposed;
use ieee_proposed.math_utility_pkg.all;
use ieee_proposed.fixed_pkg.all;
library work;
use work.fixed_pkg.all;
use work.mix_pkg.all;
use work.fixed_util_pkg.all;
use work.PCK_FIO.all;
ENTITY tb_undc_real IS
@@ -29,8 +32,8 @@ ENTITY tb_undc_real IS
nbits_k : integer := 24;
nbits_k_frac : integer := 24;
has_in_reg : boolean := true;
rounding : boolean := true;
saturating : boolean := true
rounding : fixed_round_style_type := fixed_round;
saturating : fixed_overflow_style_type := fixed_saturate
);
END tb_undc_real;
@@ -45,8 +48,8 @@ ARCHITECTURE behavior OF tb_undc_real IS
nbits_k : integer;
nbits_k_frac : integer;
has_in_reg : boolean;
rounding : boolean;
saturating : boolean
rounding : fixed_round_style_type;
saturating : fixed_overflow_style_type
);
Port
(