Forum Discussion
Altera_Forum
Honored Contributor
11 years agojust register them directly:
signal rd_r : std_logic_vector(1 downto 0);
signal serial_rx_r : std_logic_vector(1 downto 0);
process(clk)
begin
if rising_edge(clk) then
serial_rx_r <= serial_rx_r(0) & serial_rx;
rd_r <= rd_r(0) & rd;
end if;
end if;
Then use rd_r(1) instead of the origional input "rd" and the same for serial_rx