AMD AMD-K6-2/450 Design Guide - Page 81

Additional Considerations, Software Timing Dependencies Relative to Memory Controller Setup

Page 81 highlights

23913A/0-November 2000 Preliminary Information Embedded AMD-K6™ Processors BIOS Design Guide Additional Considerations Software Timing Dependencies Relative to Memory Controller Setup Processors in the K86 family differ from other processors with regards to instruction latencies and the order or priority of processor bus cycles. Timing-dependent software that relies on the specific latencies of other processors should be re-tested for proper operation with the K86 processor. In addition, re-testing should be performed on components with variable timing (such as memory modules, oscillators, and timers). Pa rticu lar attention sh oul d be paid to memory -setup subroutines that determine the type of DRAM in the system. Some chipsets may not tolerate a DRAM mode change (such as, EDO to SDRAM) on the same clock as a DRAM refresh cycle. For example some chipsets do not tolerate having its memory refresh enabled prior to changing memory mode types. Refresh should only be enabled after the memory type has been determined. Note: The BIOS for the K86 family of processors should enable the write allocate mechanisms only after performing any memory sizing or typing algorithms. Pipelining Support All production models and steppings of the AMD-K6 processor support the WAELIM form of write allocate, which is the only form of write allocate that should be enabled. AMD does not recommend enabling the obsolete form of write allocate (WCDE) because system performance can be degraded by doing so. Early implementations of the AMD-K6 processor did not support the WHCR register and therefore did not support the WAELIM form of write allocate. WCDE was the only form of write allocate supported, which required the chipset to assert KEN# for cacheable memory write cycles. Because KEN# is sampled by the processor on the clock edge on which the first BRDY# or NA# is sampled asserted, some chipsets that supported the WCDE form of write allocate did not assert NA# during write cycles in order to prevent the processor from Additional Considerations 69

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98

Additional Considerations
69
23913A/0—November 2000
Embedded AMD-K6™ Processors BIOS Design Guide
Preliminary Information
Additional Considerations
Software Timing Dependencies Relative to Memory Controller Setup
Processors in the K86 family differ from other processors with
regards to instruction latencies and the order or priority of
processor bus cycles. Timing-dependent software that relies on
the specific latencies of other processors should be re-tested for
proper operation with the K86 processor. In addition, re-testing
should be performed on components with variable timing (such
as memory modules, oscillators, and timers).
Particular attention should be paid to memory-setup
subroutines that determine the type of DRAM in the system.
Some chipsets may not tolerate a DRAM mode change (such as,
EDO to SDRAM) on the same clock as a DRAM refresh cycle.
For example some chipsets do not tolerate having its memory
refresh enabled prior to changing memory mode types. Refresh
should only be enabled after the memory type has been
determined.
Note:
The BIOS for the K86 family of processors should enable the
write allocate mechanisms only after performing any
memory sizing or typing algorithms.
Pipelining Support
All production models and steppings of the AMD-K6 processor
support the WAELIM form of write allocate, which is the only
form of write allocate that should be enabled. AMD does not
recommend enabling the obsolete form of write allocate
(WCDE) because system performance can be degraded by
doing so.
Early implementations of the AMD-K6 processor did not
support the WHCR register and therefore did not support the
WAELIM form of write allocate. WCDE was the only form of
write allocate supported, which required the chipset to assert
KEN# for cacheable memory write cycles. Because KEN# is
sampled by the processor on the clock edge on which the first
BRDY# or NA# is sampled asserted, some chipsets that
supported the WCDE form of write allocate did not assert NA#
during write cycles in order to prevent the processor from