OpenCores
URL https://opencores.org/ocsvn/plasma/plasma/trunk

Subversion Repositories plasma

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 277 to Rev 278
    Reverse comparison

Rev 277 → Rev 278

/trunk/vhdl/ddr_ctrl.vhd
143,10 → 143,8
 
when STATE_IDLE =>
if refresh_cnt(7) = '1' then
if write_prev = '0' then
state_current := STATE_PRECHARGE;
command := COMMAND_AUTO_REFRESH;
end if;
state_current := STATE_PRECHARGE;
command := COMMAND_AUTO_REFRESH;
elsif active = '1' then
state_current := STATE_ROW_ACTIVATE;
command := COMMAND_ACTIVE;
225,13 → 223,16
write_active <= '0';
end if;
 
if state_current = STATE_ROW_ACTIVATE then
if command = COMMAND_ACTIVE then
bank_open(bank_index) <= '1';
address_row(bank_index) := address(25 downto 13);
end if;
if state_current = COMMAND_AUTO_REFRESH then
if command = COMMAND_PRECHARGE then
bank_open <= "0000";
end if;
if command = COMMAND_AUTO_REFRESH then
refresh_cnt <= ZERO(7 downto 0);
else
refresh_cnt <= refresh_cnt + 1;

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.