MEMORY INTERFACiNG
may reduce overall system performance less than adding a wait state. Reducing the clock frequency affects the time for both external bus activity and. internal computations. The relationship between clock frequency and system performance is approximately linear. Table
6.3.5 Refresh Cycles
All DRAMs require periodic refreshing of their data. For most DRAMs, periodic acti- vation of each of the row a~dress signals internally refreshes the data in every column of the row. Almost all DRAMs allow a
.and all of the data pins are in the high impedance state.
The
The frequency of refreshing and the number of rows to be refreshed depend on the type of DRAM. For most larger DRAMs (64KxN and larger), only the lower eight multi- plexed address bits
6.3.5.1 DISTRIBUTED REFRESH
In distributed refresh, the 256 refresh cycles are distributed equally within the
The Refresh Interval Counter PLD is programmed to request a single distributed refresh cycle at intervals slightly under 15.625 microseconds. The counter requests a new refresh cycle after a preset number of CLK cycles. This number is dependent on the CLK frequency and can be calculated as follows for a
20 MHz x 15.625 microseconds - | 5/256 = 312.48 |
i | = 312 CLK cycles |
The term 5/256 is subtracted to allow for the time it takestheDRAMPl PLD to respond to the request. Refresh requests are always given highest priority; however, if a DRAM access is already in progress, it must finish before the refresh cycle can start. The