Developed and work well on EG4S20NG88 and its embedded sdram EM638325, clock frequency is 125MHz.
It is intelligently to decide the timing of active, read-write and precharge, and intelligently to refresh when the bus is idle or force refresh when the timeline is arrive.
Read or write datas fllow the rules below can decrease the gaps of read or write:
1. last data to this data is read-to-read or write-to-write (internal rules, can be ignored);
2. if row of last data is different to this data, bank of last data must be different to this data;
3. chip burst length and data burst length must large or equal 2;
In ideal situation and close the auto refresh function, the data rate can be 100%, same to I_clk, no gap(it will be lower in more genral situation).
Basic parameters:CLK_FREQADDRRANKADDRWIDTHDATAWIDTHBANKNUMROWNUMCOLNUMPHYADDRWIDTHPHYBANKWIDTHPHYDQMWIDTHCASLATENCYPOWERUP_DELAYMSBURSTLENGTHBURSTTYPE
Input buffer parameters:INWBUFFERDEPTHWDATABATCHLENGTHWMAXBATCHDELAYINRBUFFERDEPTHRDATABATCHLENGTHRMAXBATCHDELAY
Bank manage and refresh parameters:WPREACTIVEDEPTHRPREACTIVEDEPTHRWBUFFERDEPTHAUTO_REFRESHREFRESH_TIME_MSREFRESH_LINEREFRESH_SLICE