renamed shifter to align_shifter
Committed on the Free edition of March Hare Software CVSNT Server. Upgrade to CVS Suite for more features and support: http://march-hare.com/cvsnt/ git-svn-id: http://moon:8086/svn/vhdl/trunk@953 cc03376c-175c-47c8-b038-4cd826a8556b
This commit is contained in:
@@ -79,7 +79,7 @@ begin
|
|||||||
dout <= reg;
|
dout <= reg;
|
||||||
dout_vld <= data_vld;
|
dout_vld <= data_vld;
|
||||||
|
|
||||||
inst_shifter : entity work.shifter
|
inst_shifter : entity work.align_shifter
|
||||||
GENERIC MAP
|
GENERIC MAP
|
||||||
(
|
(
|
||||||
data_width => data_width,
|
data_width => data_width,
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ use std.textio.all; -- Imports the standard textio package.
|
|||||||
|
|
||||||
use work.utils_pkg.all; -- Imports the standard textio package.
|
use work.utils_pkg.all; -- Imports the standard textio package.
|
||||||
|
|
||||||
ENTITY shifter IS
|
ENTITY align_shifter IS
|
||||||
Generic
|
Generic
|
||||||
(
|
(
|
||||||
data_width : natural := 32;
|
data_width : natural := 32;
|
||||||
@@ -25,9 +25,9 @@ ENTITY shifter IS
|
|||||||
dout : out unsigned(data_width-1 downto 0)
|
dout : out unsigned(data_width-1 downto 0)
|
||||||
|
|
||||||
);
|
);
|
||||||
END shifter;
|
END align_shifter;
|
||||||
|
|
||||||
ARCHITECTURE behavior OF shifter IS
|
ARCHITECTURE behavior OF align_shifter IS
|
||||||
|
|
||||||
constant num_rounds : natural := NextExpBaseTwo(data_width/aggregate_size);
|
constant num_rounds : natural := NextExpBaseTwo(data_width/aggregate_size);
|
||||||
subtype sa_rnd_t is signed(num_rounds-1 downto 0);
|
subtype sa_rnd_t is signed(num_rounds-1 downto 0);
|
||||||
|
|||||||
Reference in New Issue
Block a user