diff --git a/lib/VGA_ctrl/src/align.vhd b/lib/VGA_ctrl/src/align.vhd index 4da7d81..c40acf4 100644 --- a/lib/VGA_ctrl/src/align.vhd +++ b/lib/VGA_ctrl/src/align.vhd @@ -79,7 +79,7 @@ begin dout <= reg; dout_vld <= data_vld; -inst_shifter : entity work.shifter +inst_shifter : entity work.align_shifter GENERIC MAP ( data_width => data_width, diff --git a/lib/VGA_ctrl/src/shifter.vhd b/lib/VGA_ctrl/src/shifter.vhd index fb57b6f..6acec19 100644 --- a/lib/VGA_ctrl/src/shifter.vhd +++ b/lib/VGA_ctrl/src/shifter.vhd @@ -5,7 +5,7 @@ use std.textio.all; -- Imports the standard textio package. use work.utils_pkg.all; -- Imports the standard textio package. -ENTITY shifter IS +ENTITY align_shifter IS Generic ( data_width : natural := 32; @@ -25,9 +25,9 @@ ENTITY shifter IS 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); subtype sa_rnd_t is signed(num_rounds-1 downto 0);