We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
to save more than the default numbers of words (BURST_LENGTH == 2) i did the following modification @ process "latch_sdram_data"
signal word_cnt_int : natural range 0 to BURST_LENGTH-1;
if first_word = '1' then q_reg(DATA_WIDTH-1 downto DATA_WIDTH-SDRAM_DATA_WIDTH) <= sdram_dq; word_cnt_int <= 1; --initwert elsif read_done = '1' then q_reg(SDRAM_DATA_WIDTH-1 downto 0) <= sdram_dq; valid <= '1'; elsif word_cnt_int > 0 then -- 2. Word.... q_reg(DATA_WIDTH-1 - word_cnt_intSDRAM_DATA_WIDTH downto DATA_WIDTH - word_cnt_intSDRAM_DATA_WIDTH -SDRAM_DATA_WIDTH) <= sdram_dq; word_cnt_int <= word_cnt_int+1; end if;
-- if first_word = '1' then -- q_reg(31 downto 16) <= sdram_dq; -- elsif read_done = '1' then -- q_reg(15 downto 0) <= sdram_dq; -- valid <= '1'; -- end if;
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
to save more than the default numbers of words (BURST_LENGTH == 2) i did the following modification @ process "latch_sdram_data"
signal word_cnt_int : natural range 0 to BURST_LENGTH-1;
if first_word = '1' then
q_reg(DATA_WIDTH-1 downto DATA_WIDTH-SDRAM_DATA_WIDTH) <= sdram_dq;
word_cnt_int <= 1; --initwert
elsif read_done = '1' then
q_reg(SDRAM_DATA_WIDTH-1 downto 0) <= sdram_dq;
valid <= '1';
elsif word_cnt_int > 0 then -- 2. Word....
q_reg(DATA_WIDTH-1 - word_cnt_intSDRAM_DATA_WIDTH downto DATA_WIDTH - word_cnt_intSDRAM_DATA_WIDTH -SDRAM_DATA_WIDTH) <= sdram_dq;
word_cnt_int <= word_cnt_int+1;
end if;
-- if first_word = '1' then
-- q_reg(31 downto 16) <= sdram_dq;
-- elsif read_done = '1' then
-- q_reg(15 downto 0) <= sdram_dq;
-- valid <= '1';
-- end if;
The text was updated successfully, but these errors were encountered: