Forum Discussion
Altera_Forum
Honored Contributor
16 years agoI mean register the incoming valid signal and change the port map of the store like this
signal valid_r : std_logic;
begin
process(clk, reset)
begin
if reset = '1' then
valid_r <= '0';
elsif rising_edge(clk) then
valid_r <= valid;
end if;
end process;
store: ram4bits
port map (
address => address,
clock => clk,
data => input,
wren => valid_r,
q => hold
);