- uses common fixed_pkg

git-svn-id: http://moon:8086/svn/vhdl/trunk@242 cc03376c-175c-47c8-b038-4cd826a8556b
This commit is contained in:
2009-01-14 09:43:36 +00:00
parent 0c8a1c2ec5
commit 9163ced247
6 changed files with 48 additions and 28 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_mix_real IS
@@ -32,8 +35,8 @@ ENTITY tb_mix_real IS
has_in_reg : boolean := true;
has_pipe_reg : boolean := true;
has_out_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_mix_real;
@@ -51,8 +54,8 @@ ARCHITECTURE behavior OF tb_mix_real IS
has_in_reg : boolean;
has_pipe_reg : boolean;
has_out_reg : boolean;
rounding : boolean;
saturating : boolean
rounding : fixed_round_style_type;
saturating : fixed_overflow_style_type
);
PORT
(