- uses common fixed_pkg
git-svn-id: http://moon:8086/svn/vhdl/trunk@242 cc03376c-175c-47c8-b038-4cd826a8556b
This commit is contained in:
@@ -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_cpx IS
|
||||
@@ -32,8 +35,8 @@ ENTITY tb_mix_cpx 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_cpx;
|
||||
|
||||
@@ -51,8 +54,8 @@ ARCHITECTURE behavior OF tb_mix_cpx 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
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user