Commit 83ba10c4 authored by Ille, Ondrej, Ing.'s avatar Ille, Ondrej, Ing.

Added non-reset of output register from memory word of inferred RAM.

Synthesis was adding AND gates on each line after BRAM. This is not
desirable, direct output from memory must be taken!
parent bc448cae
...@@ -151,8 +151,13 @@ begin ...@@ -151,8 +151,13 @@ begin
ram_read_process : process(res_n, clk_sys) ram_read_process : process(res_n, clk_sys)
begin begin
if (res_n = reset_polarity) then if (res_n = reset_polarity) then
data_out <= (OTHERS => '0');
-- pragma translate_off
if (simulation_reset) then
data_out <= (OTHERS => '0');
end if;
-- pragma translate_on
elsif (rising_edge(clk_sys)) then elsif (rising_edge(clk_sys)) then
data_out <= int_read_data; data_out <= int_read_data;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment