初学者:关于VHDL,这句话是什么意思?signal REG: STD_LOGIC_VECTOR(3 downto 0);
begin
process (CLK)
begin
if (CLK'event and CLK='1') then
REG <= DIN & REG(3 downto 1); --这里是什么意思?
end if;
DOUT <= REG;
end process;
end ass_arch;
串入并出(类似ls164).原reg中的数据右移一位(最低位丢失),din取代reg中的最高位。