list_ch03_18_shift_test.vhd
来自「VHDL FFT SOURCECODE great one」· VHDL 代码 · 共 17 行
VHD
17 行
-- Listing 3.18
library ieee;
use ieee.std_logic_1164.all;
use ieee.numeric_std.all;
entity shifter_test is
port(
sw: in std_logic_vector(7 downto 0);
btn: in std_logic_vector(2 downto 0);
led: out std_logic_vector(7 downto 0)
);
end shifter_test;
architecture arch of shifter_test is
begin
shift_unit: entity work.barrel_shifter(multi_stage_arch)
port map(a=>sw, amt=>btn, y=>led);
end arch;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?