|
SDRAM CAS
Latency Time
Options : 2, 3
This controls the time delay (in clock cycles - CLKs) that passes before the SDRAM starts to carry out
a read command after receiving it. This also determines the number of CLKs
for the completion of the first part of a burst transfer. In other words, the lower the latency, the faster the
transaction.
Note that some SDRAM modules may not be able to handle the lower latency and
will become
unstable and lose data. Therefore, set the SDRAM CAS Latency Time to 2 for optimal performance if
possible but increase it to 3 if your system becomes unstable.
Interestingly, increasing the CAS latency time does have an
advantage in that it will enable the SDRAM to run at a higher
clockspeed, thereby giving you an edge in overclocking your system.
So, if you hit a snag while overclocking, try increasing the
CAS latency time.
SDRAM
Cycle Time Tras/Trc
Options : 5/6, 6/8
This feature toggles the minimum number of clock cycles required
for the Tras and the Trc of the SDRAM.
Tras refers to the SDRAM's Row Active Time, which
is the length of time in which the row is open for data transfers.
It is also known as Minimum RAS Pulse Width.
Trc, on the other hand, refers to the SDRAM's Row Cycle
Time, which determines the length of time for the entire
row-open, row-refresh cycle to complete.
The default setting is 6/8 which is more stable and slower
than 5/6. The 5/6 setting cycles the SDRAM faster but may
not leave the row open long enough for data transactions to
complete. This is especially true at SDRAM clockspeeds above 100MHz.
Therefore, you should try 5/6 for better SDRAM performance
and only increase it to 6/8 if your system becomes unstable
or if you are trying to get the SDRAM to run at a higher clockspeed.
SDRAM
RAS-to-CAS Delay
Options : 2, 3
This option allows you to insert a delay between the RAS (Row Address Strobe)
and CAS (Column Address Strobe) signals. This delay occurs when the SDRAM is written
to, read from or refreshed. Naturally, reducing the delay improves the performance of the
SDRAM while increasing it reduces performance.
Therefore, reduce the delay from the default value of 3 to 2
for better SDRAM performance. However, if you are facing system stability issues after
reducing the delay, reset the value back to 3.
SDRAM
RAS Precharge Time
Options : 2, 3
This option sets the number of cycles required for the RAS to accumulate its charge
before the SDRAM refreshes. Reducing the precharge time to 2 improves
SDRAM performance but if the precharge time of 2 is insufficient for the
installed SDRAM, the SDRAM may not be refreshed properly and it may fail to retain data.
So, for better SDRAM performance, set the SDRAM RAS Precharge Time to 2
but increase it to 3 if you face system stability issues after reducing
the precharge time.
SDRAM Cycle
Length
Options : 2, 3
This feature is similar to SDRAM CAS
Latency Time.
This controls the time delay (in clock cycles - CLKs) that passes before the SDRAM starts to carry out
a read command after receiving it. This also determines the number of CLKs
for the completion of the first part of a burst transfer. In other words, the lower the latency, the faster the
transaction.
Note that some SDRAM modules may not be able to handle the lower
cycle length and will become
unstable and lose data. Therefore, set the SDRAM Cycle Length to 2 for optimal performance if
possible but increase it to 3 if your system becomes unstable.
Interestingly, increasing the cycle length does have an advantage
in that it will enable the SDRAM to run at a higher clockspeed,
thereby giving you an edge in overclocking your system. So, if you
hit a snag while overclocking, try increasing the SDRAM Cycle
Length.
SDRAM
Leadoff Command
Options : 3, 4
This option allows you to adjust the leadoff time needed before the data stored in the
SDRAM can be accessed. In most cases, it is the access time for the first
data element in a burst. For optimal performance, set the value to 3
for faster SDRAM access times but increase it to 4
if you are facing system stability issues.
SDRAM
Bank Interleave
Options : 2-Bank, 4-Bank, Disabled
This feature enables you to set the interleave mode of the SDRAM
interface. Interleaving allows banks of SDRAM to alternate their refresh and
access cycles. One bank will undergo its refresh cycle while another is
being accessed. This improves performance of the SDRAM by masking the refresh time of each bank.
A closer examination of interleaving will reveal that since the refresh
cycles of all the SDRAM banks are staggered, this produces a kind of
pipelining effect.
If there are 4 banks in the system, the CPU can ideally send one
data request to each of the SDRAM banks in consecutive clock cycles.
This means in the first clock cycle, the CPU will send an address to
Bank 0 and then send the next address to Bank 1 in the second clock
cycle before sending the third and fourth addresses to Banks 2 and 3
in the third and fourth clock cycles respectively. The sequence
would be something like this :-
- CPU sends address #0 to Bank 0
- CPU sends address #1 to Bank 1 and receives data #0 from Bank
0
- CPU sends address #2 to Bank 2 and receives data #1 from Bank
1
- CPU sends address #3 to Bank 3 and receives data #2 from Bank
2
- CPU receives data #3 from Bank 3
As a result, the data from all four requests will arrive
consecutively from the SDRAM without any delay in between. But if
interleaving was not enabled, the same 4-address transaction would
be roughly like this :-
- SDRAM refreshes
- CPU sends address #0 to SDRAM
- CPU receives data #0 from SDRAM
- SDRAM refreshes
- CPU sends address #1 to SDRAM
- CPU receives data #1 from SDRAM
- SDRAM refreshes
- CPU sends address #2 to SDRAM
- CPU receives data #2 from SDRAM
- SDRAM refreshes
- CPU sends address #3 to SDRAM
- CPU receives data #3 from SDRAM
As you can see, with interleaving, the first bank starts transferring
data to the CPU in the same cycle that the second bank receives an address
from the CPU. Without interleaving, the CPU would send the address to the
SDRAM, receive the data requested and then wait for the SDRAM to refresh
before initiating the second data transaction. That wastes a lot of clock
cycles. That's why the SDRAM's bandwidth increases with interleaving
enabled.
However, bank interleaving only works if the addresses requested
consecutively are not in the same bank. If they are, then the data
transactions behave as if the banks were not interleaved. The CPU will
have to wait till the first data transaction clears and that SDRAM bank
refreshes before it can send another address to that bank.
Each SDRAM DIMM consists of either 2 banks or 4 banks. 2-bank SDRAM
DIMMs use 16Mbit SDRAM chips and are usually 32MB or less in size. 4-bank
SDRAM DIMMs, on the other hand, usually use 64Mbit SDRAM chips though the
SDRAM density may be up to 256Mbit per chip. All SDRAM DIMMs of at least
64MB in size or greater are 4-banked in nature.
If you are using a single 2-bank SDRAM DIMM, set this feature to
2-Bank. But if you are using two 2-bank SDRAM DIMMs, you can use the 4-Bank
option as
well. With 4-bank SDRAM DIMMs, you can use either interleave options.
Naturally, 4-bank interleave is better than 2-bank interleave so if
possible, set it to 4-Bank. Use 2-Bank only if you are using a single
2-bank SDRAM DIMM. Note, however, that Award (now part of Phoenix
Technologies) recommends that SDRAM bank interleaving be disabled if
16Mbit SDRAM DIMMs are used. This is because early 16Mbit SDRAM DIMMs used
to have stability problems with bank interleaving. All SDRAM modules can
now use bank interleaving without stability problems.
|