📄 itepri_sft.vhd
字号:
LIBRARY ieee;
USE ieee.std_logic_1164.all;
use ieee.std_logic_unsigned.all;
use ieee.std_logic_arith.all;
ENTITY itepri_sft IS
PORT
(
clk : in std_logic;
indata : in std_logic_vector(4 downto 0);
outdata : out std_logic_vector(4 downto 0)
);
END entity;
ARCHITECTURE rtl OF itepri_sft IS
signal shf0,shf1,shf2,shf3,shf4,shf5,shf6,shf7,shf8,shf9 : std_logic_vector(4 downto 0);
begin
process(clk)
begin
if clk'event and clk='1' then
shf0<=indata;
shf1<=shf0;
shf2<=shf1;
--shf3<=shf2;
--shf4<=shf3;
--shf5<=shf4;
--shf6<=shf5;
--shf7<=shf6;
--shf8<=shf7;
--shf9<=shf8;
--shf10<=shf9;
outdata<=shf2;
end if;
end process;
end rtl;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -