的信號,我想在VHDL延遲的信號數個週期,但我一直在使用how to delay a signal for several cycles in vhdl延遲VHDL
難道我需要註冊的信號問題?我的意思是,是這樣的:
a_store and a_store_registered would be std_logic_vector(cycles_delayed-1 downto 0)
process(clk)
begin
if rising_edge(clk) then
a_store_registered <= a_store;
end if;
end process;
a_out <= a_store_registered(cycles_delayed-1);
process(a_store_registered, a)
begin
a_store <= a_store_registered(size-2 downto 0) & a;
end process;