Part Number Hot Search : 
ADP3110K ST7FL 00950 ST7FL C1206 0MR70Z0A P45AH FDP6644S
Product Description
Full Text Search
 

To Download 313072-002 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  intel? 6400/6402 advanced memory buffer datasheet october 2006 reference number: 313072-002
2 intel? 6400/6402 advanced memory buffer datasheet iinformation in this document is pr ovided in connection with intel? products. no license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted by this document. except as provided in intel's terms and condit ions of sale for such products, intel assumes no liability whatsoever, and intel disclaims any express or implied warranty, rela ting to sale and/or use of intel products including liability or warranties relating to fitness for a particul ar purpose, merchantability, or infringement of any patent, copyright or other intellectual property right. intel products are not intended for use in medical, life saving, life sustaining, critical cont rol or safety systems, or in nuclear facility applications. intel may make changes to specifications and product descriptions at any time, without notice. designers must not rely on the absence or characteristics of any features or instructions marked ?reserved? or ?undefined.? int el reserves these for future definition and shall have no responsib ility whatsoever for conflicts or incompatibilities arising fro m future changes to them. contact your local intel sales office or your distributor to obta in the latest specifications an d before placing your product o rder. copies of documents which have an order number and are referenced in this document, or other in tel literature may be obtained intel, intel interconnect bist and the intel logo are trademarks or registered trademarks of intel corporation or its subsidiar ies in the united states and other countries. *other names and brands may be cl aimed as the property of others. copyright ? 2003-2006, intel corporation. all rights reserved.
intel? 6400/6402 advanced memory buffer datasheet 3 contents 1introduction ............................................................................................................ 11 1.1 intel ? 6400/6402 advanced memory buffer overview ............................................ 11 1.1.1 transparent mode for dram test support.................................................. 12 1.1.2 debug and logic analyzer interface .......................................................... 12 1.1.3 ddr sdram .......................................................................................... 12 1.2 amb block diagram ........................................................................................... 12 1.3 interfaces ........................................................................................................ 13 1.3.1 fbd high-speed differential point-to-point link (at 1.5 v) interfaces ............................................................................................ 14 1.3.2 ddr2 channel ....................................................................................... 14 1.3.3 smbus slave interface ............................................................................ 14 1.4 references ....................................................................................................... 15 2 fbd channel interface ............................................................................................. 17 2.1 intel 6400/6402 advanced memory buffer (amb) support for fbd operating modes .. 17 2.2 channel initialization ......................................................................................... 17 2.3 channel protocol ............................................................................................... 17 2.3.1 general................................................................................................. 17 2.3.2 timeouts during ts0 .............................................................................. 17 2.3.3 recalibrate state considerations .............................................................. 18 2.3.4 address mapping of ddr commands to drams .......................................... 19 2.3.5 fbd l0s state........................................................................................ 19 2.4 reliability, availability, and serviceability ...... ........... ........... ............ ......... ............ 19 2.4.1 channel error detection and logging ........................................................ 19 2.5 channel configuration........................................................................................ 19 2.5.1 re-sync and resample modes .................................................................. 19 2.5.2 other channel configuration modes .......................................................... 20 2.5.3 lane to lane skew on a channel .............................................................. 20 2.6 repeater mode.................................................................................................. 21 2.7 channel latency ............................................................................................... 21 2.7.1 command to data delay calculation ......... ................................................ 21 3 ddr interface .......................................................................................................... 25 3.1 intel 6400/6402 advanced memory buffer (a mb) ddr interface overview ............... 25 3.2 data mapping ................................................................................................... 25 3.3 command / address outputs .............................................................................. 26 3.3.1 cke output control ................................................................................ 27 3.4 dqs i/o and dm outputs ................................................................................... 27 3.5 refresh ............................................................................................................ 28 3.5.1 self-refresh during channel reset ........................................................... 29 3.5.2 automatic refresh .................................................................................. 29 3.6 back to back turnaround time............................................................................ 30 3.7 s3 state background description......................................................................... 31 3.7.1 s3 recovery configuration registers......................................................... 32 3.8 ddr calibration ................................................................................................ 32 3.8.1 dram initialization and (e)mrs fsm ......................................................... 32 3.8.2 dqs failure csr .................................................................................... 33 3.8.3 automatic ddr bus calibration ................................................................ 34 3.8.4 receive enable calibration....................................................................... 34 3.8.5 dqs delay calibration............................................................................. 34 3.9 dimm organization ............................................................................................ 35 4 electrical, power, and thermal ................................................................................ 37 4.1 electrical dc parameters .................................................................................... 37
4 intel? 6400/6402 advanced memory buffer datasheet 4.1.1 absolute maximum ratings ......................................................................37 4.1.2 operating dc parameters ........................................................................37 4.1.3 amb power specifications ........................................................................38 4.2 fb-dimm electrical timing spec ifications...............................................................44 4.3 ddr2 dram interface electrical specifications .. .....................................................45 4.4 ddr2 electrical output timing specifications .... .....................................................46 4.4.1 description of dq/dqs alignment .............................................................46 4.4.2 description of add/cmd/cntl outputs......................................................46 4.4.3 test load specification ............................................................................46 4.4.4 tdva and tdvb parameter description .......................................................46 4.4.5 tjit and tjithp parameter description..........................................................46 4.4.6 tcva, tcvb, tecva and tecvb parameter description...................................47 4.4.7 tdqsck timing parameter description.......................................................47 4.4.8 dq and cb (ecc) setup/ho ld relationships to/from dqs (read operation) ....................................................................................48 4.4.9 write preamble duration..........................................................................49 4.4.10 write postamble duration ........................................................................49 4.4.11 advance memory buffer component electr ical timing summary ....................50 4.4.12 reference ddr2 interface package trace lengths .......................................51 4.5 smbus interface ...............................................................................................51 4.6 miscellaneous i/o (1.5 volt cmos driver) .............................................................51 4.7 thermal diode and analog to digital converter (adc).............................................51 4.7.1 thermal sensor effects on the amb?s functional behavior.................................................................................52 5 debug and logic analyzer mode ...............................................................................53 5.1 logic analyzer interface (lai) mode .....................................................................53 5.1.1 lai mode architecture .............................................................................54 5.1.2 lai mode clocking ..................................................................................55 5.1.3 lai mode pins ........................................................................................55 5.1.4 lai mode signal definitions ......................................................................56 5.1.5 lai to ddr pin mapping...........................................................................57 5.1.6 fbd to lai signal mapping .......................................................................58 5.1.7 lai to ddr pin timing .............................................................................59 5.1.8 lai features ..........................................................................................60 5.1.9 lai block diagram ..................................................................................67 5.2 normal mode debug features..............................................................................68 5.2.1 normal mode debug triggers ...................................................................68 5.2.2 error injection........................................................................................68 6errors ......................................................................................................................71 6.1 types of errors and responses ............................................................................71 6.1.1 fbd link errors ......................................................................................71 6.1.2 ddr errors ............................................................................................73 6.1.3 host protocol errors ................................................................................73 6.1.4 other errors...........................................................................................74 6.2 error logging ....................................................................................................74 6.2.1 error logging procedure ..........................................................................74 6.3 fail over mode support ......................................................................................75 6.4 failback to pass-thru .........................................................................................75 7smbus interface ......................................................................................................77 7.1 system management access ...............................................................................77 7.1.1 smbus 2.0 specification co mpatibility........ ............ ........... .......... ......... ......77 7.1.2 supported smbus commands ...................................................................77 7.1.3 fbd amb register access protocols ...........................................................78 7.1.4 smbus error handling..............................................................................81 7.1.5 smbus resets ........................................................................................81
intel? 6400/6402 advanced memory buffer datasheet 5 8clocking .................................................................................................................. 83 8.1 intel 6400/6402 advanced memory buffer (amb ) clock domains ............................. 83 8.2 pll clocks ........................................................................................................ 85 8.3 reference clock ................................................................................................ 85 8.4 fbd lane frame clocks...................................................................................... 86 8.5 clock ratios ..................................................................................................... 86 8.6 ddr dram clock support................................................................................... 86 8.7 smbus ............................................................................................................. 86 8.8 clock pins ........................................................................................................ 86 8.9 additional clock modes....................................................................................... 87 8.9.1 transparent mode clocking...................................................................... 87 8.10 pll requirements.............................................................................................. 87 8.10.1 jitter .................................................................................................... 87 8.10.2 pll bandwidth requirements ................................................................... 87 8.10.3 external reference ................................................................................. 87 8.10.4 spread spectrum support ....................................................................... 88 8.10.5 frequency of operation ........................................................................... 88 8.10.6 reset# ................................................................................................ 88 8.10.7 other pll characteristics......................................................................... 88 8.11 analog power supply pins................................................................................... 89 9reset ....................................................................................................................... 91 9.1 platform reset functionality ............................................................................... 91 9.1.1 platform reset# requirements ............................................................... 91 9.1.2 reset# requirements ............................................................................ 91 9.1.3 power-up and suspend-to-ram considerations .......................................... 92 9.2 reset types...................................................................................................... 92 9.3 pads controlling reset ..... ........... ............ ........... ............ ........... ........... ........ ...... 92 9.3.1 reset# pad .......................................................................................... 92 9.3.2 primary fbd link ................................................................................... 93 9.4 details ............................................................................................................. 93 9.4.1 cold power-up reset sequence ................................................................ 93 9.4.2 s3 restore power-up reset sequence ....................................................... 94 9.4.3 reset sequence for a fast reset .............................................................. 95 9.4.4 fast reset handshake............................................................................. 95 9.4.5 timing diagrams .................................................................................... 96 9.5 i/o initialization ................................................................................................ 97 9.5.1 fbd channel initialization........................................................................ 97 9.5.2 ddr ..................................................................................................... 97 10 transparent mode ................................................................................................... 99 10.1 transparent mode ............................................................................................. 99 10.1.1 block diagram ..................................................................................... 100 10.1.2 transparent mode signal definitions ....................................................... 100 10.1.3 transparent mode to fbd pin mapping .................................................... 101 10.2 transparent mode timing ................................................................................. 102 10.2.1 clock frequency and core timing ........................................................... 102 10.2.2 edge placement accuracy ...................................................................... 102 10.2.3 transparent mode timing ...................................................................... 102 10.2.4 error reporting .................................................................................... 106 10.2.5 transparent mode io specifications ........................................................ 107 10.2.6 io implementation guidelines ................................................................ 108 10.3 transparent mode control and status registers................................................... 109 11 ddr membist ....................................................................................................... 111 11.1 membist overview ......................................................................................... 111 11.2 membist feature summary ............................................................................. 112 11.3 membist operation......................................................................................... 113
6 intel? 6400/6402 advanced memory buffer datasheet 11.3.1 fundamental operations ........................................................................ 113 11.3.2 memory addressing .............................................................................. 114 11.3.3 memory data formatting ....................................................................... 123 11.3.4 algorithmic testing ............................................................................... 126 11.3.5 error reporting and control ................................................................... 128 11.3.6 dram throttling ................................................................................... 131 11.3.7 refresh control .................................................................................... 131 11.3.8 dram initialization................................................................................ 132 11.4 membist memory test examples ...................................................................... 132 11.4.1 write a fixed pattern to a range of dram addresses................................. 132 11.4.2 write random data to a range of dram addresses and check ................... 133 11.4.3 write leaping 0s to the full dram address range and check ..................... 134 11.4.4 write 144-bit user-defined pattern to a range of addresses and check ........ 136 11.4.5 test a range of dram addresses with march c- algorithm ........................ 137 11.5 membist implementation................................................................................. 138 11.5.1 membist block diagram ....................................................................... 138 11.5.2 mb flow control state machine ............................................................... 139 11.5.3 cs finite state machine ......................................................................... 141 12 ballout and package information ........................................................................... 143 12.1 ballout .......................................................................................................... 143 12.2 655-ball fbga 0.8mm pitch pin configuration...................................................... 143 12.3 pin assignments for the advanced memory buffer (amb)....................................... 144 12.4 package information ........................................................................................ 152 13 signal lists ............................................................................................................ 155 13.1 conventions.................................................................................................... 155 13.2 intel 6400/6402 advanced memory buffer (amb) pin description list...................... 156 14 registers ............................................................................................................... 159 14.1 access mechanisms.......................................................................................... 159 14.1.1 conflict resolution and usage model limita tions ....................................... 159 14.1.2 fbd data on configuration read returns ................................................. 159 14.1.3 non-existent register bits...................................................................... 159 14.1.4 register attribute definition ................................................................... 160 14.1.5 binary number notation ........................................................................ 161 14.1.6 function mapping ................................................................................. 161 14.2 pci standard header identification registers (function 0) ..................................... 169 14.2.1 vid: vendor identification register ......................................................... 169 14.2.2 did: device identification register.......... ................................................ 169 14.2.3 rid: revision identification register ....... ................................................ 169 14.2.4 ccr: class code register ...................................................................... 170 14.2.5 hdr: header type register.................................................................... 170 14.3 fbd link registers (function 1) ......................................................................... 170 14.3.1 fbd link control and status................................................................... 170 14.3.2 sm bus register ................................................................................... 180 14.3.3 error registers ..................................................................................... 181 14.3.4 personality bytes loaded from the spd.............................................. 183 14.3.5 hardware configuration registers ........................................................... 184 14.4 implementation specific fbd registers (function 2) ............................................. 185 14.5 ddr and miscellaneous registers (function 3) ..................................................... 186 14.5.1 memory registers ................................................................................. 186 14.5.2 memory bist registers ......................................................................... 191 14.5.3 thermal sensor registers ...................................................................... 201 14.6 implementation specific ddr initialization and calibration registers (function 4) ...................................................................... 203 14.6.1 ddr calibration .................................................................................... 203 14.6.2 memory interface control ...................................................................... 219
intel? 6400/6402 advanced memory buffer datasheet 7 14.6.3 firmware support registers................................................................... 221 14.7 dfx registers (function 5) ............................................................................... 222 14.7.1 transparent mode registers................................................................... 222 14.7.2 logic analyzer interface (lai) registers .................................................. 223 14.7.3 error injection registers........................................................................ 230 14.8 bring-up and debug registers (function 6)......... ................................................ 231 14.8.1 spad[1:0]: scratch pad ........................................................................ 231 14.8.2 southbound fbd intel ? interconnect bist registers................................. 231 14.8.3 northbound fbd intel ibist registers..................................................... 236 15 spd bits ................................................................................................................ 243 15.1 access mechanisms ......................................................................................... 243 15.1.1 raw cards a, b, and c .......................................................................... 243 15.1.2 raw cards d, e, h, and j....................................................................... 244 15.1.3 category byte 99 ................................................................................. 245 a glossary ................................................................................................................ 247 a.1 terms and definitions ...................................................................................... 247 figures 1-1 advanced memory buffer block diagram............................................................... 13 1-2 amb interfaces ................................................................................................. 14 2-1 delays through an amb ..................................................................................... 22 2-2 command to data delay timing ................... ....................................................... 23 3-1 nominal turnaround time timing diagram ........................................................... 31 4-1 latency timing diagrams ................................................................................... 44 4-2 tdva and tdvb timing diagram .......................................................................... 46 4-3 tjit and tjithp timing diagram ............................................................................. 47 4-4 tcva and tcvb timing diagram........................................................................... 47 4-5 tecva and tecvb timing diagram ....................................................................... 47 4-6 tdqsck timing diagram.................................................................................... 48 4-7 dq and cb (ecc) setup/hold relationship to/from dqs timing diagram .................. 48 4-8 write preamble duration timing diagram ............................................................. 49 4-9 write postamble duration timing diagram ........ .................................................... 49 5-1 amb lai mode usage diagram ............................................................................ 54 5-2 amb lai mode connectivity ................................................................................ 55 5-3 lai signal group timing..................................................................................... 60 5-4 lai match and mask logic .................................................................................. 61 5-5 local event mux block diagram ........................................................................... 62 5-6 evbus overview ................................................................................................ 64 5-7 event bus signal timing..................................................................................... 65 5-8 lai qualification signal block diagram .......... ....................................................... 66 5-9 block diagram of amb in lai mode ...................................................................... 67 7-1 smbus configuration read (block write / block read, pec enabled) ......................... 79 7-2 smbus configuration read (write bytes / read bytes, pec enabled) ........................ 80 7-3 smbus configuration double word write (block write, pec enabled) ........................ 80 7-4 smbus configuration double word write (write bytes, pec enabled)........................ 81 7-5 smbus configuration word write (block write, pec disabled) .................................. 81 7-6 smbus configuration byte write (write bytes, pec disabled)................................... 81 8-1 amb clock domains ........................................................................................... 84 8-2 fbd pll power supply filter ............................................................................... 89 9-1 cold power-up reset ......................................................................................... 96 9-2 amb fast reset sequence .................................................................................. 96 10-1 dram architecture ............................................................................................ 99
8 intel? 6400/6402 advanced memory buffer datasheet 10-2 block diagram for the amb in transparent mode .................................................. 100 10-1 transparent mode timing ................................................................................. 103 10-2 transparent mode write timing ......................................................................... 104 10-3 transparent mode read timing.......................................................................... 105 10-4 bl=8 read timing ........................................................................................... 105 11-1 range and full address spaces.......................................................................... 117 11-2 fast y address sequencing ............................................................................... 119 11-3 fast x address sequencing ............................................................................... 120 11-4 fast xy address sequencing examples ............................................................... 121 11-5 membist circular shift and lfsr data block di agram .......................................... 124 11-6 membist block diagram .................................................................................. 138 11-7 mbfsm diagram .............................................................................................. 139 11-8 cs state machine ............................................................................................ 141 12-1 pinout configuration......................................................................................... 143 12-2 bottom view ................................................................................................... 152 12-3 top view ........................................................................................................ 153 12-4 package stackup ............................................................................................. 154 tables 3-1 dqs association with dq/cb pins in x8 and x4 mode ..............................................27 4-1 absolute maximum ratings over operating free-air temperature range (see note 1) .....................................................................................................37 4-2 amb operating dc electrical parameters .......... .....................................................37 4-3 power values for x8 dimms ................................................................................38 4-4 power values for x4 dimms .................................................................................41 4-5 amb fb-dimm timing/electrical ...................... .....................................................44 4-6 amb fb-dimm latency .......................................................................................44 4-7 recommended operating conditions for dram in terface .........................................45 4-8 advance memory buffer component ddr2 electr ical timing specifications.................50 4-9 advance memory buffer ddr2 package lengths.....................................................51 4-10 recommended operating conditions for smbus interface .......................................51 4-11 recommended operating conditions for reset and bfunc pins...............................51 5-1 ddr pins shared with lai functionality ......... .......................................................56 5-2 list of pins required to enable debug with lai functionality ...................................56 5-3 lai mode added signals .....................................................................................56 5-4 list of shared ddr/lai pins ................................................................................57 5-5 typical fbd southbound command frame ............................................................59 5-6 lai local events ................................................................................................62 5-7 lai event selection ............................................................................................63 6-1 link errors in initialization ......................... .........................................................71 6-2 link errors in normal operation .................... .......................................................72 6-3 ddr errors .......................................................................................................73 6-4 host protocol errors ...........................................................................................73 6-5 other errors......................................................................................................74 7-1 smbus command encoding .................................................................................78 7-2 smbus protocol addressing fields .................. ......................................................78 7-3 status field encoding for smbus reads.................................................................79 8-1 pll clocks ........................................................................................................85 8-2 amb clock ratios ...............................................................................................86 8-3 clock pins .........................................................................................................86 10-1 additional signals in transparent mode............................................................... 101
intel? 6400/6402 advanced memory buffer datasheet 9 10-2 mapping of fbd pins in transparent mode........................................................... 101 10-3 mapping of burst position bits to error capture.................................................... 106 10-4 selection of 8 bit data paths when endout is set............................................... 107 10-5 transparent mode fb-dimm interface signaling specifications ............................... 107 11-1 membist feature summary ............................................................................. 112 11-2 memory address definition, bl=4...................................................................... 114 11-3 memory address definition, bl=8...................................................................... 115 11-4 membist addressing behavior .......................................................................... 116 11-5 dynamic address inversion, xzy address se quencing and range addressing .......... 122 11-6 example of circular data shifting ...................................................................... 125 11-7 example of lfsr random data ......................................................................... 126 11-8 address log to bank, row and column bit correspondence................................... 129 11-9 failure data bit location accumulator to mbdata bit correspondence .................... 129 11-10 failure to logging register correspondence ........................................................ 130 11-11 refresh programming ...................................................................................... 132 12-1 655-ball fbga 0.8 mm pitch - left side.............................................................. 144 12-2 655-ball fbga 0.8 mm pitch - right side............................................................ 145 12-3 advanced memory buffer signals by ball number ................................................ 145 13-1 signal naming conventions .............................................................................. 155 13-2 buffer signal types ......................................................................................... 156 13-3 pin description................................................................................................ 156 13-4 pin count ....................................................................................................... 158 14-1 access to ?non-existent? register bits................................................................ 159 14-2 register attributes definitions ...................... ..................................................... 160 14-3 function mapping legend ................................................................................. 161 14-4 function 0: pci standard header identification registers...................................... 162 14-5 function 1: fbd link registers.......................................................................... 163 14-6 function 2: implementation specific fbd regist ers .............................................. 164 14-7 function 3: ddr and miscellaneous registers ..................................................... 165 14-8 function 4: implementation specific ddr in itialization and calibration registers ..... 166 14-9 function 5: dfx registers ................................................................................ 167 14-10 function 6: bring-up and debug registers ........ .................................................. 168 14-11 mbdata failure address register corresponde nce to dram address ...................... 195 14-12 bl4 column and chunk correspondence to dram address ....... ............ ........... ...... 195 14-13 bl8 column and chunk correspondence to dram address ....... ............ ........... ...... 196 14-14 functional characteristics of dcaladdr ............................................................. 205 14-15 functional characteristics of dcaldata for calibration algorithms ......................... 206 14-16 functional characteristics of dcaldata for hvm algorithms ................................. 208 14-17 bit locations for sb match and mask .................................................................. 224 15-1 raw cards a, b, and c ..................................................................................... 243 15-2 raw cards d, e, h, and j.................................................................................. 244 15-3 category bytej ............................................................................................... 245
10 intel? 6400/6402 advanced memory buffer datasheet revision history revision description date 001 updated release may 2006 002 updated chapter 15 spd bits tables october 2006
intel? 6400/6402 advanced memory buffer datasheet 11 introduction 1 introduction this document is a core specification for a fully buffered dimm (fb dimm, also fbd) memory system. this document, along with the other core specifications, must be treated as a whole. information critical to an intel ? 6400/6402 advanced memory buffer (amb) design appears in the other spec ifications, with specific cross-references provided. 1.1 intel ? 6400/6402 advanced memory buffer overview the intel 6400/6402 advanced memory buffer (amb) complies with the fb-dimm architecture and protocol specification . this device supports ddr2 sdram memory components. the amb allows buffering of memory traffic to support large memory capacities. all memory control for the dram devices resides in the host, including memory request initiation, timing, refresh, scrubbing, sparing, configuration access, and power management. the amb interface is responsible for handling fbd channel and memory requests to and from the local dimm and for forwarding requests to other dimms on the fbd channel. fully buffered dimm (fbd) provides a high memory bandwidth, large capacity channel solution that has a narrow host interface. fully buffered dimms use commodity drams isolated from the channel behind a buffer on the dimm. the memory capacity is 288 devices per channel and total memory capacity scales with dram bit density. the amb will perform the following fbd channel functions: ? supports channel initialization procedures as defined in the initialization chapter of the fb-dimm architecture and protocol specification to align the clocks and the frame boundaries, verify channel connectivity, and identify amb dimm position. ? supports the forwarding of southbound and northbound frames, servicing requests directed to a specific amb or dimm, as de fined in the protocol chapter, and merging the return data into the northbound frames. ? if the amb resides on the last dimm in th e channel, the amb initializes northbound frames. ? detects errors on the channel and reports them to the host memory controller. ? support the fbd configuration register set as defined in the register chapters. ? acts as dram memory buffer for all read, write, and configuration accesses addressed to the dimm. ? provides a read buffer fifo and a write buffer fifo. ? supports an smbus protocol interface for access to the amb configuration registers. ? provides logic to support membist and ibist design for test (dfx) functions. ? provides a register interface for the thermal sensor and status indicator. ? functions as a repeater to extend the maximum length of fbd links.
introduction 12 intel? 6400/6402 advanced memory buffer datasheet 1.1.1 transparent mode for dram test support in this mode, the amb will provide lower speed tester access to dram pins through the fbd i/o pins. this allows the tester to send an arbitrary test pattern to the drams. transparent mode only supports a maximum dram frequency equivalent to ddr2 400. transparent mode functionality: ? reconfigures fbd inputs from differential high speed link receivers to two single ended lower speed receivers (~200 mhz) ? these inputs directly control ddr2 co mmand/address and input data that is replicated to all drams ? uses low speed direct drive fbd output s to bypass high speed parallel/serial circuitry and provide test results back to tester 1.1.2 debug and logic analyzer interface when optional lai functionality is suppor ted, the amb can be used to support the connection of fbd links to a logic analyzer (la) for debug. amb debug functionality: ? reconfigures ddr2 interface to act as a logic analyzer interface (lai) to observe activity on fbd high speed links ? triggers on programmable events in normal operation 1.1.3 ddr sdram ddr2 sdram support: ? supports ddr2 at speeds of 533, 667 mt/s ? supports 256, 512, 1024, 2048 and 4096 mb devices in x4 and x8 configurations ? 288 devices/channel (8 dimms/channel, 1 and 2 ranks/dimm) ? 72-bit ddr2 sdram unregistered, unbuffered memory interface 1.2 amb block diagram figure 1-1 is a conceptual block diagram of the amb?s data flow and clock domains.
intel? 6400/6402 advanced memory buffer datasheet 13 introduction 1.3 interfaces figure 1-2 illustrates the amb and all of its inte rfaces. they consist of two fbd links, one ddr2 channel, and an smbus interface. each fbd link connects the amb to a host memory controller or an adjacent fbd. the ddr2 channel supports direct connection to the ddr2 sdrams on a fully buffered dimm. figure 1-1. advanced memory buffer block diagram pll ref clock southbound data in 1x2 10x2 dram clock 4 10x2 southbound data out dram data / strobe 72 + 18x2 northbound data out northbound data in dram clock # 4 dram address / command copy 1 29 north south data crc gen & read fifo 36 deep write data fifo data out cmd out sync & idle pattern generator command decoder & crc check external membist ddr calibration & ddr iobist/dfx data in smbus controller smbus thermal sensor mux ibist - rx link init sm and control and csrs mux 14x2 mux failover 14*6*2 ibist - rx lai logic nb lai buffer mux dram address / command copy 2 29 ddr state controller and csrs lai controller 14x2 ddr io?s failover dram cmd core control and csrs reset s init patterns data merge re-synch re-time piso demux 10*12 10*12 data merge re-synch re-time piso demux link init sm and control and csrs 14*12 2/03/04 advance memory buffer block diagram ibist - tx ibist - tx reset control reset#
introduction 14 intel? 6400/6402 advanced memory buffer datasheet 1.3.1 fbd high-speed differential point-to-point link (at 1.5 v) interfaces the amb supports one fbd channel interfac e consisting of two bidirectional link interfaces using high-speed differential point-to-point electrical signaling. the southbound input link is 10 lanes wide and carries commands and write data from the host memory controller or the first ad jacent dimm in the host direction. the southbound output link forwards this same data to the next adjacent fbd. the northbound input link is 13 to 14 lanes wi de and carries read return data or status information from the next fb dimm in the chain back towards the host. the northbound output link forwards this information back towards the host and multiplexes in any read return data or status information that is generated internally. 1.3.2 ddr2 channel the ddr2 channel on the amb supports dire ct connection to ddr2 sdrams. the ddr2 channel supports two ranks of eight banks with 16 row/column request, 64 data signals, and eight check-bit signals. there are two copies of address and command signals to support dimm routing and electrical requirements. four-transfer bursts are driven on the data and check-bit lines at 800 mhz. propagation delays between read data/check-bit strobe lanes on a given channel can differ. each strobe can be calibrated by hardware state machines using write/read trial and error. hardware aligns the read data and check-bits to a single core clock. the amb provides four copies of the command clock phase references (clk[3:0]) and write data/check-bit strobes (dqss) for each dram nibble. 1.3.3 smbus slave interface the amb supports an smbus interface to allow system access to configuration registers independent of the fbd link. the amb will ne ver be a master on the smbus, only a slave. serial smbus data transfer is supported at 100 khz. figure 1-2. amb interfaces amb memory interface smb ddr2 channel primary or host direction nb fbd in link nb fbd out link sb fbd out link sb fbd in link secondary or to optional next fbd
intel? 6400/6402 advanced memory buffer datasheet 15 introduction smbus access to the amb may be a requirement to boot a system. this provides a mechanism to set link strength, frequency and other parameters needed to insure robust operation given platform specific configurations. it is also required for diagnostic support when the link is down. the smbus address straps located on the dimm connector are used by the amb to get its unique id. more information is available in th e smbus chapter of this document. additionally, more detailed informat ion about the smbu s, refer to the system management bus (smbus) specification [http://smbus.org/] . 1.4 references this product and datasheet are consistent with the following documents: ? fb dimm architecture and protocol specification , [1] ? fbd design for test, design for validation (dfx) specification , [2] ? fb4300/5300/6400 ddr2 fully buffered dimm design specification , [3] ? jedec ddr2 sdram specification , jc 42.3 [4] ? high speed differential point-to-point link at 1.5 v for fully buffered dimm , [5] ? smbus specification (http://smbus.org/specs/smbus20.pdf) [6] ? advanced configuration and power interface specification version 2.0c (www.acpi.info) [7] ? moisture/reflow sensitivity classification for nonhermetic solid state surface mount devices, ipc/jedec j-std-020c
introduction 16 intel? 6400/6402 advanced memory buffer datasheet
intel? 6400/6402 advanced memory buffer datasheet 17 fbd channel interface 2 fbd channel interface 2.1 intel 6400/6402 advanced memory buffer (amb) support for fbd operating modes the amb may not support all operating modes documented in the fb-dimm architecture and protocol specification [1]. the following list defines which features/ modes are supported: ? 14 lane northbound (nb) with and without single lane fail over ? 13 lane nb with and without single lane fail over ? 10 lane southbound (sb) with and without single lane fail over ? repeater mode ? lai mode (optional feature supported in the intel amb) ? transparent mode ? recalibrate state the following are optional fbd features not supported in the amb: ? 12 lane nb non-ecc ? l0s low power state ? data mask ? variable read latency 2.2 channel initialization refer to chapter 3, ?channel initialization? in the fb dimm architecture and protocol specification [1] for fbd initialization protocol . the reset chapter covers some additional details about the initialization process. 2.3 channel protocol 2.3.1 general refer to chapter 4, ?channel protocol? in the fb dimm architecture and protocol specification [1] for fbd protocol. 2.3.2 timeouts during ts0 the fbdlockto register is used to help the amb determine when to give up waiting for individual lanes to bit lock. the nblinkcfg field is used to communicate when lanes are intentionally not in use. the bltocnt field is used to set a time out on waiting for a lane to bit lock. lanes not bit locked by this time will be marked as failed.
fbd channel interface 18 intel? 6400/6402 advanced memory buffer datasheet 2.3.3 recalibrate state considerations in addition to what the fbd architecture and protocol specification describes around recalibrate state, the amb further requires that the host be sending nop commands in at least the 2 frames preceding the exit from recalibrate state. requirement: 2 cycles before the recalibrate counter expires, nops must be sent from the host. recal frame counter:54 3 2 1 0 rx data:xxxnopnopvalid cmd where x represents ?don?t care? data time frame description recal frame counter n sync with erc bit set 0 n+1 nop frame recaldur n+2 nop frame recaldur - 1 ... nop frame .... n+8 nop frame recaldur - 7 n+9 nop frame - host may begin recalibration recaldur - 8 ... ..... .... n + recaldur - 7 nop frame - host must be finished with recalibration 8 ... ..... .... n + recaldur - 3 nop frame 4 n + recaldur - 2 nop frame 3 n + recaldur - 1 nop frame - must be received at amb without corruption 2 n + recaldur nop frame - must be received at amb without corruption 1 0 valid sync frame 0
intel? 6400/6402 advanced memory buffer datasheet 19 fbd channel interface 2.3.4 address mapping of ddr commands to drams 2.3.5 fbd l0s state the l0s state is not supported in the amb. 2.4 reliability, availability, and serviceability refer to chapter 5, ?reliability, availability and serviceability? in the fb dimm architecture and protocol specification [1] for fbd ras requirements. 2.4.1 channel error detection and logging see for details on the error handling. 2.5 channel configuration 2.5.1 re-sync and resample modes a separate control is available for both the nb and sb fbd links to select between lower latency re-sample and lower jitter re-sync mo des for repeating received data. selection between these two modes is a function of pl atform design and configuration and should be set by bios prior to link initialization the fbdsbcfgnxt.sbresyncen and fbdnbcfgnxt.nbresyncen bits make this selection. descriptions of these two modes follows. 2.5.1.1 accumulated tracking effects (re-sample option) each amb acts as a repeater for the fbd channel. since the data driven from each dimm to the next dimm may experience random or periodic phase shifts, the effect of these phase shifts must be accommodated in the design. consider a system with three dimms daisy-chained together. a phase shift ge nerated in the first dimm will be seen by the second dimm but will not be immediatel y propagated to the third dimm. unlike an analog buffer, the phase shift is not automatically driven to subsequent dimms since ddr2 x4 co n fig 20191817161514131211109876543210 256mb (64mbx4) row 1 x x rs x x b1 b0 a12 a11 a10 a9 a8 a7 a6 a5 a4 a3 a2 a1 a0 1kb page col 0 1 r/w rs x x b1 b0 x a11 ap a9 a8 a7 a6 a5 a4 a3 a2 a1 a0 512mb (128mbx4) row 1 x x rs a13 x b1 b0 a12 a11 a10 a9 a8 a7 a6 a5 a4 a3 a2 a1 a0 1kb page col 0 1 r/w rs x x b1 b0 x a11 ap a9 a8 a7 a6 a5 a4 a3 a2 a1 a0 1gb (256mbx4) row 1 x x rs a13 b2 b1 b0 a12 a11 a10 a9 a8 a7 a6 a5 a4 a3 a2 a1 a0 1kb page col 0 1 r/w rs x b2b1b0 xa11apa9a8a7a6a5a4a3a2a1a0 2gb (512mbx4) row 1 x a14 rs a13 b2 b1 b0 a12 a11 a10 a9 a8 a7 a6 a5 a4 a3 a2 a1 a0 1kb page col 0 1 r/w rs x b2b1b0 xa11apa9a8a7a6a5a4a3a2a1a0 ddr2 x8 co n fig 20191817161514131211109876543210 256mb (32mbx8) row 1 x x rs x x b1 b0 a12 a11 a10 a9 a8 a7 a6 a5 a4 a3 a2 a1 a0 1kb page col 0 1 r/w rs x x b1 b0 x x ap a9 a8 a7 a6 a5 a4 a3 a2 a1 a0 512mb (64mbx8) row 1 x x rs a13 x b1 b0 a12 a11 a10 a9 a8 a7 a6 a5 a4 a3 a2 a1 a0 1kb page col 0 1 r/w rs x x b1 b0 x x ap a9 a8 a7 a6 a5 a4 a3 a2 a1 a0 1gb (128mbx8) row 1 x x rs a13 b2 b1 b0 a12 a11 a10 a9 a8 a7 a6 a5 a4 a3 a2 a1 a0 1kb page col 0 1 r/w rs x b2b1b0 x x apa9a8a7a6a5a4a3a2a1a0 2gb (256mbx8) row 1 x a14 rs a13 b2 b1 b0 a12 a11 a10 a9 a8 a7 a6 a5 a4 a3 a2 a1 a0
fbd channel interface 20 intel? 6400/6402 advanced memory buffer datasheet the data driven to the subsequent dimms is re-sampled in the amb to reduce jitter. the lowest latency implementation would use the derived clock to retransmit the outbound signal. the second dimm will see the phase shift as a slight change in the position of the data eye at its receiver. the clock trac king loop filter in the second dimm will measure several bit cells and may eventually determine that it should adjust the phase of its derived clock to capture the data closer to the center of the new data eye location. only when the second dimm makes its phase change will the effect propagate to the third dimm. more detail of the data sampling technique may be found in the ?high speed differential point-to-point li nk at 1.5v for fully buffered dimm specification?. 2.5.1.2 accumulated tracking effects (re-sync option) an alternative implementation would place a voltage/thermal (vt) drift compensation buffer between the receiver and the transmit ter section of the amb i/o cell. the drift compensation buffer would re-synchronize the signal with a multiple of the reference clock. this buffer would have to be deep en ough to handle the absolute magnitude of delay change of the daisy-chain channel over voltage and temperature. more detail of the data sampling technique may be found in the ?high speed differential point-to- point link at 1.5v for fully buffered dimm specification?. 2.5.2 other channel configuration modes other channel electrical configuration parameters that should be set up prior to link initialization include ? link frequency ( linkparnxt. cfreq ) ? sb transmitter drive current ( fbdsbcfgnxt. sbtxdrvcur ) ? sb transmitter de-emphasis values ( fbdsbcfgnxt. sbtxpreemp) ? nb transmitter drive current ( fbdnbcfgnxt. nbtxdrvcur ) ? nb transmitter de-emphasis values ( fbdnbcfgnxt. nbtxpreemp) the parameters contained in these registers are described more completely in the ?high speed differential point-to-point li nk at 1.5v for fully buffered dimm specification?. additional channel configuration register s that should be set up prior to link initialization include ? first 6 bytes of the spd parameter registers ? spdpar01nxt,spdpar23nxt,spdpar45nxt ? fbd bit lock time out register ( fbdlockto) 2.5.3 lane to lane skew on a channel the fbd channel is expected to support a maximum skew of up to 46ui. the deskew buffers on an individual amb need to be ab le to support this amount of accumulated skew. the actual skew observed will be a function of the skew introduced by platform layout, dimm layout, the number of active ambs in the channel and skew introduced by ambs.
intel? 6400/6402 advanced memory buffer datasheet 21 fbd channel interface 2.6 repeater mode the amb may also be used as an fbd link re peater to extend distances at which links can operate. this mode can be automatically set by the bfunc and sa pins. in this mode, the amb functions in the same way as a regular dimm with the exception that dram commands are not supported. link behavior is the same as for normal dimms ? participates in link initialization like a normal dimm ? responds to reads and writes to amb configuration registers ? status is returned in response to sync commands ? link errors are detected and alerts generated smbus access is the same except for the base slave address is different than from normal dimm. slave address[6:3] = 4?b0011 for repeaters, instead of slave address[6:3] == 4?b1011 for normal dimms 2.7 channel latency the critical elements that amb contributes to the latency calculation are the chip crossing delays. ? southbound latency contributions ? delay from an input fbd link transaction to commands on the ddr interface and ? pass-thru delay of forwarded southbound fbd transactions. ? northbound latency contributions ? delay from ddr read data input on the last dimm to fbd link transactions and ? pass-thru delay of forwarded northbound fbd transactions back towards the host. these timing delay values are documented in chapter 4, ?electrical, power, and thermal.? 2.7.1 command to data delay calculation shows the various components that make up the over all delay through an amb for a memory command.
fbd channel interface 22 intel? 6400/6402 advanced memory buffer datasheet the definition for terms used in the are given below. ui this is the unit interval on th e fbd link. this is same as the period of the fbd link bit-rate clock. nb: northbound sb: southbound t read_latency : dram parameter. t cas + t additive_latency t amb_cmd_delay this value is very specific to an amb implementation. this is the time it takes for the command to be transferred from the fbd receiver to the ddr i/o cluster. this includes any differences between the fbd frame clock and the ddr i/o clock that latches the command into the ddr i/o cluster. this can be different for different dram frequencies. t amb_data_delay this value is very specific to an amb implementation. this is the minimum time it takes for the data that is returned from the drams to be transferred from the ddr i/o cluster to the fbd i/ o for transmission on the link. this includes any buffering and clocking delays for the data within the chip. this can be different for different dram frequencies. t dimm_cmd_delay this includes the delays for the command through the ddr i/o cluster, differences between ddr i/o cmd clock and dram clock, any routing delays for the clock and command on the figure 2-1. delays through an amb q q set clr d sb frame clock q q set clr d ddr io cmd clock ddr command t amb_cmd_delay drams dram clock q q set clr d buffer/fifo data dqs q q set clr d dram data nb frame clock t amb_data_delay t dimm_cmd_delay q q set clr d t dimm_data_delay t read_latency q q set clr d
intel? 6400/6402 advanced memory buffer datasheet 23 fbd channel interface dimm and any set-up and hold -times in the amb and the drams. t dimm_data_delay this includes the routing delays for the data and strobes from the dram to the amb, skews between the drams, delays through the ddr i/o cluster and any set-up and hold-times in the amb and drams. t cmd_to_data this is equal to (t read_latency + t amb_cmd_delay + t dimm_cmd_delay + t dimm_data_delay + t amb_data_delay ) . t h i s c a n be specified with 1ui granularity. this will be different for each dram type. it does not include any delays inside the i/o to deskew and frame align the incoming data on the sb side nor does it include the delays inside the nb i/o on the transmit side. the t cas and t additive_latency are specified in the drc register (drc.cl and drc.al). the cmd2datanxt register is initialized with a value equal to (t cmd_to_data - t read_latency ). this value of cmd2datanxt is specified in the spd eeprom. all ambs are expected to receive the data from the drams with the calculated value of t cmd_to_data . all ambs power up with a default value of 5 for t cmd_to_data . this can be done either by setting the default values of drc.cl and drc. al or by setting the default value of the cmd2datacur.frms to be 5. the ambs must be able to return status and configuration register reads with this defa ult timing. this will enable the bios to initialize the proper values from spd. the following simplified timing diagram illustrates how the last amb uses the values specified in drc.cl, drc.al, cmd2datanxt.dlyfrms and cmd2datanxt.dlyfrac. in figure 2-2 , it is assumed that there are no routing delays on the dimm itself. the command takes 10ui to get from sb fbd to the ddr i/o (t amb_cmd_delay ). this includes time it takes to validate crc of the frame and to decode the command. it is assumed ddr_io_cmd_clk shown in is dela yed from the sb_frame _clk by 10 ui. the figure 2-2. command to data delay timing
fbd channel interface 24 intel? 6400/6402 advanced memory buffer datasheet dram sclk is placed at the center of th e command window which adds an additional 6ui of delay. the drams are programmed with a t read_latency of 4. the dqs strobes are centered when they get to the amb (3ui delay) and the data takes an additional 10 ui to propagate from the ddr i/o to the nb fbd i/o (including setup time at nb fbd and crc generation) before it can be clocked into the nb fbd for transmission. the total delay without including the dram access time in this case is (10 + 6 + 3 + 10ui) 29ui. the cmd2datanxt.dlyfrms will be programmed with a value 2 and the cmd2datanxt.dlyfrac with 5ui. if the amb su pports only a 2ui granularity, then the values should be 2 frames and 6ui respecti vely. if an amb does not support sub-frame delays, it is expected that the value in spd will be round up the to the nearest frame. any additional delays caused by rounding up should be supported by additional buffering in the ddr i/o. the above figure shows the last arriving data from the ddr. it is expected that any data arriving earlier than this, due to differences in routing, and so forth, is buffered up in some way inside the ddr i/o. the expectation is that all ambs (last and intermediate) unload the data from the ddr i/o with the timing specified by the t cmd_to_data . the last amb is expected to be able send data on the nb links with no additional delay added, if c2dincrcur.incrd ly is 0. any additional delay needed due to the value programmed in c2dincrcur.incrd ly register in the last amb or to delay the data in intermediate amb before the me rge, is handled by fifos in the amb core. in the above figure, it is assumed that the amb can place the clocks in position shown above. if this is not the case, then additional delays due to non-optimal placement of the clocks should be taken into account to calculate the total delay to be programmed into the spd.
intel? 6400/6402 advanced memory buffer datasheet 25 ddr interface 3 ddr interface 3.1 intel 6400/6402 advanced memory buffer (amb) ddr interface overview the ddr interface on the amb consists of: ? a command decoder. ? a fifo write buffer to hold the write data before it is written to the ddr channel. the write fifo buffer has 36 entries of 72 bits (36 x 72b). a maximum of 35 entries can be used to store ddr bursts. write data targeted for other amb parts on the channel will use three of the 35 entries until the target amb is known. the write fifo buffer fills at half of the dd r data rate, and empties at the ddr data rate. the write fifo buffer must support an invalidate write fifo command (fbd soft reset command). ? a fifo read buffer to hold the read data so that each dimm returns data with the same latency as the southernmost dimm in the chain. latency is measured in increments of core clock periods. the core clock runs at the ddr command clock rate (half the data rate frequency). the la tency through the fifo read buffer on the southernmost dimm is expected to be zero. ? a ddr cluster which serves as a dimm buffer by registering outbound commands and data at output flops. the cluster al so captures and levelizes incoming read data. ? a reset fsm which puts the dimm in self-refresh when reset is asserted, and exits self-refresh when reset is deasserted and southbound frame training is complete. ? a calibration fsm that automatically sets the timing for dqs receiver enable and dqs delay or equivalent ddr timing cont rol mechanism. the dqs receiver enable calibration uses a series of dram read and write operations to find the center of the read dqs preamble. during normal operation the dqs receivers will be enabled at the preamble center to ensure that the dqs signal is received correctly into the amb component?s ddr i/o circuits. the dqs delay calibration uses a series of reads and writes to align the read dqs waveform rising and falling edges to the center of the dq data eye. ? a configuration register set to allow software to issue dram power up and dram mrs/emrs commands, as well as a self-refresh entry command. these registers are accessible through fbd channel commands and the smbus interface. ? ?burst write interrupt? is not supported. 3.2 data mapping see the protocol chapter of the fb dimm architecture and protocol specification for the mapping between data in ddr dram devices and data in fbd frame formats for 4-bit and 8-bit devices.
ddr interface 26 intel? 6400/6402 advanced memory buffer datasheet 3.3 command / address outputs two sets of dram command and address output pins are provided for loading and timing considerations. each set drives the same dram commands, but the two address busses are inverted from each other in order to reduce power consumption and heat produced on the dimm. the command and address output pin behavior is detailed below: 1. minimum address toggling. the address a ssociated with the last command issued on the dram bus is retained during dram nop/deselect commands. the address and bank bits do not revert to all 1?s (or all 0?s) when the command bus is idle. 2. balanced bank and address busses. with some exceptions, the bank and address busses on the two bus copies are inverted from each other. this minimizes the current load on the v tt supply regulator because the balanced address bus sinks as much current as it sources. there are exceptions to the inversion behavior to allow for commands that use one or more address bits to control dram functionality. balancing can also be disabled by setting the drc.baldis register field. balancing exceptions: a. address bit a10 is not balanced during all read, write, and precharge commands. b. no address or bank bits are balanced during any mrs and emrs commands. c. column address a0 is not balanced when the drc.seqadd bit is set. as with a10, a0 is only not balanced during re ad, write, and precharge commands. this mode is intended to work with drams in sequential address mode. d. no address or bank bits are balanced during any command when the drc.baldis register field is set. 3. balanced idle command bu s. when the command bus is idle, a deselect command is issued with all chip selects high and all ras/cas/we signals driven low on both command/address copies. 4. command/address output control with ck e. all command and address pin outputs, except for odt, cke, and clk, will float one dram clock cycle after both cke pins transition from high to low. the command/a ddress pins will be driven to valid signal levels on the same cycle that either cke pin is driven from low to high. 5. output control during link reset. when th e amb core logic is in reset, cke and odt will be driven low, and clk will run at no rmal levels and frequency. the remaining command/address pins will float during reset. 6. command/address output control in s3 mo de. when the amb core logic is in s3 power mode, all command/address outputs, including cke, odt, clk, and all other command/address pins, will be driven low. 7. csr output control of command/addre ss. all command/addr ess pin outputs will float when the appropriate drc bits are se t. setting the drc.cadis field will float the ras, cas, we, bank, and address pins. drc.csdis controls the chip select pins. drc.odtdis, drc.ckedis, and drc.clkdis float the odt, cke, and clock pins respectively.
intel? 6400/6402 advanced memory buffer datasheet 27 ddr interface 3.3.1 cke output control the are six different functions that affect the state of the cke outputs during normal operation: 1. drc.ckefrclow csr. when set, this bit forces both cke outputs low. no other cke control function overrides this csr. th is allows firmware to prevent hardware from issuing all dram commands. this could be used by firmware to keep the dram bus idle throughout a fast reset sequence that occurs before the dram initialization command sequence has been initiated. 2. self-refresh fsm. when entering a fast reset sequence, a hardware fsm takes control of the ddr command bus, including the cke outputs, in order to issue a series of commands to put the dram?s into self-refresh. this fsm is overridden by the drc.ckefrclow csr. 3. automatic self-refresh exit with link training. when a t0 link training sequence is complete, both cke outputs will be automatically asserted high in order to exit self- refresh. this control is inhibited by setting the dsreftc.dissrexit bit. the drc.ckefrclow also overrides this automatic self-refresh exit function. 4. self-refresh entry dcalcsr command. the dcalcsr register can be programmed to launch an fsm that issues a single self-refresh entry command. the drc.ckefrclow bit overrides this function. 5. channel commands. the host can directly control the cke output state through channel command protocol. the drc.ckefrclow bit overrides this function. 6. drc cke0 and cke1 csr bits. these cke bits in the drc are both control and status bits for the cke outputs. software can write these bits to directly control the cke outputs. these bits reflect the state of the cke outputs one cycle after the output state is changed by one of the other control functions. the drc.ckefrclow bit overrides this function. channel commands that change the state of the same cke output must be separated by at least two dram clock cycles. config uration writes and channel commands that affect the same cke output must not occur within two cycles of each other to avoid unstable cke behavior. 3.4 dqs i/o and dm outputs the amb sends and receives source synchronous differential strobes (dqs) to transfer data (dq/cb) during write and read dram transactions. dqs9 through dqs17 also support the data mask (dm) function in x8 mode. setting the mtr.width configuration register enables x8 mode. when driving dm, th e timing of the transition from floating, to driving, and back to floating is unchang ed, but dqs[17:9] do not toggle and instead drive a constant level. dqsp[17:9] drive low and dqsn[17:9] drive high. in x8 mode dqs[17:9] are not used to capture read data. the table below lists which dqs signals are associated with which dq/cb pins in x8 and x4 mode. table 3-1. dqs association with dq/cb pins in x8 and x4 mode dqs pin x4 mode: mtr.width=0 x8 mode: mtr.width=1 output function input/output data mapping output function input/output data mapping dqs17 write dqs cb[7:4] dm n/a dqs8 write dqs cb[3:0] write dqs cb[7:0] dqs16 write dqs dq[63:60] dm n/a
ddr interface 28 intel? 6400/6402 advanced memory buffer datasheet 3.5 refresh the amb is required to manage dram refr esh during channel resets and when the auto-refresh function is enabled. during channel resets, the self-refresh fsm takes control of the ddr command bus and places the drams in self-refresh mode. the auto-refresh fsm generates auto-refresh commands when the dareftc.arefen bit is set. the self-refresh fsm will override and take control away from the auto-refresh fsm when a reset event occurs. a self-refresh entry command can also be generated by programming the dcalcsr register. the fsm that controls this function will be described in the dram initialization and (e)mrs command section. dqs7 write dqs dq[59:56] write dqs dq[63:56] dqs15 write dqs dq[55:52] dm n/a dqs6 write dqs dq[51:48] write dqs dq[55:48] dqs14 write dqs dq[47:44] dm n/a dqs5 write dqs dq[43:40] write dqs dq[47:40] dqs13 write dqs dq[39:36] dm n/a dqs4 write dqs dq[35:32] write dqs dq[39:32] dqs12 write dqs dq[31:28] dm n/a dqs3 write dqs dq[27:24] write dqs dq[31:24] dqs11 write dqs dq[23:20] dm n/a dqs2 write dqs dq[19:16] write dqs dq[23:16] dqs10 write dqs dq[15:12] dm n/a dqs1 write dqs dq[11:8] write dqs dq[15:8] dqs9 write dqs dq[7:4] dm n/a dqs0 write dqs dq[3:0] write dqs dq[7:0] table 3-1. dqs association with dq/cb pins in x8 and x4 mode dqs pin x4 mode: mtr.width=0 x8 mode: mtr.width=1 output function input/output data mapping output function input/output data mapping
intel? 6400/6402 advanced memory buffer datasheet 29 ddr interface 3.5.1 self-refresh du ring channel reset the self-refresh fsm is launched by a sync trai n error on the link, or when an electrical idle condition is detected on the link. the self-refresh fsm will take the dram?s from an unknown state and put them into self-refresh mode. the amb does not track the dram state during normal operation, and so has a single process for getting from any dram state starting point to the self-refresh state. when launched, the self-refresh fsm will exec ute the following steps. each step below is one of the states of the fsm. setti ng the drc.ckefrclow bit will prevent the command sequence described below from be ing issued on the ddr bus since it will force the cke outputs low. 1. clear the dareftc.arefen csr to stop the amb auto-refresh engine if enabled. 2. block all dram commands, except those initiated by the self-refresh fsm. 3. wait until any in-process read or write commands complete, with a minimum wait time of dsreftc.tcke, the dram ?minimum cke pulse width time? specification. in-process reads/writes must complete to ensure that the dram odt control outputs are driven low. the minimum time allows for the case where self-refresh entry or power-down entry was executed just before the channel reset. 4. assert both cke output pins by setting the drc.cke0/1 csr fields. this will have no effect on the dram?s if the cke pins were already asserted. 5. wait dsreftc.txsnr, the dram?s ?exi t self-refresh to a non-read command? specification, to allow any in-process dram command to complete. this allows time to complete any command that may have been issued just before the channel reset event, such as an auto-refresh, as well as allows for self-refresh exit that may have been initiated when the self-refresh fsm asserted the cke pins high. 6. issue a ?precharge all? command to both ranks. this guarantees that the dram?s will be in an ?idle? state. 7. wait as required by dsreftc.trp, the dram ?precharge time.? 8. issue an auto-refresh command to both ranks. this meets the dram requirement that at least one auto-refresh command is issued between any self-refresh exit to self-refresh entry transition. the amb staggers the auto-refresh commands to the two ranks by the dsretc.drartim value in order to avoid stressing the system power supply with too many dram?s refreshing at the same time. 9. wait as required by dareftc.trfc, the dram ?refresh to active/refresh command time.? 10. issue a self-refresh entry command to both ranks. the amb staggers the self- refresh entry commands to the two ranks by the dsretc.drsrent value to avoid stressing the system power supply. when the channel comes out of ?fast reset? (exiting the fbd link disable state), the amb will automatically issue a self-refresh exit command to both ranks after the fbd link testing state is reached and the amb core clock is stable. note that this does not apply when the dissrexit bit is set as it should be when the amb is powering up or when exiting s3 mode. the drc.ckefrclow csr also overrides the automatic exit command by forcing the cke outputs to stay low. 3.5.2 automatic refresh the amb has an auto-refresh fsm for issuing auto-refresh commands to the dram?s on regular intervals. this can be enabled wh en the dram bus is otherwise idle, but not during any other mode that generates dram commands, including dram power up and
ddr interface 30 intel? 6400/6402 advanced memory buffer datasheet initialization, ddr i/o calibration, and normal operation where the fbd channel issues dram commands. the dareftc csr controls the refresh interval and period, and includes an enable bit to turn auto-refresh command generation on and off. the auto- refresh fsm may be integrated or separate from the membist functions in hardware, but the auto-refresh function runs indepe ndently of the membist state. multiple membist tests can be started and comple ted with the auto-refresh fsm running during, in between, and afte r all membist tests complete. the auto-refresh fsm generates auto-refre sh command requests to an arbiter in hardware at regularly spaced intervals defi ned by the dareftc.trefi csr. for a single rank dimm the command spacing is equal to trefi cycles. for dual rank dimms the command spacing is trefi/2, alternating between the two ranks so that each rank receives an auto-refresh command every tref i cycles on average. hardware abitrates between the self-refresh fsm command requests and commands generated by the membist function. when membist is not running, the auto-refresh command is immediately issued on the ddr bus. when membist is running, an auto-refresh request is posted until the membist fsm can interrupt its command sequence, precharge all open banks on all ranks, and all dram timing requirements are met so that an auto-refresh command can be accepted. the membist fsm resumes its command sequence trfc later. the membist fsm must interrupt its operation within trefi/2 in order to avoid causing an auto -refresh command to be dropped by the arbiter. 3.6 back to back turnaround time the host controller is required to observe a turnaround time on the dram data pins within a dimm when switching between read and write cycles, and when switching from reads from one rank vs. the other rank on the dimm. the nominal turnaround time is one clock for each parameter, which is the minimum time required to prevent a collision of the postamble of the first transaction and preamble of the second transaction. additional clocks may be required by the dimm, especially at higher speeds. the three timing parameters are: ? read to write turnaround time. the number of additional dram clocks in which the dram data bus must be idle between a read from either rank and a write cycle to either rank. ? write to read turnaround time. the number of additional dram clocks in which the dram data bus must be idle between a write to one rank and a read from either rank. the write to read turnaround time to the same rank will generally dominated by the twtr specification, wh ich must also be observed. ? read to read turnaround time. the number of additional dram clocks in which the dram data bus must be idle between a re ad from one rank and a read from the opposite rank. these parameters are dependent on the am b design and the dimm pc board layout. the parameters are stored in the spd. each parameter is a 2 bit field allowing 0 to 3 additional clocks of turnaround time. see the fb4300/5300/6400 ddr2 fully buffered dimm design specification for additional details. figure 3-1 shows the nominal turnaround times, with no additional clocks. note that the dqs preamble and postamble may merge s lightly when the first transaction is at worst case timings and the second transaction is at best case timings.
intel? 6400/6402 advanced memory buffer datasheet 31 ddr interface 3.7 s3 state background description s3 is a platform power down state where dram memory contents are preserved while the rest of the platform powers down. this state is described more formally in the advanced configuration and power interface specification . it is much like the standby mode on mobile computers. functionally, the requirement for an amb is that after a sequence in which: ? ambs3 recovery state is stored by the host, ? drams are put into self-refresh, ? reset# is asserted, ? vcc (1.5 v), vtt (0.9 v) and vd dspd(3.3 v) are powered down, the contents of memory on the dimm ar e preserved until s3 recovery. recovery requires that the memory on the dimm be restored without losing data integrity. the recovery sequence is much the same as an initial power on with the exceptions of: ? vdd is already powered on ? ddr interface state is restored from stored register values (since no calibration which might compromise memory content is allowed) to minimize dimm current, vcc should be powered up during vtt transitions. the amb determines that it is in the s3 mode by ch ecking that vdd (1.8 v) is powered up and that vcc (1.5 v) is powered off. when in s3 the amb drives all command/address outputs (including cke, odt, and clk) to a low. this keeps the dram in auto-refresh and helps prevent dram data corruption. wh en coming out of the s3 mode, if the system brings vtt (0.9 v) up before vcc the amb will drive low into the vtt pull-up circuitry. this causes significant current (approximately two times average but still normal) to flow from vtt into the amb until vcc is powered up and the amb comes out of s3. figure 3-1. nominal turnaround time timing diagram dqs dq preamble a preamble b data a-0 data a-2 data a-3 data a-1 data b-0 data b-1 data b-2 data b-3 clock dqs dq preamble r (read) preamble w (write) data r-0 data r-2 data r-3 data r-1 data w-0 data w-1 data w-2 data w-3 clock postamble a postamble r dqs dq preamble r (read) preamble w (write) data r-0 data r-2 data r-3 data r-1 data w-0 data w-1 data w-2 data w-3 clock postamble r postamble w read to read turnaround (nominal) read to write turnaround (nominal) write to read turnaround (nominal)
ddr interface 32 intel? 6400/6402 advanced memory buffer datasheet 3.7.1 s3 recovery conf iguration registers the following csrs should be stored in non- volatile memory before entering s3 mode and restored before normal dram transactions begin. ?drc ?mtr ?dsreftc ?dareftc ?ddr2odtc ?cmd2datanxt ? s3restore[15:0] ? persbyte[13:0] - spd personality bytes 3.8 ddr calibration the following sections describe these ddr calibration and initialization features: ? dram initialization and (e)mrs command csr?s and fsm ? dqs failure csr ? dqs receive enable calibration ? dqs calibration 3.8.1 dram initialization and (e)mrs fsm the amb provides a set of csr?s and an fs m that allow bios to manage dram power up initialization and set dram mode register bits. all commands needed for dram initialization can be generated, including prec harge, refresh, mode register set (mrs), and extended mode register set emrs comm ands. a self-refresh command can also be generated, although this is not required fo r initialization. the initialization/(e)mrs fsm only controls the issuing of single command s, and does not automatically initialize the dram. it is the responsibility of software to control the command sequence to correctly initialize the dram. the set of csr?s include the dcalcsr and dc aladdr registers. the fields of these csr?s are described in detail in th e configuration register chapter. the dcalcsr is used to select the command to be issued, which ranks to select, start the fsm that issues the command, and provide completion status. the dcaladdr sets the bank and address issued to the dram, and therefore defines the type of (e)mrs to be issued, includ ing limited ocd commands. the dcaladdr can also be used to configure a precharge command as a ?precharge all? command. dcaladdr[31:16] defines the ddr addr ess bus during these commands, and dcaladdr[2:0] defines th e ddr bank address bus. the fsm that controls this function can have as few as three states: idle, issue command, and clear start bit. when the dcalcsr.start bit is set, and the dcalcsr.opcode bits select one of the co mmand options, the fsm transitions from idle to the ?issue command? state. after the command is issued, the fsm clears the dcalcsr.start bit and returns to the idle state. a more elaborate fsm may also be implemented. firmware is required to co ntrol the minimum command spacing to meet all dram timing requirements. after setting the start bit, firmware should poll the
intel? 6400/6402 advanced memory buffer datasheet 33 ddr interface dcalcsr until the start bit is cleared. after the start bit is cleared, firmware waits a period of time based on dram command ti ming specifications before issuing a new command through the dcalcsr. 3.8.1.1 ocd emrs commands fb dimm dram timing is set up to work with ocd default calibration. using the dcalcsr and dcaladdr registers, emrs oc d default and ocd exit commands can be sent to the drams. sending ocd emrs drive(0), drive(1), or adjust dram commands may have implementation dependent outcomes and should not be used in normal operation. 3.8.1.2 mrs command example the following example shows how to send out an mrs command: 1. write a value of 0x02320000 to the dcalad dr csr. this will configure the address/ bank bus for an mrs command with burst length 4, cas latency 3, and write recovery 2. 2. write a value of 0x80000003 to the dcalcsr. this selects the (e)mrs command mode and initiates the fsm that will issue the command. 3. poll the dcalcsr until bit 31 is cleared to zero by hardware. this indicates that the fsm has completed the selected operation. 3.8.2 dqs failure csr the dqsfail csr allows the amb to calibrate properly even when one or more dqs signals are missing, either through pcb or component failure. dqsfail is a 36 bit register, one bit for each dqs pair of each rank. software can set this csr to force any dqs signal to be excluded from the automatic ddr bus calibration. hardware will also detect missing dqs signals and automatically exclude them from calibration.
ddr interface 34 intel? 6400/6402 advanced memory buffer datasheet 3.8.3 automatic ddr bus calibration the amb has two automatic ddr bus calibration functions that must be executed before read data can be captured reliably. these functions issue a series of write and read transactions on the dram bus, analyz e the read data captured, and program a set of calibration results configuration regist ers. during subsequent operations, these configuration registers control the ddr i/o circuits and ensure proper data capture. dimm memory contents are not preserved during calibration. calibration can take up to several ms to complete. the following steps run the calibration: 1. program the dcalcsr to 0x8000000c. this selects and initiates the first of two calibrations. 2. poll the dcalcsr until bit 31 is cleared to zero by hardware. 3. program the dcalcsr to 0x80000005. this selects/initiates the second calibration. 4. poll the dcalcsr until bit 31 is cleared to zero by hardware. 3.8.4 receive enable calibration the dqs input receiver needs to be disabled when the ddr bus is floating (tri-stated), for example, between the read and write data transfers. otherwise, the floating strobe would cause spurious data to be written into the read data fifo. also, the dqs input receiver needs to be disabled during a write so that the write data strobes do not cause unwanted data or check-bits to be written into the read data fifo. during a read, the dram?s initially drive the dqs signals low for a full cycle. this is the preamble. after the preamble, the dqs signals are toggled twice per cycle, for every cycle there is a data transfer, which is dete rmined by the configured burst length and the number of back-to-back read commands that were issued to the selected rank. after the last dqs falling edge, the dqs signal is driven low for a half cycle. this is the post-amble. after the post-amble the dqs signals are tri-stated. the amb automatically finds the end of the preamble of each of the 18 dqs pairs on the ddr bus. that is, it finds the location of the first waveform transition that defines the end of the preamble of each dqs pair. once this is complete, the amb calculates the location of the center of the preambles, and stores this information for use during read transactions. receiver calibration is initiated by setting the dcalcsr.start csr. hardware clears this bit when the calibra tion is complete. the calibration method modifies the data contents of the dimm. 3.8.5 dqs delay calibration the dqs delay calibration adjusts the amb component?s on-chip delay circuits that align dqs signals to the center of their asso ciated dq/cb data eyes at the capture flops in the ddr i/o cluster. this maximizes the dq/cb setup and hold time at these flops, which capture source synchronous data from the ddr data bus. dqs delay calibration is initiated by setting the dcalcsr.start cs r. hardware clears this bit when the calibration is complete. the calibration method modifies the data contents of the dimm. the calibration is accomplished by issuing a series of write and read transactions, and comparin g expected to captured data
intel? 6400/6402 advanced memory buffer datasheet 35 ddr interface 3.9 dimm organization the amb supports dimms with 1 or 2 independent ranks (chip-selects). each rank consists of ddr sdram devices or ddr sdram devices. dual rank dimms consist of ddr sdram devices or ddr sdram devices. the amb ddr i/o circuits provide three main functions: an outbound command and data path, an inbound data path, and analog compensation. analog compensation is provided, along with configuration registers, to control and match the output impedance and slew rate of the off-chip drivers and on on-die termination. the main configuration register s are the leg override (for impedance) and slew override fields of the spdpar67cur and spdpar1011cur csr?s. the analog compensation circuits match driver characteri stics to a ratio of an externally provided resistance. the csr?s control the ratio. the outbound data path is relatively simple compared to the inbound. on the outbound command, the i/o circuits provide a minimum latency, registered path to transfer commands from the core to the ddr command bus as quickly as possible, but with tight timing control. for the dq, dqs, and dram clock outputs, the i/o provides registered paths to transfer these signals to the ddr bus with the proper phase relationship to the command. the phase of the dram clocks (along with the dqs and dq phase) relative to the command can be controlled by the ddr1xphsel and ca2xphsel fields of the spdpar45cur and spdpar67cur csr?s. the inbound data path includes calibrated re ceiver enable circuits, calibrated dqs delay lines, and an eight entry deep levelization fifo . calibration is controlled by the core at power up and can take several ms to execute. calibration involves a series of read and write operations to the dram. receiver enable is calibrated on a per byte basis. dqs delay is calibrated at a coarse level on a word basis, with a fine calibration adjustment for each nibble. the fine adjustment can be dynamic so that a different calibration value can be sent from the core for each nibble depending on which rank is being accessed. the core provides a read pointer to access the contents of the fifo. the io i/o circuits manage the fifo write pointer automatically, with timing based on both the receiver enable and dqs delay calibrations.
ddr interface 36 intel? 6400/6402 advanced memory buffer datasheet
intel? 6400/6402 advanced memory buffer datasheet 37 electrical, power, and thermal 4 electrical, power, and thermal this chapter contains a description of the intel 6400/6402 advanced memory buffer (amb)?s electrical dc parameters, timing parameters, power considerations, and thermal considerations. 4.1 electrical dc parameters 4.1.1 absolute maximum ratings ta b l e 4 - 1 contains absolute maximum ratings over operating free-air temperature range (see note 1). notes: 1. stresses beyond those listed under ?absolute maximum rati ngs? may cause permanent damage to the device. these are stress ratings only, and functional operation of the device at these or any other conditions beyond those indicated under ?recommended operating conditions? is no t implied. exposure to absolute-maximum -rated conditions for extended periods may affect device reliability. 2. the input and output negative-voltage ratings may be exce eded if the input and output clamp-current ratings are observed.this value is limited to 2.3 v maximum. 4.1.2 operating dc parameters ta b l e 4 - 2 contains the electrical dc parameters for the amb part for normal operation. note: there will also be a v tt termination supply at v ddr /2 available on the dimm but does not connect to the amb. table 4-1. absolute maximum ratings over operating free-air temperature range (see note 1) symbol parameter min max unit v dd supply voltage dram interface ?0.5 +2.3 v v in (ddr2), v out (ddr2) voltage on any ddr2 interface pin relative to vss (see notes 2 and 3) ?0.5 +2.3 v i ink (v in < 0 or v in > v dd ) input clamp current + 30 ma i outk (v out < 0 or v out > v dd ) output clamp current + 30 ma i out (v out = 0 to v dd ) continuous output current + 30 ma n/a continuous current through each v dd or gnd + 100 ma v cc supply voltage for co re and high speed interface ?0.3 +1.75 v t stg storage temperature range ?55 +100 c table 4-2. amb operating dc electrical parameters parameter amb mode units min typ max v cc link / core volts 1.455 1.5 1.575 v dd volts 1.7 1.8 1.9 v ddspd volts 3.0 3.3 3.6
electrical, power, and thermal 38 intel? 6400/6402 advanced memory buffer datasheet 4.1.3 amb power specifications ta b l e 4 - 3 contains the amb power specifications related to parameters stored in the spd for the amb . table 4-3. power values for x8 dimms (sheet 1 of 3) 533 mhz 667 mhz symbol conditions power supply thermal design max current thermal design max current units notes idd_idle_0 idle current, single or last dimm l0 state, idle (0 bw) primary channel enabled, secondary channel disabled cke high. command and address lines stable. dram clock active. @1.5 v 2.1 2.2 2.4 2.6 a @1.8 v 0.6 0.7 0.6 0.7 a @3.3 v a idd_idle_0 total power 3.5 4.0 w idd_idle_1 idle current, first dimm l0 state, idle (0 bw) primary and secondary channels enabled cke high. command and address lines stable. dram clock active. @1.5 v 2.7 3.0 3.1 3.4 a @1.8 v 0.6 0.7 0.6 0.7 a @3.3 v a idd_idle_1 total power 4.6 5.1 w idd_tdp_0 (for amb spec, not in spd) active power, tdp bw, single or last dimm l0 state tdp channel bw = 2.0gb/s@533; 2.4gb/ s@667; dimm bw = 2.0gb/ s@533; 2.4gb/s@667; 67% read, 33% write. primary channel enabled secondary channel disabled cke high. command and address @1.5 v 2.4 2.6 2.8 3.0 a @1.8 v 1.1 1.3 1.2 1.3 a @3.3 v a idd_tdp_0 total power 5.2 5.8 w idd_tdp_1 (for amb spec, not in spd) active power, tdp bw, first dimm l0 state tdp channel bw = 2.0gb/s@533; 2.4gb/ s@667; dim m bw =2/3 c ha nnel bw = 1.3gb/s@533; 1.6gb/s@667; 67% read, 33% write. primary channel enabled secondary channel enabled cke high. command and ad @1.5 v 3.0 3.3 3.5 3.8 a @1.8 v 0.9 1.0 0.9 1.0 a @3.3 v a
intel? 6400/6402 advanced memory buffer datasheet 39 electrical, power, and thermal idd_tdp_1 total power 5.8 6.4 w idd_active_1 active power l0 state. 50% dram bw, 67% read, 33% write. primary and secondary channels enabled. dram clock active, cke high. @1.5 v 3.1 3.4 3.6 3.9 a @1.8 v 1.2 1.3 1.2 1.3 a @3.3 v a idd_active_1 total power 6.4 7.1 w idd_active_2 active power, data pass through l0 state. 50% dram bw to downstream dimm, 67% read, 33% write. primary and secondary channels enabled cke high. command and address lines stable. dram clock active. @1.5 v 2.9 3.2 3.3 3.7 a @1.8 v 0.6 0.7 0.6 0.7 a @3.3 v a idd_active_2 total power 5.0 5.6 w idd_training (for amb spec, not in spd) tra i ni n g primary and secondary channels enabled. 100% toggle on all channel lanes drams idle. 0 bw. cke high, command and address lines stable. dram clock active. @1.5 v 3.5 4.0 a @1.8 v 0.7 0.7 a @3.3 v a idd_training total power w idd_ibist (for amb spec, not in spd) ibist over all ibist modes dram idle (0 bw) primary channel enabled secondary channel enabled cke high. command and address lines stable dram clock active @1.5 v 3.8 4.5 a @1.8 v 0.7 0.7 a @3.3 v a idd_ibist total power w table 4-3. power values for x8 dimms (sheet 2 of 3) 533 mhz 667 mhz symbol conditions power supply thermal design max current thermal design max current units notes
electrical, power, and thermal 40 intel? 6400/6402 advanced memory buffer datasheet idd_membist (for amb spec, not in spd) membist over all membist modes >50% dram bw (as dictated by the amb) primary channel enabled secondary channel enabled cke high. command and address lines stable dram clock active @1.5 v 3.3 3.8 a @1.8 v 2.1 2.1 a @3.3 v a idd_membist total power w idd_ei (for amb spec, not in spd) electrical idle dram idle (0 bw) primary channel disabled secondary channel disabled cke low. command and address lines floated dram clock active, odt and cke driven low @1.5 v 2.0 2.5 a @1.8 v 0.2 0.2 a @3.3 v a idd_ei total power w idd_s3 s3 current vdd = 1.9v vcc = 0v vtt = 0v across process variations across the operating tcase temp range dimm types, r/c a, b, c, d, e, h & j vdd (1.8v) 75 75 ma table 4-3. power values for x8 dimms (sheet 3 of 3) 533 mhz 667 mhz symbol conditions power supply thermal design max current thermal design max current units notes
intel? 6400/6402 advanced memory buffer datasheet 41 electrical, power, and thermal ta b l e 4 - 4 contains the amb power specification parameters for the advanced memory buffer part in normal mode. table 4-4. power values for x4 dimms (sheet 1 of 3) 533 mhz 667 mhz symbol conditions power supply thermal design max current thermal design max current units idd_idle_0 idle current, single or last dimm l0 state, idle (0 bw) primary channel enabled, secondary channel disabled cke high. command and address lines stable. dram clock active. @1.5 v 2.1 2.2 2.4 2.6 a @1.8 v 0.9 0.9 0.9 0.9 a @3.3 v a idd_idle_0 total power 3.9 4.4 w idd_idle_1 idle current, first dimm l0 state, idle (0 bw) primary and secondary channels enabled cke high. command and address lines stable. dram clock active. @1.5 v 2.7 3.0 3.1 3.4 a @1.8 v 0.9 0.9 0.9 0.9 a @3.3 v a idd_idle_1 total power 4.9 5.5 w idd_tdp_0 (for amb spec, not in spd) active power, tdp bw, single or last dimm l0 state tdp channel bw = 2.0gb/ s@533; 2.4gb/s@667; dimm bw = 2.0gb/s@533; 2.4gb/s@667; 67% read, 33% write. primary channel enabled secondary channel disabled cke high. command and address @1.5 v 2.4 2.6 2.8 3.0 a @1.8 v 1.5 1.6 1.5 1.6 a @3.3 v a idd_tdp_0 total power 5.9 6.5 w idd_tdp_1 (for amb spec, not in spd) active power, tdp bw, first dimm l0 state tdp channel bw = 2.0gb/ s@533; 2.4gb/s@667; dimm bw =2/3 channel bw = 1.3gb/s@533; 1.6gb/s@667; 67% read, 33% write. primary channel enabled secondary channel enabled cke high. command and ad @1.5 v 3.0 3.3 3.5 3.8 a @1.8 v 1.3 1.4 1.3 1.4 a @3.3 v a idd_tdp_1 total power 6.3 6.9 w idd_active_ 1 active power l0 state. 50% dram bw, 67% read, 33% write. primary and secondary channels enabled. dram clock active, cke high. @1.5 v 3.1 3.4 3.6 3.9 a @1.8 v 1.6 1.7 1.6 1.7 a @3.3 v a idd_active_1 total power 6.9 7.6 w
electrical, power, and thermal 42 intel? 6400/6402 advanced memory buffer datasheet idd_active_ 2 active power, data pass through l0 state. 50% dram bw to downstream dimm, 67% read, 33% write. primary and secondary channels enabled cke high. command and address lines stable. dram clock active. @1.5 v 2.9 3.2 3.3 3.7 a @1.8 v 0.9 0.9 0.9 0.9 a @3.3 v a idd_active_2 total power 5.5 6.1 w idd_training (for amb spec, not in spd) tra i ni n g primary and secondary channels enabled. 100% toggle on all channel lanes drams idle. 0 bw. cke high, command and address lines stable. dram clock active. @1.5 v 3.5 4.0 a @1.8 v 0.9 0.9 a @3.3 v a idd_training total power w idd_ibist (for amb spec, not in spd) ibist over all ibist modes dram idle (0 bw) primary channel enabled secondary channel enabled cke high. command and address lines stable dram clock active @1.5 v 3.8 4.5 a @1.8 v 0.9 0.9 a @3.3 v a idd_ibist total power w idd_membi st (for amb spec, not in spd) membist over all membist modes >50% dram bw (as dictated by the amb) primary channel enabled secondary channel enabled cke high. command and address lines stable dram clock active @1.5 v 3.3 3.8 a @1.8 v 2.4 2.4 a @3.3 v a idd_membist total power w table 4-4. power values for x4 dimms (sheet 2 of 3) 533 mhz 667 mhz symbol conditions power supply thermal design max current thermal design max current units
intel? 6400/6402 advanced memory buffer datasheet 43 electrical, power, and thermal notes: 1. vdd : thermal design = 1.845 v (+2.5%) ; max current = 1.900 v (+5.5%) 2. vcc : thermal design = 1.530 v (+ 2%) ; max current = 1.575 v (+5%) 3. includes all dimm dram organizations (srx4, drx4, srx8, drx8) and raw cards (a, b, c, d, e, h, j) 4. for x8, measured with drx8 raw card b with 39 ohm termination for command, address, and clocks, and 47 ohm termination for cs and cke 5. for x4, measured with drx4 raw card e with para llel 33 ohm termination for command, address, and 39 ohm termination for cs, cke and clocks 6. cards using smaller termination resistors will have higher powers. for example, x4 cards parallel 22 ohm termination for command and address could add as much as 0.4w to the power for all states. 7. total dimm current during s3 includes amb idd_s3 and self-refresh current of all dram devices. idd_ei (for amb spec, not in spd) electrical idle dram idle (0 bw) primary channel disabled secondary channel disabled cke low. command and address lines floated dram clock active, odt and cke driven low @1.5 v 2.0 2.5 a @1.8 v 0.2 0.2 a @3.3 v a idd_ei total power w idd_s3 s3 current vdd = 1.9v vcc = 0v vtt = 0v across process variations across the operating tcase temp range dimm types, r/c a, b, c, d, e, h & j vdd (1.8v) 75 75 ma table 4-4. power values for x4 dimms (sheet 3 of 3) 533 mhz 667 mhz symbol conditions power supply thermal design max current thermal design max current units
electrical, power, and thermal 44 intel? 6400/6402 advanced memory buffer datasheet 4.2 fb-dimm electrical timing specifications the fb-dimm channel link electrical interf ace is more completely described in the high speed differential point-to-point link at 1.5v for fully buffered dimm specification. refer to this document for recommended operating conditions. ta b l e 4 - 5 contains the fb-dimm electrical timing specifications. notes: 1. defined in fb-dimm architecture and protocol spec 2. clocks defined as core clocks = 2x sclk input note: 1. tresample is the delay from the southbound input to the southbound output, or the northbound input to the northbound output when in resample mode, measured from the center of the data eye. 2. tresync is the delay from the southbound input to the southbound output, or the northbound input to the northbound output when in resync mode, measured from the center of the data eye. . table 4-5. amb fb-dimm timing/electrical symbol parameter units min typ max notes tei propagate ei assertion pass-thru timing clks 4 teid ei deassertion pass-thru timing clks tbitlock tei ei assertion duration clks 100 1 tbitlock bit lock interval frames 119 1 tframelock frame lock interval frames 154 1 table 4-6. amb fb-dimm latency symbol parameter date rate min max units comments tc2d_amb cmd2data = 0x36 cmd2data = 0x40 533 18.7 22.3 ns 667 16.2 19 ns tc2d_amb cmd2data = 0x40 cmd2data = 0x46 533 20.5 24.2 ns 667 17.7 20.5 ns cmd2data r/c b r/c b 533 0x36 0x48 ns 667 0x40 0x50 ns tresample resample delay 533 0.9 1.6 ns 1 667 0.9 1.4 ns 1 tresync resync delay 533 2.3 3.9 ns 2 667 2 3.2 ns 2 figure 4-1. latency timing diagrams 0 2 13 4 6 57 8 10 911 11 tresample tresync 0 2 13 4 6 57 8 10 911 11 receiver input transmit output
intel? 6400/6402 advanced memory buffer datasheet 45 electrical, power, and thermal 4.3 ddr2 dram interface electrical specifications ta b l e 4 - 7 contains the electrical dc parameters for the amb ddr2 notes: 1. values highlighted in ? red ? are for reference (that is, placeholder value) 2. no v ref pin on amb 3. v out (slew) covers all other outputs slew rate including clock 4. input voltage for all pins is limited to a maximum of 2.3 v. 5. vdd/2 = 1.7/2 = 850 mv; v out = 575 mv. (v out - vdd/2)/i oh must be less than 20 ohm for values of vout between vdd/2 and vdd/2 - 275 mv. 6. vdd/2 = 1.7/2 = 850 mv; v out = 275 mv. v out /i oh must be less than 20 ohm for values of vout between 0v and 275 mv. 7. c io is the input/output capacitance for dq/d qs, and output capacitance for cmd/addr/ck. table 4-7. recommended operating conditions for dram interface symbol parameter min nom max unit v dd supply voltage 1.7 1.8 1.9 v v ref input reference voltage 0.49 * v dd 0.50 * v dd 0.51 * v dd mv v tt termination voltage v ref ? 40 v ref v ref + 40 mv single ended signals v in input voltage 0 - v dd v ih(dc) dc high-level input voltage v dd / 2 + 100 - v dd + 300 mv v il(dc) dc low-level input voltage -300 - v dd / 2 - 100 mv v ih(ac) ac high-level input voltage v dd / 2 + 200 - - mv v il(ac) ac low-level input voltage - - v dd / 2 ? 200 mv v oh minimum required output pull-up under ac test load v dd / 2 + 575 - - mv v ol maximum required output pull-down under ac test load --v dd / 2 - 575 mv v otr output timing measurement reference level - 0.5*v dd -v i oh(dc) output minimum source dc current -13.8 - - ma i ol(dc) output minimum sink dc current 13.8 - - ma differential signals v id(dc) dc differential input voltage 0.2 - - v v id(ac) ac differential input voltage 0.4 - - v v ix(ac) ac differential input crossing voltage 0.5 * vdd - 0.100 -0.5 * vdd + 0.100 v vr input timing measurement reference level v ix(ac) v ox(ac) ac differential output crossing voltage 0.5 * vdd - 0.100 -0.5 * vdd + 0.100 v v out (slew) output slew-rate requirement 2.2 - 3.2 v/ns iih input leakage current (high) - - 10 a iil input leakage current (low) - - 10 a c io input/output capacitance 2.0 - 2.5 pf r out output impedance 13 - 20 ohms t c package surface (case) temperature for amb - - 110 o c
electrical, power, and thermal 46 intel? 6400/6402 advanced memory buffer datasheet 4.4 ddr2 electrical output timing specifications 4.4.1 description of dq/dqs alignment the dqs output rising edge aligns with the clk output rising edge and the dqs output falling edge aligns with the clk output fallin g edge. the dq outputs are 1/4 cycle offset from the dqs outputs. dq/dqs inputs are edge aligned and will be skewed by internal receiver dll. inputs are terminated on-die by a resi stive circuit during reads only. 4.4.2 description of add/cmd/cntl outputs add/cmd/cntl outputs can be ad justed relative to clk (see ta b l e 4 - 8 .) to improve setup or hold times. the value of this delay is fixed at boot time. these outputs are either aligned with clk falling or with a cert ain timing offset before clk falling. the amount of offset is implementation specific (for example, can be a constant timing offset, or a known ratio of the dram clock period). 4.4.3 test load specification ddr2 timings are specified for a 25 ohm test load terminated to vdd/2, measured at the advance memory buffer component package pins. 4.4.4 tdva and tdvb parameter description the timing parameters tdva and tdvb indicate the time the dq is valid after or before dqs. tdva is used to indicate the time that data is valid after. tdva is used for dq/ dqs write hold calculations (tdh). tdvb is used to indicate the time that data is valid before. tdvb is used for dq/dqs write setup calculations (tds). 4.4.5 tjit and tjit hp parameter description the parameter tjit is the full period jitter, and tjit hp is the half-period jitter. figure 4-2. tdva and tdvb timing diagram dqs/dqs from amb dq from amb tdva tdvb
intel? 6400/6402 advanced memory buffer datasheet 47 electrical, power, and thermal 4.4.6 tcva, tcvb, tecva and tecvb parameter description the parameters tcva and tcvb specify the ti me that command is valid after and before clk. tcva stands for the time that the command is valid after the clk/clk crossing point. tcva is used for ca/clk hold calculatio ns (tih). tcvb stands for the time that the command is valid before the clk/clk crossing point. tcvb is used for ca/clk setup calculations (tis). ta b l e 4 - 4 shows tcva and tcvb. tecva and tecvb apply in early mode. fo r dimms with 36 devices, the command, address and control signals can be shifted by 1/6 clock in early mode. ta b l e 4 - 5 shows tecva and tecvb. 4.4.7 tdqsck timing parameter description tdqsck indicated the clk to dqs delay. this value is used for tdqss, tdss and tdsh timing calculations. in order to determine these numbers accurately, package parameters must be taken into account. this adjusts the minimum time by -110 ps and the maximum by -70 ps. figure 4-3. tjit and tjit hp timing diagram from amb tck/2 tjit hp tck tjit clk/clk figure 4-4. tcva and tcvb timing diagram figure 4-5. tecva and tecvb timing diagram from amb ca from amb tcva tcvb clk/ clk from amb ca from amb tecva tecvb clk/clk
electrical, power, and thermal 48 intel? 6400/6402 advanced memory buffer datasheet 4.4.8 dq and cb (ecc) setup/ho ld relationships to/from dqs (read operation) ta b l e 4 - 7 shows the timing diagram for thdamb and tsuamb. the data is launched from the dram ?edge aligned,? meaning that the dq data signals switch coincident with the dqs strobe rising and falling edges. in ternal to the advance memory buffer, the dqs strobe is delayed by approximately a quarter clock, and this delayed clock is then used to capture the dq data. thus, the setup time tsuamb is negative, meaning that the data can arrive at the advance memory buffer inputs after the strobe, and thdamb is greater than a quarter clock, so that th e data will not change until after it has been captured by the internally delayed strobe. the advance memory buffer determines the correct internal delay of strobe dqs based on a search of the data eye during the initialization of the system. the thdamb an d tsuamb specifications are based on an idealized data eye, where the search delays the strobe by exactly one quarter clock. the sum of thdamb and tsuamb is equivale nt to the minimum data valid window at the advance memory buffer inputs. figure 4-6. tdqsck timing diagram clk (amb) clk (amb) dqs (amb) 0.5xvcc tdqsck tdqsck figure 4-7. dq and cb (ecc) setup/hold relationship to/from dqs timing diagram observed at pins dqs (amb) observed at pins delayed internally dqs (amb) delayed internally dq, cb (amb) observed at pins tsuamb thdamb thdamb dqs delay (90 deg. nom.) tsuamb dqs (amb) dqs (amb)
intel? 6400/6402 advanced memory buffer datasheet 49 electrical, power, and thermal 4.4.9 write preamble duration the write preamble duration is the measurement from the point when dqs and dqs start to be driven, to the crossing point of dqs and dqs . typically, to determine when dqs and dqs are starting to be driven, timing measurements are made at 0.5xvcc +/ - 50 mv, and 0.5xvcc +/- 100 mv, and then the measurements are linearly extrapolated back to 0.5xvcc. 4.4.10 write postamble duration the write postamble duration is the measur ement from the crossing point of dqs and dqs , to the point where dqs and dqs start to go into a high impedance state. typically, to determine when dqs and dqs are starting to go into a high impedance state, for dqs, timing measurements are made at vlow + 50 mv, and vlow + 100 mv, and then the measurements are linearly extrapolated back to vlow. for dqs , timing measurements are made at vhigh - 50 mv, and vhigh - 100 mv, and then the measurements are extrapolated back to vhigh. figure 4-8. write preamble duration timing diagram twpreamb dqs (amb) 0.5xvcc figure 4-9. write postamble duration timing diagram dqs (a m b ) 0.5xvcc t w p s t a m b
electrical, power, and thermal 50 intel? 6400/6402 advanced memory buffer datasheet 4.4.11 advance memory buffer component electrical timing summary ta b l e 4 - 8 and ta b l e 4 - 9 contain the electrical timing specifications for the advance memory buffer component ddr2 interface. table 4-8. advance memory buffer component ddr2 electrical timing specifications symbol parameter ddr2 667 ddr2 533 unit s fig # min max min max system memory clock timings t ck ideal clock (ck) period 3.0 3.75 ns tch ck high time 1.35 1.70 ns tcl ck low time 1.35 1.70 ns tjit ck cycle to cycle jitter 150 175 ps 4-7 tjit hp ck half-cycle jitter 150 175 ps 4-7 tdqsck clock rising edge to dqs rising edge, or clock falling edge to dqs falling edge -- includes -110/-70 ps for package -200 20 -210 30 ps 4-10 system memory address/command/control signal timings (normal) tcvb cmd/add/cntl output valid before clk/clk 1260 1615 ps 4-8 tcva cmd/add/cntl output valid after clk/clk -- includes -140 ps for package 1120 1475 ps 4-8 system memory address/command/control signal timings (early) tecvb early cmd/add/cntl output valid before clk/clk 1760 2240 4-9 tecva early cmd/add/cntl output valid after clk/clk -- includes -140 ps for package 620 850 4-9 system memory data and strobe signal timings tdvb dq[63:0], cb[7:0], valid before dqs[15:0]/ dqs[15:0] crossing 575 750 ps 4-6 tdva dq[63:0], cb[7:0], valid after dqs[15:0]/dqs[15:0] crossing 575 750 ps 4-6 tdopw dq[63:0]. cb[7:0] output valid pulse width 1.35 1.70 ns tsu amb dq and cb input setup time to dqs crossing -530 -700 ps 4-11 thd amb dq and cb input hold time after dqs crossing 970 1180 ps 4-11 twpre amb dqs write preamble duration 2.85 3.5 3.58 4.25 ns 4-12 twpst amb dqs write postamble duration 1.35 1.65 1.7 2.05 ns 4-13
intel? 6400/6402 advanced memory buffer datasheet 51 electrical, power, and thermal 4.4.12 reference ddr2 interf ace package trace lengths the following reference package trace lengths have been incorporated into the advance memory buffer timings in ta b l e 4 - 9 . 4.5 smbus interface note: based on high-power smbus dc specification 4.6 miscellaneous i/o (1.5 volt cmos driver) 4.7 thermal diode and analog to digital converter (adc) a thermal diode with an analog to digital converter (adc) is required. the thermal sensor will be used to ensure prevention of catastrophic failure. table 4-9. advance memory buffer ddr2 package lengths signal group min length max length units clk/clk 24 26 mm command/address 4 20 mm cke, cs# 9 22 mm odt 10 16 mm dqs/dqs /dq 9 13 mm table 4-10. recommended operating conditions for smbus interface symbol parameter min typ max unit comments v ddspd supply voltage (smbus) 3.0 3.3 3.6 v 3.3v + 10% v il smbus signal input low voltage - - 0.8 v v ih smbus signal input high voltage 2.1 - v ddspd v v ol smbus signal output low voltage - - 0.4 v @i pullup i leak-bus input leakage per bus segment - - + 200 a i leak-pin input leakage per device pin - - + 10 a i pullup current sinking, v ol = 0.4v 4 - - ma c bus capacitive load per bus segment - - 400 pf c i capacitance for smbdat or smbclk pin --10pf v noise signal noise immunity from 10mhz to 100mhz 300 - - mv p-p this is ac item applies to the high-power dc specification only table 4-11. recommended oper ating conditions for reset and bfunc pins symbol parameter min typ max unit comments v ih(dc) dc high-level input voltage 1.0 - - v v il(dc) dc low-level input voltage - - 0.5 v ileak input leakage - - + 90 a
electrical, power, and thermal 52 intel? 6400/6402 advanced memory buffer datasheet an 8-bit register will store the temperatur e. the sensor measures from 0 to 127 degrees c measured in 0.5 degree increments in a register with values from 0 to 255. internal analog nodes (anode, cathode, and so forth) of this circuit will not be brought out to package pins to keep noise at a minimum. refer to the intel? 6400/6402 advanced memory buffer thermal mechanical design guide for more information on the thermal sensor. 4.7.1 thermal sensor effects on the amb?s functional behavior when enabled, the results of the therma l trip points templo and tempmid are reported in fbd status 0 responses following sync commands. if the temperature exceeds temphi, errors ar e logged. if the temphienable bit in the tempstat register is set, ddr shutdown occu rs and fbd links go into electrical idle mode. this over temphi behavior also app lies when in lai mode. see the error chapter for a more complete description of chip behavior when temphi is exceeded. a temperature tempstat.increasing bit is also generated depending on whether the temp is greater or less than the last time the increasing bit was sampled. sampling to create increasing bit is controlled by writes to register updated. when temperature is above tempmid, this information also shows up in the fbds0.thermal_trip register field and in th e status response of fbd sync commands targeted to fbds0.
intel? 6400/6402 advanced memory buffer datasheet 53 debug and logic analyzer mode 5 debug and logic analyzer mode 5.1 logic analyzer interface (lai) mode this section describes the functionality of th e optional logic analyzer mode for the intel 6400/6402 advanced memory buffer (amb). the features of the logic analyzer mode (lai mode) in the fully buffered dimm will enable select bus observability capabilities. the mode will be the basis of an lai assembly to provide link traffic trace capability and will support design and manufacturing debug and validation needs fo r systems featuring fbd links. in this application, the device is programmed to perform the following functions: ? repeater pass-through operation for southbound and northbound links ? provides enough link protocol unwinding to allow extraction of framing boundaries, idle filtering opportunities, and pattern match triggering ? performs logic analysis functions such as cross-triggering, match/mask, and local event detection. these functions cannot be effectively performed using a remote logic analyzer. ? provides independent demuxed northbound and southbound traffic stream in la compatible signal levels and timing form at through reuse of the existing device dram i/o pins ? provides smb (or possibly another communications interface) access to allow external, non-intrusive access to component lai control functions/parameters ? the amb is commanded to power up in lai mode when sma[3:2] addresses are strapped to 2?b11 and lai capability bit is enabled.
debug and logic analyzer mode 54 intel? 6400/6402 advanced memory buffer datasheet figure 5-1 is a conceptual depiction of the amb used in a lai mode application. 5.1.1 lai mode architecture the diagram below illustrates the amb as a functional block when used as a lai. the normal southbound and northbound links, the reference clock, and the smb bus are used ?as is?. the channel traffic is reflected onto the dram interface with frame alignment for access with a logic analyzer. to be effective in collecting useful fbd traces, the information provided to a logic analyzer must include not only a demuxed copy of the direct information transferred on the links, but also several types of derived information that a logic analyzer is not equipped to derive itself. these include specifically: ? cross-triggering information with finer timing granularity than la can achieve ? simple filtering (qualified storage) opportunities recognition ? traffic framing figure 5-1. amb lai mode usage diagram mch dimm0 dram amb amb in lai mode lai interposer probe assembly dimm1 showing only southbound fbd links, but northbound follow same path in reverse. standard la high density probes concept instantiation of lai interposer using amb interposed dimm dimm2 dimm3
intel? 6400/6402 advanced memory buffer datasheet 55 debug and logic analyzer mode 5.1.2 lai mode clocking to eliminate frequency drifts, the amb on ea ch dimm and the chipset in an fbd channel will be provided with a reference clock that is from a clock source common to the fbd channel. a clock buffer will be placed on th e lai card to take the reference clock input and provide the required two reference cloc ks for the lai amb and the attached dimm amb. 5.1.3 lai mode pins the ddr pins designed in the amb can be enab led to carry signals for the logic analyzer debug and validation of the fbd channel. th e lai mode is selected by strapping the following input pins on a amb which has the lai capability bit enabled. sa[:0] = dimm id = 4b?11xx the list below highlights the pins in the amb that are dedicated for ddr, all of which are not required to operate at speed equal to the ddr data rate. address/command pins are specially designed in the amb to be able to drive double data rate to support the lai functionality. figure 5-2. amb lai mode connectivity reference clock southbound in northbound out southbound ou t northbound in 1 x2 10 x2 14 x2 s [ 59:00 ] clk [p ,n ] southbound and northbound signals to logic analyzer to next dimm to the south to mch or next dimm to the north amb in lai mode 10 x2 14 x2 60 1 x2 smb 6 trig [ 10:0 ] 4 shared signals to logic analyzer q ua l 1 mode 1 frame 1 n [ 83:00 ] 84 ev [ 3:0 ] 4 shared signals to other trace bds
debug and logic analyzer mode 56 intel? 6400/6402 advanced memory buffer datasheet 5.1.4 lai mode signal definitions table 5-1. ddr pins shared with lai functionality signal type count speed (mhz) use in lai mode comment ddr ddr dq & dqs 108 533/667 ~ lai signal dq s must run single ended in lai mode ddr cmd/addr 56 266/333 ~ lai signal most must run double speed in lai mode some may be dedicated to bidirectional event bus clocks to drams 8 533/667 ~ lai signal may run single ended in lai mode ddr comp and analog 5 analog not suitable for lai signals total ddr pins 177 table 5-2. list of pins required to enable debug with lai functionality signal type count speed (mhz) comment southbound s[59:0] 60 533/667 data northbound n[83:0] 84 533/667 data mode 1 267/333 trig[10:0] 11 267/333 clk 4 267/333 two differential pairs qual 1 533/667 frame 1 533/667 ev[3:0] 4 100 bidirectional comp pins 5 analog required for signal integrity total pins 171 table 5-3. lai mode added signals (sheet 1 of 2) signal type direction definition s[59:0] out southbound demuxed (6x10) traffic n[83:0] out northbound demuxed (6x14) traffic mode out link mode: 0 = after training complete 1 = before training complete trig[10:0] out triggers to la . this provides eleven unique trigger signals to the la from the amb lai as a result of frame pattern matching, state matching, and/or cross-triggering events from other lais. this allows cooperating amb lais to overcome (a) limitations of la in recognizing serial traffic patterns that exceed la pattern matching capabilities and, (b) rela tively long latencies in cross- triggering between la modules.
intel? 6400/6402 advanced memory buffer datasheet 57 debug and logic analyzer mode 5.1.5 lai to ddr pin mapping ta b l e 5 - 4 contains the lai-to-ddr pin mapping. clk out logic analyzer reference clock (differential). this provides a la compatible timing reference clock for capture of all signals to the la, with fine capture phase adjust using the native la clock edge offset capabilities. qual out store qualifier: 1 = store 0 = do not store frame out drives 1 when lai pins are valid level. should be connected to pull down on lai board to detect when lai pins are tri-stated and la should ignore data. ev[3:0] i/o inter-amb event bus for cross-triggering (wired-or, high active, slow).this four bit event bus allo ws multiple amb (and similar) lais to be programmed to inte r-communicate locally detected matching and/or filtering opport unities events (cross-triggering and cross-qualification). table 5-3. lai mode added signals (sheet 2 of 2) signal type direction definition table 5-4. list of shared ddr/lai pins (sheet 1 of 2) ddr pin count speed mbit/sec lai mode comment dq[55:52], dqs[15], dqs [15] 6 533/667 sbframe_data0[5:0], [11:6] 5:0 captured on rising edge of clk, 11:6 captured on falling edge of clk dq[59:56], dqs[7], dqs [7] 6 533/667 sbframe_data1[5:0], [11:6] dq[51:48], dqs[6], dqs [6] 6 533/667 sbframe_data2[5:0], [11:6] dq[39:36], dqs[13], dqs [13] 6 533/667 sbframe_data3[5:0], [11:6] dq[47:44], dqs[14], dqs [14] 6 533/667 sbframe_data4[5:0], [11:6] dq[35:32], dqs[4], dqs [4] 6 533/667 sbframe_data5[5:0], [11:6] dq[43:40], dqs[5], dqs [5] 6 533/667 sbframe_data6[5:0], [11:6] ras b, a[10:9)b, dyba[2:0]b 6 533/667 sbframe_data7[5:0], [11:6] a[6:2]b, a[0]b 6 533/667 sbframe_data8[5:0], [11:6] a[15:11],b a[8]b 6 533/667 sbframe_data9[5:0], [11:6] cke[1:0] b , cs[1:0] b, odt b , 5 267/333 trigger[10:6] will only change at 1/2 freq ba[2] a 1 533/667 frame 1 if transferring first half of frame, 0 if second half cas b , we b , a[7] b , a[1] b 4 100 mhz evbus[3:0] inner dy bumpout rows cas a 1 267/333 mode ras a 1 267/333 qual cke[1:0] a , cs[1:0] a , odt a , we a 6 267/333 trigger[5:0] will only change at 1/2 freq
debug and logic analyzer mode 58 intel? 6400/6402 advanced memory buffer datasheet 5.1.6 fbd to lai signal mapping the following example show how an fbd so uthbound command frame is transferred from fbd frame format to la interface early/late data. the lai interface delays the sb ?a slot? by one clock to capture the fbd frame in the same ?abc? slot format that is sent from the host - rather than the ?bca? (b and c slots from host frame n-1 plus a slot from host frame n) used by the normal mode ambs to minimize latency on the decode of slot a commands. a[5:0] a 6 533/667 nbframe_data0[5:0], [11:6] 5:0 captured on rising edge of clk, 11:6 captured on falling edge of clk a[11:6] a 6 533/667 nbframe_data1[5:0], [11:6] ba[1:0] a, a[15:12] a 6 533/667 nbframe_data2[5:0], [11:6] dq[23:20], dqs[11], dqs [11] 6 533/667 nbframe_data3[5:0], [11:6] dq[31:28], dqs[12], dqs [12] 6 533/667 nbframe_data4[5:0], [11:6] dq[19:16], dqs[2], dqs [2]] 6 533/667 nbframe_data5[5:0], [11:6] dq[27:24], dqs[3], dqs [3] 6 533/667 nbframe_data6[5:0], [11:6] dq[15:12], dqs[10], dqs [10] 6 533/667 nbframe_data7[5:0], [11:6] dq[7:4], dqs[9], dqs [9] 6 533/667 nbframe_data8[5:0], [11:6] dq[11:8], dqs[1], dqs [1] 6 533/667 nbframe_data9[5:0], [11:6] dq[3:0], dqs[0], dqs [0] 6 533/667 nbframe_data10[5:0], [11:6] cb[3:0], dqs[8], dqs [8] 6 533/667 nbframe_data11[5:0], [11:6] cb[7:4], dqs[17], dqs [17] 6 533/667 nbframe_data12[5:0], [11:6] dq[63:60], dqs[16], dqs [16] 6 533/667 nbframe_data13[5:0], [11:6] clk[3:2] 2 267/333 mhz nc not supported in lai mode clk [3:2] 2 267/333 mhz nc not supported in lai mode clk[1:0] 2 267/333 mhz lai clock p [1:0] clk [1:0]# 2 267/333 mhz lai clock n [1:0] total ddr pins 162 no spare pins table 5-4. list of shared ddr/lai pins (sheet 2 of 2) ddr pin count speed mbit/sec lai mode comment
intel? 6400/6402 advanced memory buffer datasheet 59 debug and logic analyzer mode output to logic analyzer is lane by lane early data [lane 9][lane 1][lane0] [fe20,fe21,?.,ae0] ??? [bc5, bc4, ac7, ac6, ac5, ac4] [bc1, bc0, ac3, ac2, ac1, ac0] late data [lane 9][lane 1][lane0] [fe14,fe15,?.,fe19] ? ? [cc7, cc6, cc5, cc 4, bc7, bc6] [cc3,cc2, cc1, cc0, bc3, bc2] note: crc codes in a cmd (ae0 - ae13) are a f unction of fe21:fe14 of previous frame. 5.1.7 lai to ddr pin timing the phases of data presented to the logic an alyzer have some odd timing due to reuse of some many different types of ddr i/o ou tputs to achieve the desired pin count. the la will compensate for these predictable phase offsets. table 5-5. typical fbd southbound command frame transfer \ bit 9876543210 n 0 ae0 ae7 ae8 f0=0 ac20 ac16 ac12 ac8 ac4 ac0 early data n 1 ae1 ae6 ae9 f1=0 ac21 ac17 ac13 ac9 ac5 ac1 n 2 ae2 ae5 ae10 ae13 ac22 ac18 ac14 ac10 ac6 ac2 n 3 ae3 ae4 ae11 ae12 ac23 ac19 ac15 ac11 ac7 ac3 n 4 fe21000 bc20 bc16 bc12 bc8 bc4 bc0 n 5 fe20000 bc21 bc17 bc13 bc9 bc5 bc1 n 6 fe19000 bc22 bc18 bc14 bc10 bc6 bc2 late data n 7 fe18000 bc23 bc19 bc15 bc11 bc7 bc3 n 8 fe17000 cc20 cc16 cc12 cc8 cc4 cc0 n 9 fe16000 cc21 cc17 cc13 cc9 cc5 cc1 n 10 fe15000 cc22 cc18 cc14 cc10 cc6 cc2 n 11 fe14000 cc23 cc19 cc15 cc11 cc7 cc3
debug and logic analyzer mode 60 intel? 6400/6402 advanced memory buffer datasheet 5.1.8 lai features 5.1.8.1 control and status registers (csrs) lai mode csrs will be accessed and prog rammed through smbus when in lai mode. see chapter 14, ?registers,? for complete details. note: lai registers cannot be accessed in-band over the fbd link 5.1.8.2 pattern matching the lai block can pattern match on three command values at any of three command slots and combine the results into independ ent and combined local events. there are 13 total pattern matching events: a command value matches a command slot (9 events), a command value matches any slot (3 events), and all command values appear in the frame (1 event). this pattern matching is also used in normal mode for error injection and nb in-band event generation. figure 5-4 shows the lai match and mask logic. figure 5-3. lai signal group timing clk lai data cmd/addr lai data on dq lai data on dqs triggers cmd/addr early data early data early data late data late data late data trigger matched to early/late data qual qual on frame
intel? 6400/6402 advanced memory buffer datasheet 61 debug and logic analyzer mode 5.1.8.2.1 additional qualification on match/mask full frame and a-slot matching is enabled part way through ts0, once fbd inputs have been aligned with the core clocking phases . though generally, will not be used until link has completed initialization. slot b and slot c pattern matching is further qualified so that true commands can be differentiated from data when not doing full frame matching. for each mask and match pair 0, 1 or 2 ? if mask[39] = 1, then match and mask agai nst any received data in slot b and slot c. ? if mask[39] = 0 and match[39] = 0 then only match on commands. ? ignore a match with contents of slot b if frame type is not command or frame type is command and a-command is sync or soft reset ? ignore a match with contents of slot c if frame type is not command or frame type is command and a-command is sync or soft reset or b-command is write configuration register figure 5-4. lai match and mask logic a matches 2 c matches 2 b matches 2 b matches 1 c matches 1 a matches 1 a matches 0 c matches 0 b matches 0 13 13 13 13 13:1 mux 13:1 mux 13:1 mux m&m cmda mm_12 mm_10 mm_11 match events mm_8 mm_5 mm_2 mm_1 mm_6 mm_7 mm_4 mm_0 mm_9 mm_3 mmevent[0 mmevent[1 mmevent[2] cmd qual logic cmd qual logic cmd qual logic or ? match 0 in any pos mask & match a cmd slot mask & match b cmd slot mask & match c cmd slot combining results & reg. combining results & reg. combining results & reg. m&m cmdb m&m cmdc m&m cmda m&m cmdb m&m cmdc or -match 1 in any pos or ? match 2 in any pos and (full frame) match & mask registers for cmnd #0 match & mask registers for cmnd #1 match & mask registers for cmnd #2 early southbound pipeline stage
debug and logic analyzer mode 62 intel? 6400/6402 advanced memory buffer datasheet to match an fbd command that might occur in any slot including the a slot, mask out bits [38:24] and set both mask[39] and match[39] to 0. ? if mask[39] = 0 and match[39] = 1 then only match on memory write data. ? match and mask against received data in slot b and slot c if frame type is write data frame 5.1.8.3 local events the mask/match features in the amb lai, and certain internal state and error conditions, will be used to generate local ev ents. global events pr opagated through the in-band debug and external event (ev) bus w ill also generate local events. all of the local events can be selected by muxes as trigger sources for lai event signals and event bus signals. while not used in lai mode, these events are also used in error injection and for sourcing events in the nb status frames. for exact details see the configuration registers chapter. an overview of the local events logic is shown below. the match/mask, qualification and event bus blocks are described in more detail in other sections. ta b l e 5 - 6 shows the 32 local events. each of these local events is logged in a configuration register and is sent to 19 32:1 muxes. the select lines for these muxes are programmed in configuration registers. ta b l e 5 - 7 shows the destination (intended use) of the 19 selected events. figure 5-5. local event mux block diagram 0 1 2 3 7 6 5 4 local event mux block diagram evbus input and output output filter 0 1 2 3 7 6 5 4 0 8-1 11-9 15-12 31 30-25 24 23-16 lai qualification logic lai match and mask logic eventselx, evbus input filter 1 18 3 local pattern matching events 12 s q r delay other qual logic qual lai trigger[10:0] nb ib event control null event evbus[3:0] fbd link states sb ib debug events errors spare 0 0 4 4 qual_start event qual_stop / inj_err event qual flag evbus in[3:0] mmevent[2:0] mmeventsel local event muxes lai mode error injection control qual_flag evbus out[3:0] evbus in[3:0] table 5-6. lai local events (sheet 1 of 2) name events sel addr description mask and match 3 11:9 mmevent2:mmevent0 slota, slotb, slotc, and fram e command matches - 3 events preselected from 13 possible matches in-band debug 8 23:16 received on sb link in-band ev[7:0] evbus events 4 15:12 received on select ddr pins event bus ev[3:0]
intel? 6400/6402 advanced memory buffer datasheet 63 debug and logic analyzer mode 5.1.8.4 event bus the amb lai mode enables four events sign als (ev[3:0]) to be shared between the amb or compatible lai devices in a system. the signals are shared through a uniquely defined interconnect that connects all the devi ces to the 4-bit wide daisy chain bus. the 4 lanes are independent and carry separate events or triggers. due to the noisy nature of the interconnect between lai devices, f iltering is required to eliminate spurious events from being introduced. a typical lane is shown in figure 5-7 below. initialization states 8 1:8 disable[1], calibrate [2], training[3], te sting[4], pollling[5], config[6], l0[7], l0s or recalibrate[8] errors 6 30:25 ? sb/nb fail over mode [25], when unmasked: ? sb crc error[26], ? thermal overload[27], ? clock training violation (< 6 transitions in 512 ui) [28], ? unimplemented register access[29], ? other implementation specific errors[30] for the intel 6400/6402 advanced memory buffer: event[30] is the ?or? of any bit in ferr[7:4] or nerr[7:4] qual_flag 1 24 spare 1 31 nop 1 0 null event total events 32 for the intel 6400/6402 advanced memory buffer: there is enough space for 32 events table 5-7. lai event selection name events description output event/triggers 11 sent to la on ddr pins evbus events 4 sent on ddr pins inject event nb 1 assert nb event bit - not necessarily lai usage error injection trigger 1 inject errors - not necessarily lai usage qual events 2 start and stop events for qualification signal total events 19 table 5-6. lai local events (sheet 2 of 2) name events sel addr description
debug and logic analyzer mode 64 intel? 6400/6402 advanced memory buffer datasheet each lane in the bus can be selected by the evtype parameter to be a pulse (trigger) event or a level (qualifier) event. timing fo r the input and output filters is set by the evt parameter which defines the t min in core clock cycles. both of these parameters reside in the evbus control register along with the local event select controls for each lane in the bus. pulse mode timing: input: inputs are digitally filtered to redu ce spurious events from bus ringing. once a rising edge is detected a single one clock width pulse event is sent to the local events. no further pulse events are permitte d until the next rising edge that occurs after the longer of either (2 * tmin) or (t_source_event_actual + t min). output: an output high pulse of length tm in or t_local event_actual (whichever is longer) is sourced whenever triggered by the selected local event. this is followed by an output low pulse of length tmin. fu rther toggling by the selected local event is ignored until this output sequence is complete. level mode timing: input: once a rising edge is detected the local event is asserted and remains asserted for tmin or t_source_event_actual which ever is longer. output: an output high pulse of length tm in or t_local event_actual (whichever is longer) is sourced whenever triggered by the selected local event. figure 5-7 shows the event signal timing. figure 5-6. evbus overview output filter enb ?1? input filter pin evbus event select local events evbus local event bus to other lai ev bus system topology
intel? 6400/6402 advanced memory buffer datasheet 65 debug and logic analyzer mode the signals will be driven or captured by four ddr i/o buffers. figure 5-7. event bus signal timing pulse ev bus timing evt additional pulses filtered out for period of at least 2 * evt evt selected local event filtered evbus pulse out received evbus signal filtered evbus pulse in local event qualifier level ev bus timing minimum pulse = evt selected local event filtered evbus pulse out received evbus signal filtered evbus pulse in local event minimum pulse = evt
debug and logic analyzer mode 66 intel? 6400/6402 advanced memory buffer datasheet 5.1.8.5 qualification the amb in lai mode sends a qualification si gnal, qual, on a ddr pin along with each frame. a qualified frame contains data likely to be of interest to the user of the logic analyzer. conversely, an unqualified frame has be en chosen to be filtered out because it only contains idle nop frames or has ot herwise been ?flagged? as not occurring between pre-selected events. the logic analyzer can capture data when qual is asserted, and ignore data when qual is deasserted. once a qualified frame is seen, the qual signal is asserted, and it remains asserted for an additional programmable number of cycles, using a timer ranging from 0 to 63. this timer is restarted if it is already running when a new qualified frame is seen. the error injection timer will be used to push out the triggering of the qual_stop signal by n timer count of clock cycles (where n is user programmed for delay range of 0 to 63), thus increasing the length of the qual_flag interval. one qual_start event will enable the assertion of qual _flag and another qual_stop event will disable assertion of qual_flag. a frame of all nops is not a qualified frame. a sync frame is not a qualified frame if the filter_sync configuration register bit is se t; otherwise it is considered qualified. note: the ability to determine which frames are qu alified may be lost following an unmasked crc or few edges error. this is the result of the architected behavior that future commands following the error will ignored. as a side effect, qual may stay high once these errors are detected. if the qual_mode configuration register bit is set, frames must additionally occur between qual_start and qual_stop events to be qualified. a frame that triggers qual_start may also cause the qual signal to assert, and a frame that triggers qual_stop will not be considered qualifie d. the qual_start and qual_stop events are programmable and are selected from the 32 local events. figure 5-8 is a block diagram of the qualification signal control logic. figure 5-8. lai qualification signal block diagram qualstopdelay[5:0] command <> nop command a command <> sync format = cmd+wdata command b command c command <> nop command <> nop and 1 0 or input load dec >0 filter_sync set clr local events qual_flag and qual_start[4:0] qual_stop[4 : 0] qual_period[5:0] qual_mode qual timer 0?63
intel? 6400/6402 advanced memory buffer datasheet 67 debug and logic analyzer mode 5.1.9 lai block diagram figure 5-9 is a block diagram of the lai implementation. the lai block defines a frame from the host (not the amb) point-of-view, so the slota command is delayed by one core cycle relative to the slotb and slotc commands. the southbound delay pipeline consists of one set of core registers for slota, and one set of core registers for delayed slota, and slotb and slotc. the protocol unwrapping and pattern recognition block takes the registered southbound frame and detects and logs any local events. events are selected in this same cycle, registered on the core clock, and then forwarded to the ddr cluster. the southbound frame is also registered once more and forwarded to the ddr cluster. the northbound registers the line this data to the same clock domain as the southbound data before it is forwarded to the ddr cluster. figure 5-9. block diagram of amb in lai mode reference cloc k southbound in northbound out southbound out northbound i n s [ 59:00 ] clk [p ,n ] amb in lai mode sm b trig [ 10:0 ] q ua l frame n [ 83:00 ] mode ev [ 3:0 ] retiming demux deskew southbound delay registers q protocol & pattern recognition q q remainder of p ath unmodified * retiming & merge* demux deskew q q remainder of p ath unmodified * events selection, & responses q control/status register northbound delay registers
debug and logic analyzer mode 68 intel? 6400/6402 advanced memory buffer datasheet 5.2 normal mode debug features 5.2.1 normal mode debug triggers southbound command matching/masking functionality may be available in normal amb operation. this can be used for triggering error injection or returning a signal in a northbound status frame for debug/monitoring purposes for example. 5.2.2 error injection refer to the jedec publication: fb-dimm draft specification: design for test, design for validation (dfx) specification for more information regarding error injection. selected errors of specific types may be in jected internal to the amb in response to selected in-band events or by mask/match events from commands arriving at the amb . in the case of stuck lane errors, these ar e controlled directly via registers on the amb the amb will also forward errors inject ed by the host into the sb link. 5.2.2.1 types of injected errors there are several types of errors that the amb can inject in order to enable validation and debug hardware and software mechanisms in tended to deal with each error type in operating systems. 5.2.2.1.1 errors injected in northbound co mmand register read and read data frames in response to a selected local event, the am b will inject an error in frame data after or during calculating frame crcs and transmitting the frame northbound. this is necessary to test/validate/debug hw and sw mechanisms designed to detect and deal with northbound channel soft (non-repeatable) channel transport errors. errors can be injected using the lfsr idle pattern generator as a default. 5.2.2.1.2 status bits injected in status bloc k sent back in respon se to sync command in response to an fbd sync command with r[1:0] = 2?b11, the amb will return the user written fbds3 for the next status bloc k returned in response to a sync command. 5.2.2.1.3 invalid parity injected in status block sent back in response to sync command if the fbds3.ovren bit is set and fbds3.usrpar contains invalid parity for the data in fbds3.usrval, the in response to an fbd sync command with r[1:0] = 2?b11 and, the amb will cause invalid parity to be passed in the next status a block returned in response to a sync command. 5.2.2.1.4 force alert in response to a selected local event, the amb will force the beginning of alerts northbound. an error status bit indicating an injected alert error as the source will also be set. this error may be created by artificially corrupting crc on the frame whose timing matches the error injection. this may have the same side effects as corrupting the crc but will have a different error stat us. the beginning of alerts northbound will begin with the frame that would match read return slot for the corrupted frame. for the intel 6400/6402 advanced memory buffer, the alert takes place 2 to 3 clocks after the nb response for the sb frame that caused the trigger
intel? 6400/6402 advanced memory buffer datasheet 69 debug and logic analyzer mode 5.2.2.1.5 selectively force ?stuck on? northbound lanes this capability is required to test ability of components and system to accomplish lane fail-over. note that this is the only error in jection feature which is not event driven, but rather shall be controlled directly by the stuckl register in the amb. the selected lanes are ?stuck? by being forced into ?electrical idle?. 5.2.2.1.6 sourcing northbound in-band event the northbound event shall be asserted in the next transmitted fbds0 status block following assertion of a selected local event. this approach allows any local event to be propagated past a tracing amb lai monitoring the fbd channel as well as for use as an event stimulus to the host interface logic.
debug and logic analyzer mode 70 intel? 6400/6402 advanced memory buffer datasheet
intel? 6400/6402 advanced memory buffer datasheet 71 errors 6 errors 6.1 types of errors and responses the intel 6400/6402 advanced memory buffer (amb) detects link errors that could lead to data corruption. this includes crc on commands and write data. the amb also prevents damage to the machine state. 6.1.1 fbd link errors 6.1.1.1 link initialization errors ta b l e 6 - 1 shows link errors that can occur during initialization. table 6-1. link errors in initialization error response multi-lane failures - unable to achieve bit lock on at least 9 of 10 sb lanes never come out of training state multi-lane failures - unable to achieve bit lock on at least 12 nb lanes never come out of training state nb_data_merge_disable - able to achieve bit lock (pass thru link data) but internal errors prevent receiving valid link cmds or merging data host sets nb_merge_disable bit in ts2 to cause dimm to be in a pass- thru mode both sb and nb - act as a blind repeater 1. no attempt to decode commands, no response to link register rd/ wr, generate no alerts, neither generate or merge any nb traffic 2. smbus access enabled single lane failure - sb and/or nb support normal init ialization protocol and fail over mode if commanded by host
errors 72 intel? 6400/6402 advanced memory buffer datasheet 6.1.1.2 errors during channel operation table 6-2. link errors in normal operation (sheet 1 of 2) error response crc error on sb frame ?a? command - detected by 14-bit crc (or reduced 10-bit crc in fail over mode) or crc error on sb data or ?bc? commands in command frame - detected by 22-bit crc (or reduced 10bit crc in fail over mode if cmdcrc error type enabled in emask register 1. no command executed 2. 120-bit raw sb frame captured in recfbd error log registers 3. type of error logged in ferr/nerr registers 4. error/alert asserted bit set in fbd status 0 register 5. ignore future commands except soft channel reset until soft channel reset or link reset received 6. alert frame sent continuously starting with nb frame in which returned data pattern would be sent if aborted command had been a config read. alert patterns continue until soft channel reset or link fast reset received. note: will not close dram pages or place dram into self refresh until detection of link reset. else ignore error lose transition density on channel as detected by no sync in within 2 times the synctrainint value (typically last 84 frames). note: purpose of this error is not to detect violation of required transition density (6 out of 512) but to detect hang in the host and put dram into self refresh. any corruption caused by lack of transitions will be detected by crc violations. if fewedges error type enabled in emask register 1. no command executed in expected sync slot 2. 120 bit raw sb frame captured in recfbd error log registers 3. type of error logged in ferr/nerr registers 4. error/alert asserted bit set in fbd status 0 register 5. ddr self refresh fsm triggered to put drams into self refresh 6. ignore future commands including soft channel reset until link reset received 7. alert frame sent continuously starting with nb frame in which returned data pattern would be sent if aborted command had been a config read. alert patterns continue until link fast reset received. else ignore error write buffer overrun write data received when fifo is full overwriting the write buffer is a host error. the amb does not take any action based on an overrun. dram writes will proceed. what data item is written following an overrun condition is not defined. an overrun could be the result of channel errors, but these errors are detectable by other means. detection of an overrun condition is not required, but may be done by implementation dependent means for debug. write buffer underrun: not enough valid entries in write fifo to support write data to memory underrunning the write buffer is a host error. the amb does not take any action based on an underrun. dram writes will proceed. what data item is written following an underrun condition is not defined. an underrun could be the result of channel errors, but these errors are detectable by other means. detection of an underrun condition is not required, but may be done by implementation dependent means for debug.
intel? 6400/6402 advanced memory buffer datasheet 73 errors 6.1.2 ddr errors 6.1.3 host protocol errors ambs are not expected to detect bad protocol from the host. access to unimplemented register if unimplcfg error type enabled in emask register 1. drop config write cmds 2. capture addr in reccfg register if not previously set 3. return 0?s data if config read (or return -1 if read addr to unimplemented function - though currently expect all functions to be used) 4. unimplcfg error type logged in ferr or nerr registers 5. error/alert asserted bit set in fbd status 0 register else ignore error note: the timing of the error/alert asserted bit in fbd status 0 response for an unimplemented register is not guaranteed relative to the corresponding sync/status boundaries. for example, if an unimplemen ted register access occurs in the frame before a sync frame, the error asserted bi t in fbd status 0 may not be asserted in northbound status corr esponding to that sync. but it will be asserted in a later status response. undefined command undefined commands with good crc are ignored. this is not considered an error condition, and is not logged. treat as reserved command or channel nop tid error on config writes if the tid bit on a config writ e matches the value of the previous tid bit, the write is ignored. the tid bit stored in the amb is left unchanged in this case. this error does not cause an alert frame, and is not logged. the purpose of the tid bit is to allow the host to retry a config write command following a fast reset if it does not know if it had been executed prior to an alert. if the config write had occurred the tid bit w ill be the same, the retried write will be ignored. if it had not occurred, the tid bit will be opposite, and the retried write to will be executed. table 6-3. ddr errors error response failure of software to achieve calibration this is detected through firmware during the calibration routine. firmware should treat the dimm as a repeater if it is an intermediate dimm or map it out if it is the last dimm in the chain ddr voltage does not power up if normal fbd interface comes up, should at least act like a repeater. does not bring down fbd channel - like above. ddr cmds di rected at dimm will fail to return valid responses. table 6-2. link errors in no rmal operation (sheet 2 of 2) error response table 6-4. host protocol errors error response illegal combinations of commands ? see concurrent command delivery rules section of the fbd architecture and protocol specification amb response to illegal command combinations is undefined commands to multiple ambs to return data in the same return frame. if multiple ambs attempt to return data in the same frame, the host will see the data from the northern most amb which is pr oviding data, as it will replace any data sent from ambs to its south. a host controller should not produce commands which would cause multiple ambs to respond with data in the same frame. a special case can occur where alert frames are being sent by one or more ambs while another amb is returning data from a command. these cases are discussed in the architecture and protocol spec in the northbound alert frame section.
errors 74 intel? 6400/6402 advanced memory buffer datasheet 6.1.4 other errors 6.2 error logging 6.2.1 error logging procedure there are three basic types of errors in fbd: overtemp, alerts and status only errors.the first occurrence of any type of unmasked error are flagged in the ferr register. multiple bits can be set in this register if multiple errors occur in the same clock period. subsequent errors are flagged in the nerr register. unmasked ?alert? errors generate in-band link alert messages. all unmasked errors also set the error bit in fbds0 that is retu rned in regularly scheduled in-band status response messages that occur following sync commands. there are error data logs associated with some of the errors. once the first ?alert? error has been flagged in the ferr or nerr (and matching sb frame data logged), the log registers for that error remain locked until either 1) all ?alert? error bits in the ferr and/or nerr are cleared, or 2) a power-up reset. once the first unimplemented table 6-5. other errors error response overtemp - temp > temphi and overtemp enabled if overtemp error type enabled in emask register 1. the overtemp bit will be set in the ferr or nerr register as appropriate 2. error/alert asserted bit set in fbd status 0 register if temphienable set in tempstat register also 3. shut down ddr channel: ? drive cke low to the drams and float the command, address, and data signals. cke, odt, and clock continue to be driven. the clocks to the drams may be stopped after the cke has been registered low 4. the fbd interface goes to electrical idle , with the receivers shut off to reduce power. 5. the core will continue to be cloc ked, and the amb will respond to smbus commands. this allows the host contro ller to determine the error condition note: no recovery expected, just trying to prevent si meltdown the amb will remain in this state until the temperature is below temphi and the overtemp bit is reset via smbus or a hardware reset. else ignore error note: a hardware reset will plac e the temphienable bit in its default state of disabled. injected alert if injcrc error type enabled in emask register 1. no command executed 2. 120 bit raw sb frame captured in recfbd error log registers 3. type of error logged in ferr/nerr registers 4. error/alert asserted bit set in fbd status 0 register 5. ignore future commands except soft channel reset until soft channel reset or link reset received 6. alert frame sent continuously starting with nb frame in which returned data pattern would be sent if aborted command had been a config read. alert patterns continue until soft channel reset or link fast reset received. else ignore error note: this basically the same as a crc error except that crc is not actually corrupted injected error if injerr error type enabled in emask register 1. type of error logged in ferr/nerr registers 2. error/alert asserted bit set in fbd status 0 register else ignore error no refclk reset should not be released if no refclk present. pll will not achieve lock, the amb will not come out of reset.
intel? 6400/6402 advanced memory buffer datasheet 75 errors configuration register access error has been flagged (and matching address logged), the log registers for that error remain locked until either 1) that bit in the ferr and/or nerr cleared or 2) a power-up reset. 6.3 fail over mode support the amb supports single lane fail over mode as described in the fb dimm architecture and protocol specification ,. this is done under host control or through the smbus. 6.4 failback to pass-thru in general, the amb attempts to minimize the number of single points of failure (spof) that could bring down the entire cha nnel. errors in any one lane can be mapped out with fail over. errors on the ddr interf ace can be handled by disabling the dram interface and leaving the amb in a repeater like mode. the goal is to allow the system (following a reset or fast reset sequence) to work around the bad dimm and keep the dimms downstream in operation until there is time for system maintenance. a amb in an intermediate dimm should conti nue to operate in pass-thru mode so that nb and sb data are relayed to the next links in the channel with minimal functionality. only the following parts of the amb need to be healthy to support this mode: ? clock inputs and pll circuitry to generate fbd clocks ? minimal core logic around fbd i/o enabling and reset ?reset generation ? bit lock detection. ? at least n-1 fbd lanes operational in nb and sb channels
errors 76 intel? 6400/6402 advanced memory buffer datasheet
intel? 6400/6402 advanced memory buffer datasheet 77 smbus interface 7 smbus interface the intel 6400/6402 advanced memory buffer (amb) has configuration registers that provide flexibility and allow for testing and op timization of the chip. upon system reset (reset#), configuration registers are reset to predetermined default states, representing the minimum feature set required to successfully bring up a nominal channel. it is expected that the bios w ill properly determine and program the optimal configuration settings. for all of these registers, the amb supports register access mechanisms through smbus as well as through in-band channel commands. 7.1 system management access system management software in the platform can initiate system management access to the configuration registers. this can be done through smbus accesses. the mechanism for the server management (sm) software to access configuration registers is through a smbus specification , rev. 2.0-compliant slave port. the amb contain this slave port and allow access to the configuration registers. smbus operations are made up of two major steps: (1) writing information to registers within each component and (2) reading conf iguration registers from each component. the following sections will describe the protocol for an smbus master to access a amb?s internal configuration registers. refer to the smbus specification , rev. 2.0 for the bus protocol, timings, and waveforms. 7.1.1 smbus 2.0 specification compatibility the principal requirement from the smbus 2. 0 specification is support of the ?high power? bus electrical specifications described in the layer 1 (physical layer) chapter. for the simple register access requirements of fbd, no layer 2 (link layer) or layer 3 (network layer) extensions provided by th e 2.0 specification are used. in particular, there is no support for address resolution protocol (arp) since fbd is using fixed addresses. additionally, only a subset of th e network packet protocols described in the specification are needed and these are described below. amb?s are required to support read and write transactions without requiring clock stretching in order to simplify host contro ller requirements. for similar reasons, amb?s should not master smbus transactions in normal operation. 7.1.2 supported smbus commands the amb smbus rev. 2.0 slave ports support register reads and writes built out of the following smbus primitive commands: the slave address for each primitive smbus transaction are determined from the sa pins. ? for normal fbd dimms: ? slave address[6:3] = 4?b1011 ? slave address[2:0] = sa[2:0]
smbus interface 78 intel? 6400/6402 advanced memory buffer datasheet ? for repeaters or lai ambs: ? slave address[6:3] = 4?b0011 ? slave address[2:0] = sa[2:0] each smbus transaction has an 8-bit command driven by the master. the format for this command is illustrated in ta b l e 7 - 1 below. the begin bit indicates the first transaction of a read or write sequence. the end bit indicates the last transaction of a read or write sequence. the pec_en bit enables the 8-bit pec generation and checking logic. the internal command field specifies the internal command to be issued by the smbus slave logic. note that the internal command must remain consistent (that is, not change) during a sequence that accesses a configuration register. operation cannot be guaranteed if it is not consistent when the command setup sequence is done. the smbus command field specifies the smbus command to be issued on the bus. this field is used as an indication of the leng th of transfer so the slave knows when to expect the pec packet (if enabled). reserved bits should be written to zero to preserve future compatibility. 7.1.3 fbd amb register access protocols sequences of these basic commands will init iate internal accesses to the component?s configuration registers. each configuration read or write first consists of an smbus write sequence which initializes the register?s address. the term sequence is used since these variables may be written with a single block write or multiple word or byte writes. once these parameters are initialized, the smbus master can initiate a read sequence (which performs a configuration read) or a write sequence (which performs a configuration write). table 7-1. smbus command encoding 7654 3:2 1:0 begin end rsvd pec_en internal command: 00 - read dword 01 - write byte 10 - write word 11 - write dword smbus command: 00 - byte 01 - word 10 - block 11 - rsvd table 7-2. smbus protocol addressing fields address field name bits description reserved 7:0 reserved - amb may alias all these addresses to 00h dev 4:0 reserved - amb may alias all these addresses to 00h function 2:0 function address reg_num[15:8] 7:0 reserved - amb may alias all these addresses to 00h reg_num[7:0] 7:0 register address within function
intel? 6400/6402 advanced memory buffer datasheet 79 smbus interface 7.1.3.1 configuration register read protocol configuration reads are accomplished through an smbus write(s) and later followed by an smbus read. the write sequence is used to initialize the bus number, device, function, and register number for the configuration access. the writing of this information can be accomplished through any combination of the supported smbus write commands (block, word, or byte). the internal command field for each write should specify read dword. after all the information is set up, the last write ( end bit is set) initiates an internal configuration read. if an error occurs during the internal access, the last write command will receive a nack. a status field indicates abnormal termination and contains status information such as target abort, master abort, and time-outs. the status field encoding is de fined in the following table. examples of configuration reads are illustrate d below. all of these examples have pec (packet error code) enabled. if the master does not support pec, then bit 4 of the command would be cleared and there would not be a pec phase. for the definition of the diagram conventions below, refer to the smbus specification , rev. 2.0. for smbus read transactions, the last byte of data (or the pec byte if enabled) is nacked by the master to indicate the end of the transaction. for diagram compactness, ?register number[]? is also sometimes referred to as ?reg number? or ?reg num?. the following example uses byte reads. table 7-3. status field encoding for smbus reads bit description 7 reserved 6 reserved 5 reserved 4 internal target abort 3:1 reserved 0 successful figure 7-1. smbus configuration read (b lock write / block read, pec enabled) s x011_xxx w a cmd = 11010010 a sr x011_xxx r a byte count = 5 a status a data[31:24] a data[23:16] a data[15:8] a data[7:0] a s x011_xxx w a cmd = 11010010 a byte count = 4 a reserved a device/function a reg number[15:8] a reg number [7:0] a pec a p pec n p
smbus interface 80 intel? 6400/6402 advanced memory buffer datasheet 7.1.3.2 configuration register write protocol configuration writes are accomplished through a series of smbus writes. as with configuration reads, a write sequence is firs t used to initialize the bus number, device, function, and register number for the configuration access. the writing of this information can be accomplished through any combination of the supported smbus write commands (block, word or byte). on smbus, there is no concept of byte enab les. therefore, the register number written to the slave is assumed to be aligned to the length of the internal command. in other words, for a write byte internal command, the register number specifies the byte address. for a write dword internal comman d, the two least-significant bits of the register number are ignored. this is diffe rent from pci where the byte enables are used to indicate th e byte of interest. after all the information is set up, the smbus master initiates one or more writes which sets up the data to be written. the final write ( end bit is set) initiates an internal configuration write. if an error occurred, the smbus interface nacks the last write operation just before the stop bit. examples of configuration writes are illustrate d below. for the definition of the diagram conventions below, refer to the smbus specification , rev. 2.0. figure 7-2. smbus configuration read (w rite bytes / read bytes, pec enabled) s x011_xxx w a cmd = 10010000 a reserved a pec a p s x011_xxx w a cmd = 00010000 a device/function a pec a p s x011_xxx w a cmd = 01010000 a register[7:0] a pec s x011_xxx w a cmd = 00010000 sr x011_xxx r a data[31:24] s x011_xxx w a cmd = 00010000 a sr x011_xxx r a data[23:16] a pec n p s x011_xxx w a cmd = 00010000 a sr x011_xxx r a data[15:8] a pec n p s x011_xxx w a cmd = 01010000 a sr x011_xxx r a data[7:0] a pec n p a a p a pec n p s x011_xxx w a cmd = 10010000 sr x011_xxx r a status a a pec n p s x011_xxx w a cmd = 00010000 a register[15:8] a pec a p figure 7-3. smbus configuration double word write (block write, pec enabled) a s x011_xxx w a cmd = 11011110 a byte count = 8 a reserved a device/function a reg number[15:8] a reg number [7:0] a data[31:24] data[23:16] a data[16:8] a data[7:0] a pec a p
intel? 6400/6402 advanced memory buffer datasheet 81 smbus interface 7.1.4 smbus error handling the smbus slave interface handles two types of errors: internal and pec. these errors manifest as a not-acknowledge (nack) for the read command ( end bit is set). if an internal error occurs during a configuration write, the final write command receives a nack just before the stop bit. if the mast er receives a nack, the entire configuration transaction should be reattempted. if the master supports packet error checki ng (pec) and the pec_en bit in the command is set, then the pec byte is checked in th e slave interface. if the check indicates a failure, then the slave will nack the pec packet. 7.1.5 smbus resets 7.1.5.1 smbus transactions du ring fbd link fast reset when the fbd link transitions into electrical id le (disable state) from an active state, this causes a ?fast? reset of all non-sticky registers in the amb. smb transactions underway during a ?fast? reset will not complete normally. figure 7-4. smbus configuration double word write (write bytes, pec enabled) figure 7-5. smbus configuration word write (block write, pec disabled) figure 7-6. smbus configuration byte write (write bytes, pec disabled) s x011_xxx w a cmd = 10011100 a reserved a pec a p s x011_xxx w a cmd = 00011100 a device/function a pec a p s x011_xxx w a cmd = 00011100 a register[15:8] a pec a p s x011_xxx w a cmd = 01011100 a data[7:0] a pec a p s x011_xxx w a cmd = 00011100 a data[31:24] a pec a p s x011_xxx w a cmd = 00011100 a data[23:16] a pec a p s x011_xxx w a cmd = 00011100 a data[15:8] a pec a p s x011_xxx w a cmd = 00011100 a register[7:0] a pec a p s x011_xxx w a cmd = 11001010 a byte count = 6 a reserved a device/function a reg number[15:8] a reg number [7:0] a data[16:8] a data[7:0] a p s x011_xxx w a cmd = 10000100 a reserved a p s x011_xxx w a cmd = 00000100 a device/function a p s x011_xxx w a cmd = 00000100 a register[15:8] a p s x011_xxx w a cmd = 01000100 a data[7:0] a p s x011_xxx w a cmd = 00000100 a register[7:0] a p
smbus interface 82 intel? 6400/6402 advanced memory buffer datasheet this is not a problem since smbus accesses are only required prior to initial link turn-on or for diagnostic access when a link can not be initialized. it is the host?s responsibility to monitor for smbus transactions during a fast reset and retry these transactions when the link is stable. an interrupted transaction will result in th e amb as slave not properly acknowledging the master. this protects write transactions. however, if a read transaction has proceeded to the point where the slave no longer acknowledges the master, read data can be lost when the smbus state machine is re set. if pec is enabled, this data loss will be detected as a pec error. the host restricting usage of smbus to when th e link is idle or monitoring ?fast resets? and retrying transactions that are interrupted is the safest smbus access method. 7.1.5.2 smbus interface state machine reset the slave interface state machine can be reset by the master in two ways: ? the master holds scl low for 25 ms cumulative. cumulative in this case means that all the ?low time? for scl is counted between the start and stop bit. if this totals 25 ms before reaching the stop bit, the interface is reset. ? timing is set up to be: * 30 ms at ddr2-667 * 37.5 ms at ddr2-533 ? the master holds scl continuously high for 50 s. ? timing is set up to be: * 60 s at ddr2-667 * 75 s at ddr2-533 7.1.5.3 smbus transactions during hard reset since the configuration registers are affected by the reset pin, smbus masters will not be able to access the internal registers while the system is reset.
intel? 6400/6402 advanced memory buffer datasheet 83 clocking 8 clocking 8.1 intel 6400/6402 advanced memory buffer (amb) clock domains there are three main clock domains in th e intel 6400/6402 advanced memory buffer (amb). the fbd (fully-buffered dimm) link doma in is a 12x multiple of the core clock. the ddr data-rate domain is 2x the core clock. the core domain frequency equals the ddr command-rate, and is a 2x multiple of the external reference clock. the ratio between these domains remains fixed.the amb logic in each domain is shown in figure 8-1 .
clocking 84 intel? 6400/6402 advanced memory buffer datasheet figure 8-1. amb clock domains pll reference clock southbound data in 1x2 10x2 dram clock 4 10x2 southbound data out dram data / strobe 72 + 18x2 northbound data out northbound data in dram clock # 4 dram address / command copy 1 29 nort h south q q set clr d q q set clr d q q set clr d dat a c rc ge n & read fifo 36 deep wr ite dat a fifo dat a ou t cmd out sync & idle pattern ge ne r ator comm and de co d e r & crc check external membist ddr calibration & ddr iobist /dfx data in smbus controller smbus 5 core csr?s thermal sensor mux ibist /dfx - rx link init sm and control jtag controller 5 jtag mux 14x2 mux failover 14*6*2 ibist/dfx - rx init patterns sb lai buffer 2 de ep x 120 nb l ai bu f f e r 1 de ep x 168 lai data q q set clr d mux dram address / command copy 2 29 ddr st at e controller lai controller 14x2 2x ddr + 2xbar 1x rd ddr 4 phases of 6x fbd 1x ddr/core failover dram cmd core control: nb/sb combined init reset control csr chain control internal debug control reset s init patterns sb link csr?s dat a m e r g e re - s ynch re - t im e alignment deskew piso demux 10*12 10*12 state and control fr am e clks and state dat a m e r ge re-s ynch re - t im e alignment deskew piso demux state and control fr am e clks and state link init sm and control nb link csr?s 14*12 ddr link csr?s 10/17/03 gold bridge block diagram 1x fixed/ hv m ibist/dfx - tx 2x ca ddr lai match and mask ibist/dfx - tx res et control ref clk res et# lai data lai data amb block diagram
intel? 6400/6402 advanced memory buffer datasheet 85 clocking 8.2 pll clocks the pll receives a reference clock at 1/2x, where x is the ddr command frequency. the pll generates the internal clocks shown below in ta b l e 8 - 1 . there are additional pll modes used fo r testing and bring up. details are in section 8.9, ?additional clock modes? on page 87 . 8.3 reference clock a low-jitter differential reference clock (ref clk) is routed to the host and each dimm from a common clock source on the system board. this reference clock uses hcsl (high-speed current steering logic) sign aling and its detailed requirements are documented in the fb-dimm dr aft specification: high speed differential p2p link at 1.5v. the amb uses the reference clock to generate internal buffer clocks and to generate the clocks to the drams locate d on each dimm. the frequency of the reference clocks (133 to 200 mhz) is one half the frequency of the dram base clock (267 to 400 mhz), that is, it is one half the command-rate of the dram devices located behind the amb. for example, for ddr2 667 dram devices the reference clock frequency would be 167 mhz. the reference clock is the basis for the various core, fbd and ddr internal clocks. it is a requirement for the fbd channel to op erate in the presence of spread spectrum clocking (ssc), which is commonly used to reduce emi. the reference clocks for fbd have to meet a jitter specification. the reference clocks to the host and each dimm are mesochronous, that is, they have an unknown but fixed phase relationship to each other or the memory channel. this simplifies pcb routing since no precise length matching is required. however an upper bound for the clock length mismatch is necessary since the maximum phase difference between the data sent out with the transmitte r clock and the receiver clock needs to be limited in the presence of ssc. it is required that all the reference clocks for a given fbd channel originate from a single cl ock source, for example, a common clock synthesizer or clock oscillator, and travel through the same jitter spectrum modifying components (for example, pll clock buffer) th ereby ensuring that there is no frequency mismatch or frequency dr ift between fbd agents. table 8-1. pll clocks clock notes ddrca1x this clock is unused in the amb. it is still used for setting the alignm ent of the ddrca2x clock within the pll. ddrca2x rising edge aligned to ddr ca1x. also allows command/address bus to run at ddr data rate in lai mode. ddr1x along with ddr2x and ddr2x#, used by dd ri/o cluster to generate ddr command clock, ddr dqs output, and ddr dq output. th is is also used as core clock. ddr2x rising edge aligned to ddr1x ddr2x# inverted ddr2x ddrrd1x used by ddri/o cluster to advance the ddr read fifo read-pointer. it is also by northbound logic. this is driven by an independent divider and can be moved w.r.t to the core clock in 2ui increments to align it with the ddr data availability. hvmclk this is a fixed clock at the same frequency as the core clock but is driven by a independent divider. fbdck (4) four phases of 6x clock. provided to fbd northbound, southbound high-speed i/o clusters. these signals are connected by abutment.
clocking 86 intel? 6400/6402 advanced memory buffer datasheet the pll will also operate with the refclk at 100 mhz during special transparent mode testing. since there is no high speed link operation, there can be looser requirements for jitter and no ssc. 8.4 fbd lane frame clocks each fbd i/o lane also sources a frame clock at core frequency that is matched to the parallel data sourced by the lane. these are us ed during initialization to capture data in training sequences and to align data across the link. 8.5 clock ratios the core, ddr and fbd link clock domains are fixed in a 1:2:12 ratio. the smbus asynchronous subsystem need not scale. the supported clock ratios are shown in ta b l e 8 - 2 . 8.6 ddr dram clock support the ddr command clocks ( clk[3:0] , clk [3:0] )are generated by the amb. they operate at 1x the core frequency for ddr2. the write strobes operate at the same frequency as the clk/clk signals. write data and check bits are aligned to both the risi ng and falling edges of the write strobe. the source-synchronous read strobes operate at the same rates as the write strobes. each read strobe will be individually aligned with its portion of the data and check-bits. 8.7 smbus the smbus clock is synchronized to the core clock. data is driven into the amb with respect to the serial clock signal. data receiv ed on the data signal with respect to the clock signal will be synchronized to the core using a metastability hardened synchronizer guaranteeing an mtbf greater than 10 7 years. when inactive, the serial clock should be deasserted (high). the serial clock frequency is 100 khz. 8.8 clock pins table 8-2. amb clock ratios fbd link data rate ddr data rate core frequency ref clk fbd link : core core : ddr 3.2 gb/s 533 mb/s 266 mhz 133 mhz 12 : 1 1 : 2 4.0 gb/s 667 mb/s 333 mhz 167 mhz 12 : 1 1 : 2 table 8-3. clock pins (sheet 1 of 2) pin name pin description sck amb clock sck amb clock (complement) vccapll analog power supply for pll vssapll analog ground for pll tck tap clock
intel? 6400/6402 advanced memory buffer datasheet 87 clocking 8.9 additional clock modes 8.9.1 transparent mode clocking in transparent mode, all input signals are registered in the core clock domain and all outputs are driven from the output of regi sters clocked by core clock. in order to achieve determinism on a tester in this mode, the feedback clock for the pll is taken from the end of the core clock tree. this makes all timing relative to the input reference clock. 8.10 pll requirements 8.10.1 jitter the fbd link clocks are produced by a pll th at multiplies the sclk frequency. see the high speed differential point-to-point link at 1.5 v for fully buffered dimm specification and the circuit architecture specifications for the ddr, fbd and pll custom i/osfor more details. 8.10.2 pll bandwidth requirements the pll -3db loop bandwidth shall be betw een frefclk/18 and frefclk/6 with a 3db maximum peaking. see the high speed differential point-to-point link at 1.5 v for fully buffered dimm specification and the circuit architecture specifications for the ddr, fbd and pll custom i/osfor more details. 8.10.3 external reference the pll uses an external refere nce clock - described previously. see the high speed differential point-to-point link at 1.5 v for fully buffered dimm specification and the circuit architecture specifications for the ddr, fbd and pll custom i/os for more details. scl smbus clock cke[1:0]{a,b} ddr clock enables clk[3:0] ddr clocks clk [3:0] ddr clocks (complements) dqs[17:0] ddr data/check-bit strobes dqs [17:0] ddr data/check-bit strobes (complements) table 8-3. clock pins (sheet 2 of 2) pin name pin description
clocking 88 intel? 6400/6402 advanced memory buffer datasheet 8.10.4 spread spectrum support the amb pll will support spread spectrum clocking (ssc). ssc is a frequency modulation technique for emi reduction. instead of maintaining a constant frequency, ssc modulates the clock frequency/period along a modulation profile.the amb is designed to support a nominal modulation frequency of 30-33 khz with a downspread of 0.5%. see the high speed differential point-to-point li nk at 1.5 v for fully buffered dimm specification and the circuit architecture specifications for the ddr, fbd and pll custom i/os for more details. 8.10.5 frequency of operation the pll?s support a range of operation that exceeds the amb?s functional range. this allows the amb to be tested at a higher frequency than the maximum specification to provide test guardband. lower frequencies are supported to allow system debug. the pll will also operate with th e refclk at 100 mhz during transparent mode testing. 8.10.6 reset# the externally generated reset# signal in dicates when the core voltage is up and reference clocks are stable. the core will us e an asserted reset# to asynchronously put the amb in reset, and to hold the amb in reset. for details see the reset chapter. external clocks dependent on pll?s are dd r clocks and strobes, and smbus clock. 8.10.7 other pll characteristics the pll vcos oscillate continually from po wer-up. at all other times, pll output dividers track the vco, providing pulses to the clock trees. logic that does not receive an asynchronous reset can thus be reset ?synchronously?. a ?locked? pll will only serve to prove that the feedback loop is continuous. it will not prove that the entire clock tree is continuous. the pll is disabled for leakage test.
intel? 6400/6402 advanced memory buffer datasheet 89 clocking 8.11 analog power supply pins the incorporates one pll. this pll requires an analog v cc and analog vss pad. therefore, there will be external lc filters for the amb . separate filtered power pins are available for use by a pll if needed. warning: the filters are not to be connected to board vss. the ground connection of the filters will be routed through the packag e and grounded to on-die vss. figure 8-2. fbd pll power supply filter l1 r1 4.7uh 1 2 c1 10uf 6.3v c2 10uf 6.3v 0805 0805 vssa vcc vcca 0805 0.4 package routing package routing package vssa bump die connected to pll circuitry vcca bump connection in metal 6 vssa pin vss bump board vcca pin
clocking 90 intel? 6400/6402 advanced memory buffer datasheet
intel? 6400/6402 advanced memory buffer datasheet 91 reset 9 reset this chapter describes aspects of hardware reset specific to the intel 6400/6402 advanced memory buffer (amb). 9.1 platform reset functionality the fbd channel provides a reset# signal to initialize all ambs on the channel. the generation of this signal is platform depend ent, and may be asynchronous to the clock. the platform will assert reset# at power up . this signal may be asserted at other times, such as a warm boot. it is possible that platform conditions cause reset# to be asserted at any time, including in the middle of dram commands. this could occur during a warm boot. under these conditions, the amb will be re set and the contents of memory are not guaranteed. the state of the drams must be guaranteed when reinitialized for proper response. 9.1.1 platform rese t# requirements ? reset# must be asserted at power up, and may also be asserted at other times such as a warm boot. asserting reset# at warm boot will clear all error logging registers.asserting reset# only at power up will allow error logging registers to be maintained through a warm boot cycle. ? asserting reset# at warm boot will clear all error logging registers. there is no need to delay or lockout rese t# going to the fbd channel since the amb will guarantee that the tdelay parameter is met. reference clocks must remain stable for at least 4 clock cycles after reset# is a sserted in order to allow the amb to satisfy the tdelay requirement. ? reset# must be asserted during power up, and for a minimum of 1 ms after the fbd channel power and reference clocks sck/sck are stable. ? reset# must be asserted for a minimum of 100 us. this will only apply if reset# is re-asserted while power and clocks remain stable. ? after initial power on, if the reference clock frequency is changed while reset is asserted, reset must not be deasserted until power and reference clocks sck/sck have been stable for at least 1 ms. 9.1.2 reset# requirements reset# is asynchronously ap plied to all storage elements. assertion of reset# does not effect amb pll operation. in ternal clocks continue to run. upon assertion of reset#: ? dram cke is driven low asynchronously wi th minimal delay (within 1 clock, asynch path from reset to cke). ?dram clk/clk continue to run with no short pulses generated within the tdelay period specified in jedec ballot 1410.01. ?dram clk/clk may be stopped after the tdelay has been satisfied.
reset 92 intel? 6400/6402 advanced memory buffer datasheet ? all internal register bits are set to their default values, including any error logging bits that are normally not reset by the channel reset. ? the initialization fsm is put into the disable state. all internal state machines are put in their default state. ? all southbound and northbound tx outputs ar e put into electrical idle (ei) mode. all tx outputs stay in ei mode until the appropriate initialization state after deassertion of reset#. 9.1.3 power-up and suspend-to-ram considerations in a suspend to ram environment the drams are put into self-refresh mode, and the fbd channel power may be removed. the dram power supply remains active. this supply is used by the amb dram interface i/o circuits. the amb must keep the cke pins low, without glitches through this transition. reset# should be asserted before channel power goes away when entering s3. ddr control and clock signals will be pulled low during initial power up. this may be done with a voltage detection circuit. cke must be maintained low during this time without glitches to prevent the drams from exiting self refresh mode. the reset# signal will remain low during the power-up sequence, for at least 1ms after power and clocks are stable. the cke signals must remain low until a command is received that takes the cke signals high. this could be an exit self refresh command, or any of the dram cke commands. 9.2 reset types types of reset: ? hard resets occur when the reset# signal is low. this usually occurs at power up. ? fast resets occur when there is a reset event on the primary southbound fbd link. ? smbus resets affect only the smbus interface. 9.3 pads controlling reset the amb resets are controlled by the rese t# pad and the primary southbound fbd link pads. the reset# pad resets the chip at power up. when the primary southbound fbd link pads indicate ei, a fast reset is started. 9.3.1 reset# pad the low true reset# pad is controlled by th e platform which holds it low until after power and sck/sck are stable. reset# asynchronously resets most of the chip to a safe initial state. the plls and tap are not reset.when reset# goes high, logic running on refclk waits an appropriate amount of time and then resets the core. logic running on refclk is reset by reset# directly. as the chip comes out of reset, the primary south fbd link is expected to be in a reset state. as the link sequences through the first initialization sequence af ter power up, the amb will not generate any dram commands other than to maintain ck e low and enable dram clocks at the appropriate time.
intel? 6400/6402 advanced memory buffer datasheet 93 reset 9.3.2 primary fbd link when an ei occurs on the primary southbound fbd link a fast reset is started. this starts a handshake procedure putting the drams into self-refresh mode and resetting the amb. fast reset does not reset the pll, sticky flops, and sticky configuration registers. 9.4 details reset details and sequences will be released in a future revision of this document. 9.4.1 cold power-up reset sequence 1. 1.5 v, 1.8 v and 3.3 v power supplies comes up ? reset# asserted low while power supplies are coming up ? cke?s are low upon 1.8 v power up 2. bios queries spd on all the fbds on th e channel to determine operating conditions ? channel frequency, compatible dimms, dram and amb parameters 3. clocks up and stable at required frequency ? reference clocks (sck/sck) should be stable at least 1ms before reset# deasserted for designs with pll running independent of reset# ? dram clocks (clk/clk) may be toggling at this time 4. reset# deasserted high ? cke?s to drams remain low 5. no transactions for at least 200 us after reset# deasserted for designs with pll?s tied to reset# ? no smbus or in-band activity during this period ? dram clocks should be stable at this time 6. amb parameters critical for robust link initialization are programmed via smbus ? architected link registers ? linkparnxt: link frequency - note: some ambs may use this write to trigger pll init ? fbdsbcfgnxt: sb transmitter drive strength, de-emphasis setting and pass- thru mode ? fbdnbcfgnxt:nb transmitter drive strength, de-emphasis setting and pass- thru mode ? fbdblto:if nb lanes are to be deconfigured ? personality bytes from spd needed for link initialization ? persbyte[5:0]nxt: in the amb, these match: ? spdpar01nxt: various fbd io implementation specific controls ? spdpar23nxt:various fbd io implementation specific controls ?spdpar45nxt ? remaining personality bytes are not requ ired for link init and may be loaded over the high speed fbd configuration register accesses
reset 94 intel? 6400/6402 advanced memory buffer datasheet ? these ?next? register values must be transferred to the matching ?current? registers before the fbd link leaves the disable state ? updates may be done right after the nxt register is updated when link is in electrical idle. updates must be comple te before the beginning of training. 7. fbd link is initialized including calibration state. 8. remaining amb configuration is loaded over high speed fbd channel ? cmd2data, remaining personality bytes, other spd parameters, dram parameters, errors enabled, and so forth. 9. fbd link goes through fast reset (no calibration) to establish the desired configuration 10. dram interface can now be established a. mrs/emrs setup using dcalcsr and dcaladdr b. dram interface calibrated using dcalcsr c. optionally, membist functionality can be used to test the drams d. dram?s can be initialized using membist 11. refresh must now be transferred to the host ? option 1: use fast reset on the link with drams in self-refresh ? clear dsreftc:dissrexit to enable fast self refresh exit when link is re- established ? put the link in disable state which automa tically puts the drams in self refresh. ? start the refresh engine on the host ? bring up the link again ? host starts sending refresh commands as soon as l0 state reached ? option 2: write control register to disable auto-refresh engine followed by ? clear dareftc:arefen to turn off auto-refresh ? host then immediately takes over sending refresh commands 12. host now has complete control of the fbd channel 9.4.2 s3 restore power-up reset sequence follow steps 1) through 9) from cold power up sequence above. step 2, bios query of spd may be skipped if these values are sa ved elsewhere. either way the personality bytes from the spd are restored to their prior values in the amb. once this is done the dram interface can be restored. 1. dram interface can now be restored a. drc, mtr, dsreftc, and dareftc register restored b. stored s3restore[15:0] are written back into each amb ? do not recalibrate the dram interface using dcalcsr ? do not reinitialize the drams using membist 2. refresh must now be transferred to the host as in cold power up 3. host now has complete control of the fbd channel and prior dram memory state has been preserved.
intel? 6400/6402 advanced memory buffer datasheet 95 reset 9.4.2.1 implementation detail 1. the reset# pad starts out low. this asynchronously asserts all internal resets. 2. after power comes up and refclk stabilizes, the plls start generating clocks. at this time, the phase relations between the clocks are not guarantied to be correct. 3. reset# rises. a synchronized version releases the reset on the logic running on refclk. the chip monitors reset# for 100 and 200 usec reset# must remain stable during this time. if it falls the wait starts again until a stable high occurs. 4. after a stable reset# high is detected , the pll is reset to bring the generated clocks into correct alignment with themselves. 5. at this point the chip waits for the pll to indicate reset complete. when it does, the internal resets are deasserted for all clock domains except tck. 9.4.3 reset sequence for a fast reset figure 9-1 below shows a fast reset sequ ence. important steps are described below: ? the chip is running with the reset# high and a full link initialization sequence has been completed at least once. ? a electrical idle is detected on the primary southbound fbd link. ? if not the last dimm, forward electrical idle southbound to the next dimm. ? drive logic ?0?s? on northbound transmitters. ? the amb completes the fast reset handshake (see below). ? reset is asserted for all non-sticky registers. ? the values in the next fields are transferred to the current fields. ? the pll remains in lock but the clock outputs are reset, causing them to realign. ? if not the last dimm, the amb waits for an electrical idle to appear on the secondary northbound fbd link. ? forward electrical idle northbound ? the chip is released from reset. ? freezing sticky configuration registers through reset 9.4.4 fast reset handshake when a reset event is detected on the prim ary southbound fbd link, the amb does the following: ? immediately stops accepting new dram commands from the link. ? halts all on-chip algorithms, including dram cal and membist. ? waits 200 ns for any in-process dram commands to complete. ? asserts cke high. ? waits 200 ns for dram self-refresh exit to complete. ? sends a dram precharge all to all ranks. ? waits 30 ns for precharge all to complete. ? sends dram self-refresh entry commands to all ranks .
reset 96 intel? 6400/6402 advanced memory buffer datasheet 9.4.5 timing diagrams figure 9-1. cold power-up reset figure 9-2. amb fast reset sequence 1.5, 3.3 v supplies ref clk reset# cke 1.8 v supply stable quiet smbus pgm phys link regs disabled fbd link link init and cal amb config ei bring up dram ifc inputs to amb outputs from amb at least 2 msec at least 200 usec dram clk stable nxt ? cur updated by this time amb cold power-up reset sequence inputs: value irrelevant. outputs: value unknown link init reset# high cke power supplies and ref clk stable secondary nb fbd inputs to amb outputs from amb dram clks stable nxt ? cur updated by this time amb fast reset sequence (dissrexit not set) 0001 l0 ei ts0 ts1 ts3 ts2 primary sb fbd l0 dram commands on-going l0 ei ts0 secondary sb fbd ts0 primary nb fbd ei l0 0's ts0 ei srf exit srf entry non-sticky reset precharge all & autorefresh stable may change ts1 ts3 ts2 l0 ts1 ts3 ts2 l0 ts1 ts3 ts2 l0 l0 0's srf exit internal signals
intel? 6400/6402 advanced memory buffer datasheet 97 reset 9.5 i/o initialization 9.5.1 fbd channel initialization channel initialization states and uses of fast reset are described in the fb-dimm architecture and protocol specification . 9.5.2 ddr analog compensation commences at po wer-up. it?s completed by ?reset#? deassertion. after the fbd link reaches l0 state, setting the drc.cken configuration bit enables cke.the ddr interface is now ready for calibration.
reset 98 intel? 6400/6402 advanced memory buffer datasheet
intel? 6400/6402 advanced memory buffer datasheet 99 transparent mode 10 transparent mode figure 10-1 shows the typical architecture of a dram with a 4 bit wide data path. the memory array operates at 100 to 200 mhz. wi th a pre-fetch of 4, there are 4 bits of data on each array access, allowing us to clock data in or out at 400 mhz. this 4 to 1 multiplexing and de-multiplexing is perf ormed in the input register or output multiplexer. 10.1 transparent mode refer to the jedec publication: fb-dimm draft specification: design for test, design for validation (dfx) specification for information regarding transparent mode. transparent mode is designed to allow acce ss to the dram behind the amb. in this mode high speed pins are converted into low speed pins and mapped to dram pins. the objective is to allow the use of existing test equipment and manufacturing processes. the tester must be capable of operation at 200 mhz. transparent mode offers potential improvements in test capacity over traditional dimms. in this mode, fbd requires only 60 active pins to test the dimm. figure 10-1. dram architecture
transparent mode 100 intel? 6400/6402 advanced memory buffer datasheet data from the tester is 16 bits wide at 200 mhz (single data rate). the data rate is doubled and the width halved on the way to the dram (by clocking out 8 bits of data on the rising edge of the clock and the remaining 8 bits on the falling edge). the tester will drive data to be written to the dram on a write pass and data to be compared on a read. dram data and the expect ed data from the tester is compared in the amb. if the actual and expected data di ffer the pass/fail outputs will indicate which dram failed. 10.1.1 block diagram the data paths for transparent mode will by pass all link logic and normal dram control logic. the ddr interfaces are used intact. figure 10-2 is a block diagram of the intel 6400/6402 advanced memory buffer (amb) in transparent mode. 10.1.2 transparent mode signal definitions when the transparent mode is enabled. the fbd (fully-buffered dimm) differential input pins designed in the amb part become two single ended inputs. in transparent mode the fbd input pins require 0 to 500 mv swing (half of the normal differential input voltage). input slew rates should be approximately 5 v/ns. this parameter is not critical, but it must be fast enough to be recognized by the amb receiver. the ddr pins will operate with normal ddr2 timings and levels. the amb clock input pins will be used for transparent mode as well as normal mode. this also allows use of most of the existing on-chip clock distribution network. figure 10-2. block diagram fo r the amb in transparent mode q q set clr d q q set clr d q q set clr d q q set clr d q q set clr d tcmd/tadd tdrv tdq status dram cmd/add q q set clr d q q set clr d enb s 1 s 2 d cenb multiplexer dftdata dramwr dram dq ddr io read data fifo q q set clr d shift register controlled by amb cl, al, cmd2data or hard coded to rl=4 and cmd2data=4 s 1 s 2 d c enb multiplexer shift register controlled by amb cl, al or hard coded for wl=3 tcmp read pointer endout, dramrd q q set clr d enb dram dqs 144 16 16 enb
intel? 6400/6402 advanced memory buffer datasheet 101 transparent mode 10.1.3 transparent mode to fbd pin mapping the fbd pin mapping is shown in ta b l e 1 0 - 2 . table 10-1. additional signals in transparent mode transparent mode signal name pin count frequency direction definition tcke[1:0] 2 200 mhz in controls cke[1:0]{a,b} tcs#[1:0] 2 200 mhz in todt 1 200 mhz in controls both odt[1:0]{a,b} tras# 1 200 mhz in tcas# 1 200 mhz in twe# 1 200 mhz in controls we {a,b} tba[2:0] 3 200 mhz in ta[14:0] 15 200 mhz in tdrv 1 200 mhz in tester signal to drive data on writes tcmp 1 200 mhz in tester signal to compare on reads tdq[15:8] 8 200 mhz in early data to each byte tdq[7:0] 8 200 mhz in late data to each byte tpf[8:0] or tdqo[15:0] 9 or 16 200 mhz out used for pass/fail (8:0) or direct access (15:0) sum of receivers sum of drivers 44 16 table 10-2. mapping of fbd pins in transparent mode fbd pin name count speed transparent mode signal name comment sn[0], sn [0] 2 200 mhz tcke[1:0] sn[1], sn [1] 2 200 mhz tcs#[1:0] sn[2], 1 200 mhz todt sn [2] 1 200 mhz tras# sn[3], 1 200 mhz tcas# sn [3] 1 200 mhz twe# sn[4], sn [4] sn[5] 3 200 mhz tba[2:0] sn[13:6], sn [13:6] 16 200 mhz ta[15:0] ps[8] 1 200 mhz tdrv ps [8] 1 200 mhz tcmp ps[7:0] 8 200 mhz tdq[15:8] early data ps [7:0] 8 200 mhz tdq[7:0] late data ss[8:0] 9 200 mhz tpf[8:0] pass/fail mode (transcfg.endout =0) pn[13:7], ss[8:0] 16 200 mhz tdqo[15:0] data output mode (transcfg.endout =1) total pins
transparent mode 102 intel? 6400/6402 advanced memory buffer datasheet 10.2 transparent mode timing 10.2.1 clock frequenc y and core timing the ddr2 dram clock frequency is 200 to 400 mhz but core timings require several clocks (or ns) to complete. for example on ddr2 667: ? tcl, trp and trcd are 4 clocks or 12 ns ?trc is 57 ns ? trrd is 7.5 ns ddr2 transactions are burst-oriented, readin g or writing 4 or 8 words of data across 4 or 8 clock edges. assuming a 4 bit burst, a x8 dram will transfer 32 bits on successive edges of 2 dram clock cycles. on the tester side of the interface the same 32 bits of data is transferred, 16 bits at a time, over two dram cycles. 10.2.2 edge placement accuracy command, address and data edges should be reasonably close to the appropriate clock edge but with some margin of error. dram setup and hold times are 400 to 600 ps, while the half cycle time is at least 1250 ps. as long as the data is within 625 ps of the clock edge it will not violate setup or hold . since there will be other error terms (dimm trace length matching, jitter, and so forth) it is recommended the tester be accurate to 300 ps. during transparent mode testing, the core cl ock is tied to the input reference clock by selecting a special mode in the pll. normally , the pll uses an internal feedback loop for maintaining lock. in this special mode, the end of the core clock tree is fed back as the feedback clock to the pll. this makes dr iving and receiving data at the pins of the chip deterministic with respect to the refere nce clock. this feedback mode for the pll can be selected automatically in transparent mode. 10.2.3 transparent mode timing normally, transparent mode will use ddr2-400 timing even if the dram is rated for faster operation. optionally an amb may su pport operation at frequencies higher than 200 mhz. to set up transparent mode the appropriate amb registers should be set to al=0, cl=4 and cmd2data=4. some ambs may defaul t to these values, in which case programming has no effect. these values esta blish an internal timing relationship as illustrated in the following figures. optionally other register values may be supported for special test cases. actual placement of dram read/write or ot her commands is dependent on the incoming signals, not the amb register values. figure shows an example of a write, read, write sequence using incoming signals that co rrespond to wl=4 and rl=5. the timing relationships in red (normal font) are fi xed relationships (established by the amb register settings above). thes e edges will move together. the relationships in green (italic font) are the dram timings, which are under control of the tester.
intel? 6400/6402 advanced memory buffer datasheet 103 transparent mode timing may be changed on the fly (for exam ple, in the middle of a test pattern) by changing the placement of edges from the tester. dram mode registers can be programmed on the fly as needed by includ ing (e)mrs commands in the tester data stream. there is no need to change amb settings during a test. the only exception is that dram bl may be changed on the fly but the data logging logic may get confused if dram bl does not match the bl expected by the data logger. all other dram settings such as al and cl may be changed at any time. 10.2.3.1 write timing figure 10-2 illustrates write timing with the tester set to wl=3, 4, and 5. there is a constant offset of three cycles from tdrv to tdq and one cycle from tdq to dram dq. the dram mode registers must, of course, be set to the appropriate timing to recognize the read. for bl=8 the tdrv puls e will be 4 clocks wide rather than 2. 10.2.3.2 extended write timing the tdrv pulse may be extended indefinitely in cases where it is necessary to apply constant data to the dram pins. as long as tdrv remains asserted the amb will continuously propagate data from the tester tdq inputs through to the dram dq pins (delayed by 1 cycle) as indicated below. figure 10-1. transparent mode timing
transparent mode 104 intel? 6400/6402 advanced memory buffer datasheet 10.2.3.3 read timing figure 10-3 shows read timing with the test er set to rl=3 and rl=5. due to complexities in the handling of read data in an amb there is a latency of several cycles from the tdrv pulse to tdq and test status outputs. specifically there is a constant latency of four cycles plus the programmed cmd2data value from tdrv to tdq (8 cycles total using the amb settings above) and one cycle from tdq to dram dq. an amb may support shorter latencies but this is not required. tcmp is latched on the rising edge of core cl ock. this initiates the read inside the amb. in most cases the amb will latch dram read data slightly before tdq data is needed. the reason is most ambs will load ddr da ta into a queue in the dram domain and unload the data on a core clock edge. tdq is typically not needed until the dram data is in the core. the comparison of actual an d expected data and propagation back to the tester will occur on the next core clock edge. the timings below are for bl=4. when testing bl=8 the tcmp pulse should be 3 clocks wide rather than 1. tester dq data, dram data and the status outputs will be extended appropriately to cover the burst length. figure 10-2. transparent mode write timing
intel? 6400/6402 advanced memory buffer datasheet 105 transparent mode figure 10-3. transparent mode read timing figure 10-4. bl=8 read timing
transparent mode 106 intel? 6400/6402 advanced memory buffer datasheet 10.2.4 error reporting by default the status pins will be the xor of actual data from the dram and expected data from the tester. the amb also stores 144 bits of dq data. if the lgfbits control bit is cleared the 144 bits of data will be actual data read from the dram. otherwise the result of the data compare is stored. in either case the tester must still provide expected data for the amb to properly set the status pins. normally the test will stop when an error occu rs. it is the responsibility of the tester or test program to track errors, read error regi sters and stop or continue as appropriate. this may require multiple iterations of the same test to execute, collect data and re- start the test. 10.2.4.1 multiple failures there are some implications if multiple fail ures occur in the same dram burst. three control register bits determine how these failu res should be captured. if the log first fail (lgffail) bit is zero (default) the amb will reco rd only the last failure in a burst. when the bit is set the amb will record the first failure at the burst position matching the burst position (bstpos) setting. if the bit is set and an error is logged, no further logging will occur until the bit is cleared. a) if a failure is detected only in one half of the burst (first and second or third and fourth data words), the error pins will indi cate which dram or drams failed. the error register will indicate which data lines failed and in which data words. b) if a failure is detected in both halves of the burst (data word 1 or 2 and words 3 or 4), data from the second failure would overwrite data from the first failure. by default this is prevented by the log fail bit. the error pins will continue to operate correctly. if it is desired to collect data from a specific portion of the burst the burst position bits can be used to select an appropriate burst positi on to record. for a 4 bit burst it is possible to select data from the first or second half of the burst. for an 8 bit burst there are four positions to choose from. these mappings are illustrated in the following figure. * the last failure will be saved in whatever burst position it occurs. table 10-3. mapping of burst position bits to error capture log first fail burst position bl=4 bit0 bit1bit01234 0 x x 144 bits* or 144 bits* 1 0 0 144 bits 1 0 1 144 bits log first fail burst position bl=8 bit0 bit1bit012345678 0 x x 144 bits* or 144 bits* or 144 bits* or 144 bits* 1 0 0 144 bits 1 0 1 144 bits 1 1 0 144 bits 1 1 1 144 bits
intel? 6400/6402 advanced memory buffer datasheet 107 transparent mode 10.2.4.2 direct access - testing of individual drams in certain cases it is desirable to test one or two drams. transparent mode allows direct access to a single x8 or two x4 drams. in this mode 8 ddr dq pins are demultiplexed onto 16 sdr status pins, providing16 bit input data path (on tdq) and a 16 bit output data path on the status pins. the transparent mode configuration register has one bit (endout) to enable this mode. on reads, the dramrd bits will select the bytes of dram data to be presented on the status pins. on writes the dramwr bits select a dram to receive data from the tdq bus. a separate register holds 8 bits of default data to be applied to non-selected drams in the early/even cycles and another 8 bits for late/odd cycles. the mapping of these bits to dq selection is illustrated in the following table. dramwr is the byte of data bus selected to receive transparent write data, and byte of data bus to be compared against transparen t read data. dramwr allows a setting of 0xf (all ones) which sends the tdq input data to all dq bytes. dram rd is the byte of data bus selected to be output on transpar ent data/status pins when endout bit is set. 10.2.5 transparent mode io specifications listed below are the specifcations for transparent mode input and output pins. table 10-4. selection of 8 bit da ta paths when endout is set early data dq byte late data dq byte dram rd/wr dq 0xf (dram wr only) all bytes 8 71:64 8 17 7 63:56 7 16 6 55:48 6 15 5 47:40 5 14 4 39:32 4 13 3 31:24 3 12 2 23:16 2 11 1 15:8 1 10 07:009 table 10-5. transparent mode fb-dimm interf ace signaling specifications (sheet 1 of 2) minimum maximum units i/o voltage swing 0 500 mv input slew rate 2 v/ns input to refclk (rising or falling edges) setup time 3000 ps input to refclk (rising or falling edges) hold time 1000 ps status output valid to refclk time -1000 +1000 ps vref 200 300 mv vil (dc) -300 200 mv vil (ac) -300 150 mv vih (dc) 300 900 mv
transparent mode 108 intel? 6400/6402 advanced memory buffer datasheet note: 1. ioh: current into a 50-ohm external load to ground, with on-die transmitter termination enabled 2. iol: current into a 50-ohm external load to 1.5 v supply rail, with on-die transmitter termination enabled 10.2.6 io implementation guidelines 10.2.6.1 dedicated receivers simple one-stage receivers for the transparent mode have been added in parallel to the existing high-speed sampling receivers. the latter can be turned off during transparent mode, as well as the drc and the phase interpolator, to save power and avoid noise. an internal vref set to 0.25 v will be used, so the tester signals should oscillate between 0 and 0.5 v. the transparent mode rx should be turned off during normal mode, so as to save power/avoid noise. 10.2.6.2 common clock scheme to avoid costly implementations using strobes and fifos, a common clock scheme is followed, implemented in the core, where the data capture flops reside. since transparent mode data signals from the tester are all in phase with the 100 mhz system clock, the clock used for the capture flops has to be aligned with the external system clock (or slightly delayed, to account for the propagation delay difference between data receivers and clock receiver). aligning core clock and external clock can be done using the hvm mode circuitry included in the pll. the hvm clock tree will have to feed the capture flops, and one of its leaves has to be fed back to the pll, in order to achieve adequate synchronization. 10.2.6.3 tester interface clock and data routing the following uncertainties have to be factored in: ? tester board (tiu) trace mismatches ? package trace mismatches ? fbd low speed rx propagation delay variations due to pvt ? set up and hold of capture flops (typica lly <350 ps depending on process, voltage and temperature) ? clock synchronization mismatch, core clock pll and tree jitter (approximately 200 ps) at 200 mhz, there is a 5 ns data window. the potential fbd low speed receiver variation is approximately 300 ps propagation variation over process, voltage and temperature. package and tester interface mismatches are not expected to exceed vih (ac) 350 900 mv voh 400 mv vol 100 mv ioh 8 ma iol 12 ma table 10-5. transparent mode fb-dimm interf ace signaling specifications (sheet 2 of 2) minimum maximum units
intel? 6400/6402 advanced memory buffer datasheet 109 transparent mode 200 ps. flop setup variation should also be less than 200 ps. after removing 400 ps for clock uncertainties leaves 3.9 ns margin. while this is plenty of margin, some amount of trace matching should be done on the tester interface to minimize skew. 10.2.6.4 outgoing control signals only the tx+ pin should connect to the tester . the data on tx- can be discarded (it will toggle at the same rate as tx+). terminating tx+ on the tester should be a give n, as every tester offers this capability. terminating tx- could be done on the tester, by having a tiu (tester board) with a route and a tester connection allocated for it. it may be cheaper to just have a 50 ohm resistor tied to ground on the tiu itself, from the tx- pins. to avoid the crossing clock domains from core clock to fbd fast clocks, the transparent mode data flows directly through the analog front-end unit of the tx. 10.2.6.5 usage models 10.2.6.5.1 host side usage tx: the transmitters are set the same as in normal operation (bias on, enable termination, and so forth.). rx: rx+ and rx- signals will be independent. incoming data will free-flow through the i/o (no flops). the routing distance from tr ansparent_rxout pins should be the same for all capture flops. all these flops shou ld be clocked by the dedicated hvm clock. 10.2.6.5.2 tester side usage the tester interface should have trace-matched data signals, to avoid skews > 1 ns. the tester should have 50 ohm terminations to ground for all tx pins in use (on-tester termination can be used where applicable ). the tester should enable 50 ohm terminations to ground for all the signals sent to rx pins. this will guarantee reasonable signal integrity. 10.3 transparent mode cont rol and status registers in transparent mode, csrs will be a ccessed and programmed through smbus. see section 14.3.5, ? ?hardware configuration registers,? for register descriptions.
transparent mode 110 intel? 6400/6402 advanced memory buffer datasheet
intel? 6400/6402 advanced memory buffer datasheet 111 ddr membist 11 ddr membist 11.1 membist overview the intel 6400/6402 advanced memory buffer (amb) supports memory built-in self test (membist) for memory initialization du ring system boot up and for testing the installed memory. during dimm manufacturing, membist may be used to apply tests at speed to test the amb-to-dram interface. table 11-1 below lists the features provided by membist. at the system level, membist may be exec uted on multiple dimms simultaneously. this could be used to speed memory test during system boot. during dimm manufacturing, membist offers a fast method to detect fbd assembly- related defects, interface defects and the majority of memory-core-related defects. this testing may be done through commands initiated across the fbd channel (in-band test initiation) or through smbus or jtag commands (out-of-band test initiation), making membist compatible with mother boards, low cost ate, or standalone equipment such as continuity testers. to perform in-band testing on a motherboard, the motherboard must contain an fbd-based memory subsystem. membist is primarily intended to test th e amb-to-dram interface and not the dram core. it is expected that transparent mode will be used to test the core logic in drams already installed on dimms. for this reason, membist includes primarily those features needed for interface testing. me mbist does not include all features needed for dram core testing. traditional system test methods are expected to be used for operating system or application-based test ing of the memory subsystem. this may include existing memory stress tests, applicat ions or other tests selected by the dimm manufacturer. ddr interface testing requires stress of th e amb ddr i/o circuitry and the ddr i/o-to- core path in the dram. the test needs to be able to detect static faults (such as stuck signals) as well as dynamic faults (for example, slow timing paths) in the logic. testing this logic requires: ? delivering patterns at full speed (667 mt/s). ? incrementing and decrementing addresses. the address decoders are best tested with marching or other non-linear patterns. ? alternating data patterns (single rotating bits, checkerboards) to detect slow nodes or capacitive coupling in the data path. ? using standard interface timing (nominal clock cycle time, setup, hold, pre and post-amble). ? verifying odt operation at speed to accomplish the required testing, membis t has a number of modes of operation and data formats which can be chosen to meet the specific need. in addition, membist supports a variety of dram timings and densities. a fundamental feature of the membist archit ecture is that, unlike transparent mode, which simply replicates 8 bits of data across the dq bus, membist can control individual bits in the 72 bit dq bus. in addition, membist can apply test patterns at a rate as high as the dram address rate. to accomplish this, the membist architecture
ddr membist 112 intel? 6400/6402 advanced memory buffer datasheet provides two 72 bit words, or 144 bits of test data for each dram clock cycle. the data is supplied to the drams on ?early? and ?late? phases of the ddr clock cycle. early data is provided on the rising edge of ck. late data is provided one half cycle later on the falling edge of ck. dram compare data is treated in a similar manner with appropriate clock alignment. 11.2 membist feature summary ta b l e 1 1 - 1 lists the features of membist in summary form. each feature is explained in subsequent sections. the registers used to control these features are detailed in the membist register section. table 11-1. membist feature summary (sheet 1 of 2) feature feature description memory address control address pattern in tests user defined start and end physical address fast x, fast y, fast xy, xzy address modes choice of incrementing or decrementing addresses dynamic address inversion (dai) inverts alternate addresses x (row) address bits up to 16 y (column) address bits up to 13 (lim ited by mtr:numcol to a[13:11,9:0]) z (bank) address bits up to 3 data patterns static data patterns fixed nibble data patterns (0, 3, 5, 6, 9, a, c, f) 144-bit user-defined data pattern 288-bit user-defined data pattern dynamic data patterns 32-bit user-defined circular shifted data pattern random data pattern derived from user-specified 32-bit seed using an lfsr (crc32) data pattern inversion any data pattern can be inverted before being applied programmable dram timing control ddr2 dram timing set in amb registers burst length 4 or 8 refresh control ddr2 refresh intervals programmable in amb registers bist engine control fundamental commands write, read, read with data compare, write + read with data compare access method all registers and settings accessible using fbd, jtag, or smbus dram data width x4 or x8 dram initialization and mode settings set by amb registers execution speed a programmable number of deselect commands may be inserted after dram accesses to slow down the speed of execution execution control halt on error or run to completion of test test abort during the test
intel? 6400/6402 advanced memory buffer datasheet 113 ddr membist 11.3 membist operation 11.3.1 fundamental operations the membist logic provides a number of operational modes which can be combined in various ways to provide a large number of useful combinations. for example, there is a mode in which it is possible to select addre ss incrementing first by column and then by row, or the opposite of this. there is also a mode to dynamically invert every other address, which toggles all address lines to opposite states. these two independent modes can be combined to test a bank by toggling row address lines to opposite states or by toggling column address lines to oppo site states. limits on combinations are mentioned where they exist. membist also provides a number of comple te operations which it can perform. membist operations can be characterized as a task which membist carries out automatically after being programmed for the task. the operation begins when mbcsr:start is set by the user and ends when membist clears this same bit. membist operations include built-in algorithms and fundamental commands. membist built-in algorithms consist of complete testing schemes which are implemented in membist and which carry ou t complete tests for meeting specific testing objectives. they accomplish their testing completely under automatic control once the operation is started. failure data access failure data logged and accessible using fbd, jtag or smbus logging may be delayed to capture later failures algorithms provided algorithms operate over a specified address range with a fixed data pattern of 0xa only notation for algorithm definitions: ^ = increasing address from start to end v = decreasing address from end to start w / r = write / read and check d / i = data / inverted data number = sequence of events (x, y) = for each address, firs t x is applied, then y, before continuing to next address scan ^ (wd 1 ); ^(rd 2 ); ^ (wi 3 ); ^ (ri 4 ) init ^ (wd 1 ) mats+ ^(wd 1 ); ^(rd 2 , wi 3 ); v(ri 4 , wd 5 ); marchc? ^(wd 1 ); ^(rd 2 , wi 3 ); ^(ri 4 , wd 5 ); v(rd 6 , wi 7 ); v(ri 8 , wd 9 ); v(rd 10 ); read and check ^(rd 1 ); error logging error logging pass / fail indicator log up to 5 failing addresses record up to 4 sets of 144-bit failure data 144-bit failure data bit location accumulator marking bit failures through entire test table 11-1. membist feature summary (sheet 2 of 2) feature feature description
ddr membist 114 intel? 6400/6402 advanced memory buffer datasheet in addition, membist has 4 fundamental commands which can be utilized directly by the user. they are write, read, read with data compare, and write followed by read with data compare. they are also used by the membist built-in algorithms. some membist algorithms also utilize addition al fundamental commands that are not available to users. as a result, users cannot duplicate all algorithm functionality by sequentially running individual membist commands. 11.3.2 memory addressing a memory test is characterized by a star ting address, an ending address and a direction. the address generation logic has counters for row, column and bank addresses. membist does not change the rank bit during execution. each rank on a dimm must be tested by a separate execution of membist. addresses in membist are logical addresse s, meaning they follow the order of the dram external address pins. th e actual arrangement of bits in the array (the physical address) will differ from the logical addre ss. therefore, an addressing scheme or data pattern may not be applied to the array exactly as one might think. for example, accesses to logically adjacent cells will not ne cessarily access physically adjacent cells. for general purpose testing such as that inte nded for membist this is not an issue. in- depth array testing is best done on a portion of the array where the logical to physical mapping is known, or in transparent mode where one has full control of address and data sequencing. 11.3.2.1 address definition all addresses in membist have three comp onents: a row address, a column address and a bank address. the user communicates these values to membist through 32-bit registers. column address 0 is not stored since the drams are 72 bits wide and the membist engine has an internal 144 bit architecture. column address 10 is used for auto-precharge (always low in membist) so it is also not specified in the address registers. user-defined start and end addresses are constrained to contain a column address modulo the burst length. for instance, at bl=4, assume a memory access starts at column 0. the next access would start at column 4, the next at column 8 and so on (assuming fast y address sequencing). the address register bits reflect these constraints. bl=4 allows specification of column bits 14..2, while bl=8 allows specification of column bits 15..3. note: address register bit 15 ?r? = reserved for future use table 11-2. memory address definition, bl=4 address register bit 313029282726252423222120191817161514131211109876543210 1514131211109876543210r1413121198765432210 row column bank
intel? 6400/6402 advanced memory buffer datasheet 115 ddr membist note: address register bit 15 ?r? = reserved for future use 11.3.2.2 address generation the address generation logic and controlling re gister bits allow a variety of methods to traverse the address space of the dram. these are described in the next sections. in these explanations, the symbol x refers to the row address. row address lines are also called word lines. the symbol y refers to the column address. column address lines are also called bit lines. the symbol z refers to the bank address. the membist start address consists of a triple of row, bank, and column address (x start , z start , y start ) or (x s , z s , y s ) for brevity. likewise, the end address consists of the triple (x end , z end , y end ) or (x e , z e , y e ). the row, bank or column symbols may also be used individually to refer to a value without being included in the address triple to which it belongs. 11.3.2.2.1 address se quencing options membist provides several options to select the address space for membist operation and for sequencing through the address space chosen. ta b l e 1 1 - 4 below shows how the membist addresses are generated based on various parameters that affect address generation. detailed explanations of the entries are found in later sections. table 11-3. memory address definition, bl=8 address register bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 1514131211109876543210r15141312119876543210 row column bank
ddr membist 116 intel? 6400/6402 advanced memory buffer datasheet 11.3.2.3 address space the address space for membist is selected using the mbcsr:atype field. the choices include a single physical address specif ied in the mbaddr register, a range of addresses as specified using the mb_start_addr and mb_end_addr registers, and the full address space of the drams as specif ied in the mtr register. the range and full address spaces are depicted in the next figure, figure 11-1 . table 11-4. membist addressing behavior address type (mbscr:atype) address sequencing (mbcsr:fast) range (specified in mb_start_addr and mb_end_addr a ) notes: a. it is required that x s < x e , y s < y e and z s < z e. x s , z s , y s and x e , z e , y e are the values in mb_start_addr and mb_end_addr respectively full (uses range of 0 to mtr limit) single (specified in mbaddr) xzy counter order b xzy x, y increment 3 start to end x, y decrement 3 end to start z increments z s to z e if z s < z e z decrements z e to z s if z s < z e following is for intel 6400/6402 advanced memory buffer only and not required by the fbd dfx spec z fixed at z s if z s = z e z increments z s to mtr limit, wraps to 0, then to z e if z s > z e . z e to z s is skipped. ? z decrements z e to 0, wraps to mtr limit, then to zs if z s > z e . z e to z s is skipped. b. counter order is counter msb to lsb in the order given. counter order xzy x, y, z increment c 0 to mtr limit d x, y, z decrement mtr limit to 0 c. increment or decrement is selected using mbcsr:adir d. mtr limit is the value shown in mtr for this addr ess and refers to the top of this address range. single burst to address specified in mbaddr mbcsr:fast ignored fast y counter order xy x, y increment start to end x, y decrement end to start z fixed at z s. z e is ignored. counter order xy x, y increment 0 to mtr limit x, y decrement mtr limit to 0 z fixed at 0 fast x counter order yx x, y increment start to end x, y decrement end to start z fixed at z s. z e is ignored counter order yx x, y increment 0 to mtr limit x, y decrement mtr limit to 0 z fixed at 0 fast xy x and y count simultaneously x, y increment start to end x, y decrement end to start z fixed at z s. z e is ignored x and y count simultaneously x, y increment 0 to mtr limit x, y decrement mtr limit to 0 z fixed at 0
intel? 6400/6402 advanced memory buffer datasheet 117 ddr membist as the figure above illustrates, when the values of the mb_start_addr (marked s ) and mb_end_addr (marked e ) registers are used to set the address space for a membist operation, the values in these regist ers must bear the correct relationship to each other. the start address sets the lower bound for the test address space in both the x and y directions, and the end address sets the upper bound in both the x and y directions. for a start and end address to defi ne a usable address space, it is required that x s < x e , and y s < y e . in addition, when an address sequencing mode is chosen in which the bank field in mb_end_addr is si gnificant, it is also required that z s < z e . (if a single physical address is to be tested, mbaddr, not mb_start_addr and mb_end_addr, is used.) in every case in which an address endpoin t is specified using a register value, membist includes the address endpoint in th e operation. for example, if an address range is specified using the mb_start_addr and mb_end_addr registers, the locations specified in these registers are included as part of the address range. the membist operation will be performed on bo th of the locations specified in these registers. 11.3.2.3.1 order and direction of address sequencing the order of sequencing through the test address space is chosen using the mbcsr:fast field. the options are fast y (with fixed bank), fast x (with fixed bank), fast xy (with fixed bank) and xzy. the terms fast x, fast y, fast xy and xzy refer to the order in which addresses are increm ented or decremented during membist execution. this order is given in ta b l e 1 1 - 4 above as ?counter order.? counter order of xzy, for example, indicates that the y counter is counted most rapidly. when counter y over or underflows due to reaching the programmed limit of its count, the overflow or figure 11-1. range and full address spaces s e one bank 0 increasing y increasing x 0 limit of address space as set by number of x and y address lines address space as set by values in mtr register address space as set by start and end values in mb_start_addr and mb_end_addr registers 0001
ddr membist 118 intel? 6400/6402 advanced memory buffer datasheet underflow is applied to the next, or z, co unter. when counter z reaches its limit, its overflow or underflow is applied to counter x. a counter that overflows or underflows resets to its initial starting value and continues counting from that value. when using xzy addressing, membis t accesses the banks specified by mb_start_addr and mb_end_addr (with rang e addressing) or bank 0 through the mtr limit (with full addressing). when using xzy addressing, membist accesses multiple banks. ? with range addressing (mbcsr:atype = 0x2), the banks accessed are in the inclusive range specified by mb_start_addr:ba and mb_end_addr:ba. ? with full addressing (mbcsr:atype = 0x3), the bank address is bank 0 through the mtr limit. when using fast x, fast y or fast xy addr essing, membist will traverse a single bank. ? with range addressing (mbcsr:atype = 0x2), the bank is specified by mb_start_addr:ba. mb_end_addr:ba is ignored. ? with full addressing (mbcsr:atype = 0x3), the bank address is always 0. the direction of sequencing through the test address space is chosen using the mbcsr:adir field. in this field, either incrementing addresses or decrementing addresses may be selected. the beginning and ending addresses for the counters depend upon the choice of addressing type programmed in mbcsr:atype. with range addressing, the counter limits are sp ecified in mb_start_addr and in mb_end_addr. with full addressing, the counter limits are 0 and the mtr limit for each counter. special cases which exist for the bank address are specified in ta b l e 1 1 - 4 . 11.3.2.4 details and examples 11.3.2.4.1 fast y figure 11-2 below depicts how fast y with incrementing addresses cycles through a range of addresses specified by mb_start_addr and mb_end_addr. in this execution mode, z, or bank address, is held constant (except in the case of dynamic address inversion mode, dai, mentioned late r). the order in which the locations are accessed is shown in the boxes representing the memory locations. note that the y (or column) address counter counts from y s to y e before incrementing the x (or row) address counter and beginning again at y s . this process continues until both the x and y address counters reach their end values simultaneously. this ending condition results in the address range being covered once. the name ?fast y? is descriptive of this testing order in which the y address range changes faster than the x address range.
intel? 6400/6402 advanced memory buffer datasheet 119 ddr membist 11.3.2.4.2 fast x figure 11-3 below depicts how fast x with decrementing addresses cycles through a range of addresses specified by mb_sta rt_addr and mb_end_addr. in this execution mode, z, or bank address, is held constant (except in the case of dynamic address inversion mode, dai, mentioned later). note that the x address counter counts down from x e to x s before decrementing the y address counter and beginning again at x e . this process continues until both the x and y address counters reach their end x s and y s values simultaneously. this ending condition results in the address range being covered once. the name ?fast x? is de scriptive of this testing order in which the x address range changes faster than the y address range. figure 11-2. fast y address sequencing s 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 e 18 one bank 0 increasing y increasing x 0 address space as set by values in mtr register address space as set by start and end values in mb_start_addr and mb_end_a ddr registers 0001 fast y address sequencing, increasing address, specified address range
ddr membist 120 intel? 6400/6402 advanced memory buffer datasheet 11.3.2.4.3 fast xy in fast xy execution, both the x and y address counters are changed by one count at the same time. each of these counters begins at its starting address and increments to its ending address (or decrements from endi ng to starting address if so programmed) and then reloads on the next count to its initial value. as a result, test execution accesses the ram locations in diagonal rows across the ram. execution stops when both the x and y address counters reac h their end values simultaneously. in the special case when there are the same number of rows and columns in the address space, only the locations on the diagonal (whose relative row and column positions are equal) will be tested. in the general case in which the specified address range results in different numbers of rows and columns, not all locations may be accessed. which locations are accessed in this case depends upon the x to y ratio of the address space specified for the test. see figure 11-4 below for several examples. because the starting and ending addresses ar e always located at opposite corners of the address space, the end address is alwa ys eventually reached, and the membist operation always completes. figure 11-3. fast x address sequencing s 18 15 12 9 6 3 17 14 11 8 5 2 16 13 10 7 4 e 1 one bank 0 increasing y increasing x 0 address space as set by values in mtr register address space as set by start and end values in mb_start_addr and mb_end_a ddr registers 0001 fast x address sequencing, decreasing address, specified address range
intel? 6400/6402 advanced memory buffer datasheet 121 ddr membist 11.3.2.4.4 xzy addressing in xzy (range) address sequencing the msb-to -lsb ordering of the address counters is row, bank, column, although this is not the order of the fields in the registers used for address specification for membist. as a result of this ordering of the counters, first the columns in one row in the starting bank will be accessed, followed by those on the same row in the second bank, and so on until that row in all banks has been accessed. then the columns in the next row in the first bank will be selected and the process continued. figure 11-4. fast xy address sequencing examples s 1 --- --- --- --- 2 --- --- --- --- 3 --- --- --- --- e 4 s 1 17 13 9 6 2 18 14 11 7 3 19 16 12 8 4 5 10 15 e 20 s 1 --- 3 --- --- 2 --- e 4 y (columns) 0 4 8 c y (columns) 0 4 8 c 10 y (columns) 0 4 8 c x (rows) 0 1 2 3 x (rows) 0 1 2 3 x (rows) 0 1 numbers inside of cells indicate order of access. --- inside a cell indicates that cell is not accessed. 0001 fast xy examples bl = 4, incrementing addresses
ddr membist 122 intel? 6400/6402 advanced memory buffer datasheet 11.3.2.4.5 dynamic addr ess inversion (dai): dynamic address inversion (dai) is provided to maximize the switching of address lines during testing. when dynamic address inversion is enabled, the address counters increment or decrement as usual, but every other address driven to the drams is the logical inverse of the previous address used . the least significant address bit is not inverted since it already toggles at the address rate. all address lines (x, y and z) are inverted by dai, creating a ping-pong access pattern. this occurs in all address sequencing modes. this behavior might lead to accesses in unexpected portions of the address space. for example, dai inverts the bank address lines even in fast x, fast y and fast xy modes, which normally have fixed bank addresses. as a result, every other access is to a different bank than the fixed bank selected by the addressing mode (either mb_start_addr:ba field or bank 0 for range or full addressing respectively). between ea ch access, the old bank must be closed and the new bank must be activated. in anot her example, with xzy address sequencing and range addressing, it is normal to think of accesses as being restricted to the address range specified in mb_start_addr and mb_end_addr. but with dai enabled, the non-inverted accesses will be wi thin the specified range, but the inverted accesses could possibly fall outside of the specified address range. dai can be used with any address sequencing mode. it can also be used with either incrementing or decrementing addresses. table 11-5 gives an example of both address incrementing and address decrementing in da i mode. this example is of xzy address sequencing with range addressing and shows only low-order bank and column address lines. shaded rows are non-inverted, non-shaded rows show inverted addresses. table 11-5. dynamic address inversion, xzy address sequ encing and range addressing normal dai, incrementing address dai, decrementing address bank column bank column bank column 00 0 0 0 0 00 0 0 0 0 00 1 1 1 1 000001 11 1111110000 00 0 0 1 0 00 0 0 1 0 00 1 1 0 1 000011 11 1101110010 00 0 1 0 0 00 0 1 0 0 00 1 0 1 1 000101 11 1011110100 00 0 1 1 0 00 0 1 1 0 00 1 0 0 1 000111 11 1001110110 00 1 0 0 0 00 1 0 0 0 00 0 1 1 1 001001 11 0111111000 00 1 0 1 0 00 1 0 1 0 00 0 1 0 1 001011 11 0101111010 00 1 1 0 0 00 1 1 0 0 00 0 0 1 1 001101 11 0011111100 00 1 1 1 0 00 1 1 1 0 00 0 0 0 1 001111 11 0001111110 01 0 0 0 0 01 0 0 0 0 11 1 1 1 1 010001 10 1111000000 etc. etc. etc.
intel? 6400/6402 advanced memory buffer datasheet 123 ddr membist 11.3.2.4.6 addre ss inversion for vtt balancing fb-dimms use a separate termination (vtt) power supply for command/address termination. keep in mind the amb has two copies of the ca bus. in normal operation the amb attempts to balance the number of high and low address lines by inverting one of the address ports. inverting one copy of the addresses reduces vtt power consumption. this operation is invisible to the controller and dram, as this is simply a static inversion of address lines. by default this behavior is enabled for a ll memory accesses including during membist operation. most memory test patterns assume a particular address sequence. vtt balancing might not be desirable in these cases. the amb provides a control bit (drc.baldis) to turn off vtt balancing if desire d. if the bit is set, no balancing will take place. if adjacent address inversion is disabled vtt power may increase substantially, placing additional load on the system power supply. 11.3.3 memory data formatting during membist operation, 144-bit data is us ed to write to memory and to check data read from memory. the data register mbda ta allows definition of a 144-bit data pattern. the 144-bit data will be written in two consecutive 72-bit locations within a memory burst. when operating with a burst length of 4 (bl4), early data is written to the first and third locations in the burst and late data to the second and fourth locations. an 8-word burst (bl8) is treated in similar manner, with early data written to odd-numbered locations and late data to even locations. 11.3.3.1 static data formats membist provides a number of static data pa tterns which can be selected using bits in mbcsr. a static data pattern is one in which the data remains the same throughout the membist operation. one such static da ta format is the fixed data pattern. the fixed data patterns are concatenated together multiple times to make up the number of bits required supply data to the drams. in addition to these fixed patterns, the mbdata registers can be used to supply 144 bits of user-defined data. the data from this static pattern is also concatenated together multiple times to make up the required number of bits for membist use. finally, there are certain cases, such as in itializing ecc bits in system memory, that require unique data in each data word. this requirement is met by using all 288 bits of the data register mbdata for user-defined da ta. this usage of the data register for user-defined data occupies bits which norm ally are used for failure information. because the registers normally used for failure information are occupied with the data pattern, when 288-bit user-defined data is used, no checking is performed. 11.3.3.2 dynamic data formats in addition to the static data formats, membist has the ability to provide dynamically changing data patterns. dynamic data changes each time that a new address is accessed. these supply shifted data and pseudo-random data. note: the following description of circular shift and lfsr random data generation describes the intel 6400/6402 advanced memory buffer implementation. this does not match the fbd dfx description of these fu nctions. resolution of these differences will be decided based on potential changes to intel 6400/6402 advanced memory buffer.
ddr membist 124 intel? 6400/6402 advanced memory buffer datasheet the simplified block diagram of figure 11-5 below depicts the relationship between the lfsr seed register mblfsrsed, the mbdata[9, 7:4] registers, and the data sent on the cb and dq chip pins when membist executes a write command in the circular shift or in the lfsr data modes. the lfsr seed re gister is the source of the data written to the cd and dq chip pins (and thus to the drams) in both of these modes. when membist executes a read command, the data generation is the same, but the data is not sent on the cb and dq pins. instead, it is used for comparison against the data received from the drams on the corresponding pins. in circular shift data mode, the 0 input of th e mux at the far right is selected, since this is not lfsr mode. at the beginning of membist execution in this mode, the value of the lfsr seed register is loaded into mbdata9 by asserting the load_circseed signal shown. registers mbdata[7:4] are all cleared to 0 at this time, so that their previous contents are lost. each time that membist execution requires data to be written to the drams, 144 bits are taken from the 160 bits comprising mbdata[9,7:4], as shown in the figure. the 144 bits are either inverted or not before be ing sent to the ddr logic to be written to the drams, depending upon the state of the mbcsr:invert bit. after using the data, the mbdata[9,7:4] registers are clocked once, shifting the data around within these registers to form new data to be used by membist the next time that data is required. for example, when membist starts and mbcsr:invert is 0, the value from the lfsr seed register will be loaded into mbdata9, and mbdata[7:4] will be cleared, so that the first data available for membist to write to the cb and dq pins will consist of mbdata9[7:0] sent on the early cycle on th e cb pins, mbdata9[15:8] on the late cycle on the cb pins, and 0s sent on all of the dq pins on both the early and late cycles. once this data has been used, the mbdata[9,7:4] registers are clocked. the data path between the mbdata registers is wired so that the data undergoes a left circular shift when passing to the next register. bits [3 0:0] become bits [31:1] in the receiving register, and bit [31] becomes bit [0] in the receiving register. for example, 0x8000_0001 in mbdata9 becomes 0x0000_0003 upon being loaded into mbdata7. figure 11-5. membist circular shift and lfsr data block diagram 0002 membist circular shift and lfsr data block diagram crc-32 1 0 32 [31:0] 1 0 1 0 mbdata9[31:0] mbdata7[31:0] [0] [31] [30:0] [31:1] mbdata6[31:0] [0] [31] [30:0] [31:1] mbdata5[31:0] [0] [31] [30:0] [31:1] mbdata4[31:0] [0] [31] [30:0] [31:1] m blfsrsed[31:0] 32 32 32 [31:0] [31:0] [31:0] [15:8] [7:0] [31:0] load_lfsrseed load_circseed lfsr_m ode ddr logic ddr logic cb[7:0] dq[63:0] [0] [31] [30:0] [31:1] late_dq_wr_data[71:64] ear ly_dq_wr_data[71:64] late_dq_wr_data[63:32] late_dq_wr_data[31:0] ear ly_dq_wr_data[63:32] early_dq_wr _data[31:0] mbcsr: invert
intel? 6400/6402 advanced memory buffer datasheet 125 ddr membist in lfsr data mode, a similar procedure is followed, with the exception that the lfsr_mode signal causes the mux on the far ri ght of the figure to select the output of the crc-32 block to provide the input to register mbdata9. at the beginning of membist execution, load_lfsrseed asserts once to use the value in the lfsr seed register as the initial input to the crc-32 block. on subsequent register loads, the current value in mbdata9 is used as the inpu t to the crc-32 block. each time that mbdata9 is loaded with a new data value fr om the crc-32 block, each of mbdata[7:4] also load new values from their inputs. before the first 144 bits of data are used by membist in lfsr mode, 5 register loads occur. this fills all bits in mbdata[9,7:4] with random data values before the first data is written to the drams. table 11-6 below shows an excerpt from an ex ample run of membist executing with mbcsr:dtype = 2, circular shift data. the table illustrates the relationship between the lfsr seed register mblfsrsed, the bmdata[9, 7:4] registers, and the data sent on the cb and dq chip pins when executing in the circular shift mode with mbcsr:invert = 0. the table also illustrates how the circular shift occurs in the mbdata registers. this further illustrates the process explained and shown above. in the example shown, mblfsrsed contai ns 0x0000_0001 when membist execution starts. mbcsr contains 0x8022_0a90. line 1 shows the data from mblfsrsed loaded into mbdata9, and shows how 144 bits of th e data from mbdata[9,7:4] are sent on the cb and dq pins when required by membist. line 2 shows the result of the circular shift of mbdata9 into mbdata7, as explaine d previously. line 2 also shows how this second set of 144 bits of data will appear on the cb and dq pins when it is used by membist. the table shows how the original data from mblfsrsed is transferred from register to register each time that data is required by membist execution, with a one- bit left circular shift occurring at each register transfer. line 6 shows the data from mbdata4 arriving at mbdata9, again with a circular shift left. table 11-7 below shows an excerpt from an ex ample run of membist executing with mbcsr:dtype = 3, lfsr data. the table illu strates the relationship between the lfsr seed register mblfsrsed, the mbdata[9, 7:4] registers, and the data sent on the cb and dq chip pins when executing in the lfsr data mode. the table also illustrates how the circular shift occurs in the mbdata registers during lfsr data mode with mbcsr:invert = 0. this further illustrate s the process shown in the figure above. table 11-6. example of circular data shifting # mbdata9 xxl[71:64 ]e[71:64] mbdata7 l[63:32] mbdata6 l[31:0] mbdata5 e[63:32] mbdata4 e[31:0] early cb late cb early dq late dq 1 0000_0001 0 0 0 0 01 0 0 0 2 0 0000_0002 0 0 0 0 0 0 0000_0002 _0000_0000 3 0 0 0000_0004 0 0 0 0 0 0000_0000 _0000_0004 4 0 0 0 0000_0008 0 0 0 0000_0008 _0000_0000 0 5 0 0 0 0 0000_0010 0 0 0000_0000 _0000_0010 0 6 0000_0020 0 0 0 0 20 0 0 0
ddr membist 126 intel? 6400/6402 advanced memory buffer datasheet in the example shown, mblfsrsed contai ns 0x93d7_8768 when membist execution starts. mbcsr contains 0x8011_0b90. lines 1 through 5 show filling of mbdata[9,7:4] with random data generated by the crc-32 block. for each line, newly generated random data is loaded into mb data9, and mbdata[7:4] are loaded with data which is the result of a circular left sh ift from the register above it. line 5 shows how 144 bits of the data from mbdata[9,7:4 ] is sent on the cb and dq pins when required by membist. line 6 shows the result of the circular shift of the contents of each mbdata register into the next mbdata register. line 6 also shows how this second set of 144 bits of data will appear on the cb and dq pins when it is used by membist. the table shows how the random data from mbdata9 is transferred from register to register each time that data is required by membist execution, with a one- bit left circular shift occurring at each register transfer. 11.3.4 algorithmic testing membist provides several of the more common algorithmic tests. several of these are directed at basic operation such as initializ ing memory or verifying proper connectivity of the amb and dram on a dimm. in addition there are a few tests that are intended to perform testing of the amb address generators and dram internal address decoders, multiplexers and related logic that is not otherwise testable at speed. the algorithm engine takes control of the membist engine to carry out the algorithm steps. it does this by writing to some of the control bits in mbcsr. as a result, those control bits used by the algorithm engine are not available for setting by the user. however, the remaining control bits may be utilized by the user to control the algorithm. the membist controls which may be selected by the user when using one of the built-in algorithms are: ? address sequencing (fast x, fast y, fast xy, and xzy) ? rank selection ? halt or continue on error when an algorithm is used, the data used for the test is always the fixed pattern 0xa. no other pattern may be chosen. the address space for the algorithm is always the address range specified by mb_start_addr an d mb_end_addr. if testing of the full address range of the dram is required, then the mb_start_addr and mb_end_addr registers must be set to this address range. table 11-7. example of lfsr random data # mbdata9 xxl[71:64 ]e[71:64] mbdata7 l[63:32] mbdata6 l[31:0] mbdata5 e[63:32] mbdata4 e[31:0] early cb late cb early dq late dq 1 27fe_3b3d 0 0 0 0 2 4e2e_350c 4ffc_767a 0 0 0 3 c9a8_9bae 9c5c_6a18 9ff8_ecf4 0 0 4 97ca_9c36 9351_375d 38b8_d431 3ff1_d9e9 0 5 662f_8edd 2f95_386d 26a2_6ebb 7171_a862 7fe3_b3d2 dd 8e 7171_a862 _7fe3_b3d2 2f95_386d _26a2_6ebb 6 4031_1dd0 cc5f_1dba 5f2a_70da 4d 44_dd76 e2e3_50c4 d0 1d 4d44_dd76 _ e2e3_50c4 cc5f_1dba _5f2a_70da
intel? 6400/6402 advanced memory buffer datasheet 127 ddr membist when using the built-in algorithms, the in itial command for the algorithm must be entered into mbcsr:cmd. for all algorithms except data retention read, the initial command to enter is write (0x1). for the data retention read algorithm, the initial command to enter is read and check (0x3). because the algorithm engine takes control of the membist engine to carry out the algorithm steps, a guess about the algorithm step during which the first failure occurred can be formulated by examining th e various membist control registers after membist halts on error. after the operation halts, the control register values will generally still reflect their settings when th e algorithm step detected the failure. the algorithms provided by membist are sp ecified in the following sections. the algorithms are specified using the following notation: ^ = increasing addressing. addresses will be counted up, starting at 0 or the user- defined start address as appropriate. v = decreasing addressing. addresses will be counted down, starting at the end of the array or from the user-defined end address, as appropriate. w or r = write or read with checking of the data against the expected data. d or i = data or inverted data number = sequence of events ( ) = back to back operations. example: (wd, rd) will read and then write the same cell before moving to the next cell. 11.3.4.1 initialization tests init: ^ (wd) 1 this is a simple memory initialization algorithm. data is written to the array with incrementing addressing. read and check: ^(rd) 1 this test is used to verify memory contents. one use of this is data retention testing. init may be used to write known data in the array. the tester or system can then alter an environmental condition, or simply wait for some period of time, and then read the array to see if the data changed. scan: ^(wd) 1 ; ^(rd) 2 ; ^ (wi) 3 ; ^ (ri) 4 the scan test writes data to the array then reads the data back. the second half of the test writes inverted data and reads it back. scan is a 4n pattern, meaning test time will be 4 traversals, times the size of the array (rows * columns * banks, also known as ?n?) times the average time for a read or write operation. 11.3.4.2 memory stress tests mats+: ^(wd) 1 ; ^(rd 2 , wi 3 ); v(ri 4 , wd 5 ) the mats+ algorithm initializes the array to a known data background and steps through with a read-write-inverted-data sequence. the algorithm is performed with both incrementing and decrementing addressing. mats + will detect stuck at faults and basic address decoder faults. the algorithm is order 5n. marchc-: ^(wd) 1 ; ^(rd 2 , wi 3 ); ^(ri 4 , wd 5 ); v(rd 6 , wi 7 ); v(ri 8 , wd 9 ); v(rd) 10 the marchc- algorithm initializes the array to a known data background and steps through the array in both count-up and count-down addressing with a read-write sequence. marchc- tests the array decoders and basic neighboring faults. as might
ddr membist 128 intel? 6400/6402 advanced memory buffer datasheet be determined from the sequence numbering this is a 10n pattern. 11.3.5 error reporting and control information about failures detected by memb ist is reported in a variety of ways. these are summarized here and detailed in the following sections. mbcsr:pf set during a membist operation indicates that a failure was detected. mbdata can log the addresses of up to 5 failure s. when the membist operation is utilizing a fixed data pattern selected using mbcsr:dtype = 0x0, mbdata also contains a failure data bit location accumulator, which logs any data bit that has seen a failure during the operation. with other dtypes, the failure data bit location accumulator may replace the address logs. mb_err_data logs the first four 144-bit data words which membist detects as containing an error after the me mory test failure address pointer register (mbfaddrptr) has counted down to zero. mbfaddrptr makes it possible to extract the failure data information for all repeatable failures which occur during execution of a membist operation. how the available logs in are filled depends partly upon the membist configuration and partly upon how the errors detected by me mbist occur. for ex ample, when membist is set to halt on error and a failure is de tected, membist does not advance to the next address. however, due to th e architecture of the memory system, there may be more than one error to log from the single address that was being checked when the failure was detected. at burst length of 4, for each address there are four 72-bit bus-widths of data to be checked. data is logged in 144- bit quantities. if a bit in the dram bus was stuck, this might result in an error being dete cted in each of the four 72-bit bus-widths of data. even though membist is set to halt on error, this would result in two 144-bit data error logs, each with a corresponding failure address log. operating at bl=8 could result in up to four 144-bit data error logs being written with their corresponding address logs. when membist is not set to halt on error, lo gs will fill as errors occur. the logs may contain information from several unrelated failing addresses. the first four failures to be detected will cause the first four 144-bit failure data chunks to be logged along with their corresponding addresses. the address of the fifth error to occur will also be logged, although there is no location available to log the failure data. the sixth and succeeding errors will not be logged. du ring execution of a membist operation, membist will not overwrite a log entry that has already been filled during that operation to record a more recent failure. 11.3.5.1 control register pass /fail bit and halt on error the membist pass/fail bit, mbcsr:pf, is always cleared when membist execution starts. if a failure is ever detected, this bi t is always set immediately. if mbcsr:halt (halt on detection of read-compare error) is set, and mbcsr:pf is then set due to detection of an error, membist execution always completes the accesses to the current address and then halts without proceeding to the next address. no other membist controls, including a non-zero value in mbfa ddrptr, modifies the setting of the failure bit or the halting on failure detection as described. 11.3.5.2 failure address logging the addresses of the first 5 detected failure s can be logged by membist. the address logs (located in mbdata) are always cleared, and the logging pointer is always reset to start logging with the first log, each time that membist starts execution of a new operation.
intel? 6400/6402 advanced memory buffer datasheet 129 ddr membist failure addresses are logged in a slightly diff erent format than the format which is used when specifying start and end addresses. to compress the failure address into 32 bits, bits that are always zero are not stored in the log. these unstored bits include autoprecharge column address [10] and the least significant bits assumed by burst length. in bl=4 operation, column bit 1 in the log is replaced by a bit which distinguishes whether the error was detected in the first 144-bit data chunk (the bit is 0) or in the second chunk (the bit is 1). in like manner, for bl=8 operation, column bits 2:1 are replaced by two bits to identify the data chunk containing the error. the bits used for bl=8 are shaded in ta b l e 1 1 - 8 below. see section 14.5.2.3.1, ?mbdata failure address mapping? for more information. 11.3.5.3 failure data bit location accumulator membist provides a (sometimes optional) 144- bit failure data bit location accumulator, maintained in the mbdata registers. each bit tracks a data bit during membist operation. this accumulator is automatica lly zeroed each time that membist starts execution of a new operation. an accumulator bit set to 1 indicates that th e corresponding data bit failed to have the expected value at least once during the operation. this accumulator is used primarily for recording detected failed data lines to facilitate dram replacement during dimm manufacturing. table 11-9 below shows the correspondence between the dram data bus bits and the 160 bits in the mbdata registers used to stor e the failure data bit location accumulator. 11.3.5.4 failure data logging failure data is logged in the mb_err_data registers. these data logging registers are not cleared when membist starts executio n of a new operation, although the corresponding address logs in the mbdata registers are cleared. the user desiring to discard failure data logs from a previous operation must write zeros to these registers before starting the next operation. during execution of a subsequent operation, when the first failure is detected, both an addre ss and a data log are written, beginning with the first error log entry. any existing data in the data logging registers used for this log entry is overwritten. the data in the other data logging registers is not affected. table 11-10 shows the correspondence between the failure number, the address log for this error, and the data log for this error. which register is used to log the address of the failure depends upon settings in mbcsr: dtype and mbcsr:algo. if mbcsr:algo is non-zero, then an algorithm is selected, an d fixed data is used. address logging will occur according to the ?fixed data pattern? entries in table 11-10 . table 11-8. address log to bank, row and column bit correspondence address log register bit 313029282726252423222120191817161514131211109876543210 2101514131211109876543210141312119876543 2 1 bank row column table 11-9. failure data bit location a ccumulator to mbdata bit correspondence mbdata[8] mbdata[3] mbdata[2] mbdata[1] mbdata[0] 31 24 23 16 15 8 7 0 31 0 31 0 31 0 31 0 unused 71 64 71 64 63 32 31 0 63 32 31 0 late data early data late data late data early data early data
ddr membist 130 intel? 6400/6402 advanced memory buffer datasheet if mbcsr:algo = 0x0 (no algorithm), then mbcsr:dtype determines the failure address error logging registers. for dtype = 0x0 (f ixed), address logging will occur according the to ?fixed data pattern? entries in table 11-10 . for dtype other than 0x0 (that is, circular, random, or user data), if mbcsr:mbdata = 1, then the ?other data pattern? entries show the address logging registers. for these dtypes, if mbcsr:mbdata = 0 (accumulator), no failure address logging is available. 11.3.5.5 multiple failures membist may detect many more failures than there are available registers in which to log them. for some test purposes, the information captured by the failure data bit location accumulator may be sufficient. however, in other situations, capturing all of the failure data and failure addresses may be significant. as long as the failures are repeatable, membist provides a mechanism to extract the failure information about all failures which membist detects during ex ecution of each membist operation. repeatable failures are ones which occur each time that a test is run. membist uses the mbfaddrptr register to discard logs for certain errors, allowing other errors to be logged instead. (however, this register has no effect on setting bits in the failure data bit location accumulator.) the error logging described in the previous section actually occurs on the first through fifth errors after the mbfaddrptr register equals zero . since this register defaults to zero, this is the normal logging behavior. however, if storing of logs for later errors is desired, the mbfaddrptr register should simply be set to the number of earlier logs which are to be discarded. for example, suppose that membist has been executed, and 5 logs were stored in the failure address logs. full information was available for the first four (because both address and data logs exist). to collect both the failure address and data for the fifth failure, set mbfaddrptr to 0x4 and rerun memb ist. each of the first 4 logs will be discarded, and will decrement mbfaddrptr unt il it reaches 0. the fifth log will be stored, as it is the first to occur after mbfaddrptr reached 0. this will work no matter what the position of the error is within the burst. referencing the above example, if the fourth error is within a burst, and the fifth error is within the same burst but not in the same 144-bit chunk containing the fourth error, the fourth error will not be logged and the fifth error will be logged. table 11-10. failure to logging register correspondence failure number address logged in data logged in 1 fixed data pattern: mbdata4 other data pattern: mbdata0 mb_err_data0[4:0] 2 fixed data pattern: mbdata5 other data pattern: mbdata1 mb_err_data1[4:0] 3 fixed data pattern: mbdata6 other data pattern: mbdata2 mb_err_data2[4:0] 4 fixed data pattern: mbdata7 other data pattern: mbdata3 mb_err_data3[4:0] 5 fixed data pattern: mbdata9 other data pattern: mbdata8 not logged 6 + not logged not logged
intel? 6400/6402 advanced memory buffer datasheet 131 ddr membist to use this feature, membist must be set to continue on error by clearing mbcsr:halt. otherwise membist will halt on detecting the first failure and later failures will not be detected or logged. neither setting of the fa ilure bit, nor halting on failure detection is affected by a non-zero value in mbfaddrptr. the general procedure for using this feature is to run membist, read and record the address and data failure information from th e logs, and then add the number of failure logs received to the value in mbfaddrptr to cause the failure information already captured to be ignored on the next pass. this process is repeated until membist completes with zeros in the address logs. this indicates that no further errors were detected beyond those already logged. (wat ch the case of decrementing addressing ending at address 0. a failure at address 0 with failure data of zero is possible.) to generate a complete data log of all failures, use the following procedure: 1. define starting and ending addresses, address modes and data patterns, set mbfaddrptr to zero, set halt on error to 0 (don?t halt on error). 2. start membist and check the result. if pass, exit. if fail, continue. 3. read out the failing addresses and data. if the address and data logs are zero (and the address space covered by this pass of membist does not include address 0), exit, as all failures have been seen. ot herwise, continue. (if the address space covered by this pass of membist does in clude address 0, and it is ambiguous whether or not address 0 has failed, the ambiguity can be resolved by retesting only address 0.) 4. add the number of complete logs (for which both address and data were read) obtained during this pass to the value in mbfaddrptr so that these failures will not be seen again on the next pass of membist. 5. go to step 2 11.3.6 dram throttling membist can generate high dram band width and consequently, high power consumption and thermal stress. although this is manageable in a dedicated test environment, a system?s power and cooling capacity may be exceeded. for this reason membist allows insertion of deselect cycles on every address change. the deselects will be inserted after each read or write command. this allows slowing down bist execution if necessary to stay within a given power or cooling envelope. 11.3.7 refresh control in normal operation, refresh commands are issued by the host rather than by the amb. however, during membist, when commands to the dram originate from the amb, refresh must be provided by membist. the refresh and membist state machines are implemented as separate state machines, allowing refresh when membist is not active. the refresh interval is programmable by setting a 15 bit refresh counter. for example, at the maximum address frequenc y of 400 mhz (250 ps), 3120 clocks are needed to achieve the nominal refresh interval of 7.8 s. the maximum interval in this case will be 81.9 s. the default refresh value should be usable in most circumstances. the refresh interval may be programmed to other values to meet special needs.
ddr membist 132 intel? 6400/6402 advanced memory buffer datasheet 11.3.8 dram initialization as in other operating modes, membist requir es the dram be initialized prior to the start of any operation. dram initialization is accomplished by starting the initialization engine (using the dcalcsr register). this may be done in band or out of band. 11.4 membist memory test examples in general, using membist will involve the following five steps: 1. define dram characteristics. set up amb registers for normal dram operation. this includes programming the mtr regist er to match the geometry of the drams on the dimm. in addition, program the dr t register to match the ddr2 timing of the drams installed on the dimm. membist uses settings from mtr and drt to match its operation to the characteristics of the drams being te sted. change the default refresh interval if it does not me et the test objectives. perform any other normal initialization. 2. define the test address space. define the starting and ending physical row/ column/bank address range which membist is to test in registers mbaddr, mb_start_addr, and mb_end_addr as requ ired. which of these registers is used depends upon which address range is selected in mbcsr:atype and whether or not an algorithm is selected. 3. enter required user test data. define any required user test data for this test, using registers mbdata[9:0] and mblfsrse d as appropriate. which of these registers is used depends upon the se tting of mbcsr:dtype, mbcsr:algo, and mbcsr:enable288. 4. set test parameters and start membist. write mbcsr with mbcsr:start set and other bits set as required to select the desired membist operation. 5. evaluate the result. the test result is available through mbcsr:pf. depending upon which settings were specified in mbcs r, error information is contained in the mbdata[9:0]and mb_errdata[4:0] registers. the next sections provide specific examples of membist execution for selected test cases. 11.4.1 write a fixed pattern to a range of dram addresses the following points describe the programming required to write a fixed data pattern to all of the addresses within a selected addre ss range, and to optionally check this data, using membist. 1. set up registers for normal dram operation. 2. program mb_start_addr and mb_end_addr registers to the desired address range to be tested. table 11-11. refresh programming spec (us) clk period (us) count trefi (15 bits) min 0 0.0025 1 spec 7.8 0.0025 3120 max 81.9 0.0025 32768
intel? 6400/6402 advanced memory buffer datasheet 133 ddr membist 3. no user data is required, as fixed data (selected in mbcsr) will be used for this test. therefore, the mbdata[9:0] and mblfsrsed registers are not written. 4. program mbcsr. these fields are required for the specified test: ? program dtype (bits [9:8]) to 00 to select fixed data pattern. ? program atype (bits [7:6]) to 10 to use the address range already defined in the mb_start_addr and mb_end_addr registers. ? select either rank 0 or rank 1 by programming cs (bits [21:20]). ? mbdata (bit 14) and enable288 (bit 15) are not relevant when fixed data has been selected. invert (bit 19) is unnecessary for fixed data, since the data choices include inverses for all fixed data patterns. rewrite these fields with their default values. the values for these fields can be selected to choose options for use during membist operation: ? program abar (bit 13) to select dai if desired. ? either program cmd (bits [5:4]) to be ?01? (write only without data comparison) or ?11? (write followed by read with data comparison). ? program fast (bits [11:10]) to select fast x, fast y, fast xy, or xzy (column->bank->row) address sequencing. ? program adir (bit 12) to select whether addresses should increment or decrement. ? program fixed (bits [18:16]) to specif y which fixed data pattern to apply. set these control values to start the membist engine. ? set algo (bits 26:24) to 0 to prevent the algorithm engine from overwriting bits it controls in mbcsr. ? set abort (bit 28) to 0. ? clear pf (bit 30). hardware will set this bit if a failure is detected. ? if desired to halt whenever there is an error, set halt (bit 29). ? set start (bit 31) to 1 to start membist execution. 5. check the membist results, and if checki ng was enabled, obse rve failure data or address through mbdata registers and mb_err_data registers: ? check mbcsr:start. 0 means membist has completed. check mbcsr:pf. 1 means a failure has occurred. ? failure data bit location accumulator will be stored in mbdata[8, 3:0]. ? up to 5 failure addresses will be placed in mbdata[9, 7:4] ? failure data will be stored in mb_err_data[3:0][4:0] registers. 11.4.2 write random data to a range of dram addresses and check this describes writing randomly generated data to a range of dram addresses and checking this data. 1. set up registers for normal dram operation. 2. program mb_start_addr and mb_end_addr registers to the desired address range to be tested.
ddr membist 134 intel? 6400/6402 advanced memory buffer datasheet 3. random data is created by the lfsr usin g the seed value in mblfsrsed. either a value can be written, or the default value can be used. mbdata[9:0] is unused and is therefore not written. 4. program mbcsr. these fields are required for the specified test: ? program dtype (bits [9:8]) to 11 to select lfsr-generated random data. ? program cmd (bits [5:4]) to be 11 (write followed by read with data comparison). ? program atype (bits [7:6]) to 10 to use the address range already defined in the mb_start_addr and mb_end_addr registers. ? select either rank 0 or rank 1 by programming cs (bits [21:20]). ? enable288 (bit 15) is not relevant when random lfsr data has been selected. invert (bit 19) is unnecessary for random data. rewrite these fields with their default values. the values for these fields can be selected to choose options for use during membist operation: ? program abar (bit 13) to select dai if desired. ? program fast (bits [11:10]) to select fast x, fast y, fast xy, or xzy (column- >bank->row) address sequencing. ? program adir (bit 12) to select whether addresses should increment or decrement. ? mbdata (bit 14) is set to select failure address logging or failure data bit location accumulator logging in mbdata. set these control values to start the membist engine. ? set algo (bits 26:24) to 0 to prevent the algorithm engine from overwriting bits it controls in mbcsr. ? set abort (bit 28) to 0. ? clear pf (bit 30). hardware will set this bit if a failure is detected. ? if desired to halt whenever there is an error, set halt (bit 29). ? set start (bit 31) to 1 to start membist execution. 5. check the membist results, and if a fa ilure occurred, observe failure data or address through mbdata registers and mb_err_data registers: ? check mbcsr:start. 0 means membist has completed. check mbcsr:pf. 1 means a failure has occurred. ? depending upon the value chosen for mbcsr:mbdata, either up to 5 failure addresses or the failure data bit loca tion accumulator will be stored in mbdata[8, 3:0]. ? failure data will be stored in mb_err_data[3:0][4:0] registers. 11.4.3 write leaping 0s to the full dram address range and check this describes writing leaping 0s to all loca tions in the dram on the dimm and checking this data. leaping 0s are like walking 0s except that rather than moving from bit to adjacent bit, the single 0 in a field of 1s moves from one bit to another bit far removed from it. of every 160 writes to the drams, 144 will have a 0 on some bit, and 16 will have no 0s on any bit. refer to the tables and block diagram above to see how this works. 1. set up registers for normal dram operation.
intel? 6400/6402 advanced memory buffer datasheet 135 ddr membist 2. this example illustrates the use of mb csr:atype = 11, so mb_start_addr and mb_end_addr are not programmed. howeve r, these registers could alternatively be set to 0 and the maximum address in the dimm respectively, and mbcrs:atype set to 10, to accomplish the same effect. 3. to get a field of 1s for the leaping 0 to traverse, data to the drams must be inverted. this is because mbdata[9, 7:4] are set to zeros at the start of membist execution. that also means that the data programmed into mblfsrsed must be inverted. so mblfsrsed is set to 0x0000_0001. when inverted, this will give a single 0 in a field of 1s. registers mbdata[8, 3:0] are unused and are therefore not written. 4. program mbcsr. these fields are required for the specified test: ? program dtype (bits [9:8]) to 10 to select circular shifted data. ? program cmd (bits [5:4]) to be 11 (write followed by read with data comparison). ? program atype (bits [7:6]) to 11 to use the full address range of the dimms as already defined in the mtr register. ? select either rank 0 or rank 1 by programming cs (bits [21:20]). ? invert (bit 19) must be set to 1 to create the field of 1s from the 0s in mbdata[9, 7:4]. ? enable288 (bit 15) is not relevant when circular shifted data has been selected. rewrite this field with its default value of 0. the values for these fields can be selected to choose options for use during membist operation: ? program abar (bit 13) to select dai if desired. ? program fast (bits [11:10]) to select fast x, fast y, fast xy, or xzy (column- >bank->row) address sequencing. ? program adir (bit 12) to select whether addresses should increment or decrement. ? mbdata (bit 14) is set to select fail ure address logging or failure data bit location accumulator logging in mbdata. set these control values to start the membist engine. ? set algo (bits 26:24) to 0 to prevent the algorithm engine from overwriting bits it controls in mbcsr. ? set abort (bit 28) to 0. ? clear pf (bit 30). hardware will set this bit if a failure is detected. ? if desired to halt whenever there is an error, set halt (bit 29). ? set start (bit 31) to 1 to start membist execution. 5. check the membist results, and if a failure occurred, observe failure data or address through mbdata registers and mb_err_data registers: ? check mbcsr:start. 0 means membist has completed. check mbcsr:pf. 1 means a failure has occurred. ? depending upon the value chosen for mbcsr:mbdata, either up to 5 failure addresses or the failure data bit location accumulator will be stored in mbdata[8, 3:0]. ? failure data will be stored in the mb_err_data[3:0][4:0] registers.
ddr membist 136 intel? 6400/6402 advanced memory buffer datasheet 11.4.4 write 144-bit user-defin ed pattern to a range of addresses and check this describes writing user-defined data to a range of dram addresses and checking this data. 1. set up registers for normal dram operation. 2. program mb_start_addr and mb_end_addr registers to the desired address range to be tested. 3. 144 bits of user-defined data is written to mbdata[9, 7:4]. mbdata[8, 3:0] and mblfsrsed are unused and are therefore not written. 4. program mbcsr. these fields are required for the specified test: ? program dtype (bits [9:8]) to 01 to select user-defined data. ? enable288 (bit 15) is left 0 to select 144 bit user-defined data. ? program cmd (bits [5:4]) to be 11 (write followed by read with data comparison). ? program atype (bits [7:6]) to 10 to use the address range already defined in the mb_start_addr and mb_end_addr registers. ? select either rank 0 or rank 1 by programming cs (bits [21:20]). ? invert (bit 19) is unnecessary for user-defined data, as the user can set the bits to the values desired directly. set this field to 0. the values for these fields can be selected to choose options for use during membist operation: ? program abar (bit 13) to select dai if desired. ? program fast (bits [11:10]) to select fast x, fast y, fast xy, or xzy (column- >bank->row) address sequencing. ? program adir (bit 12) to select whether addresses should increment or decrement. ? mbdata (bit 14) is set to select failure address logging or failure data bit location accumulator logging in mbdata[8, 3:0]. set these control values to start the membist engine. ? set algo (bits 26:24) to 0 to prevent the algorithm engine from overwriting bits it controls in mbcsr. ? set abort (bit 28) to 0. ? clear pf (bit 30). hardware will set this bit if a failure is detected. ? if desired to halt whenever there is an error, set halt (bit 29). ? set start (bit 31) to 1 to start membist execution. 5. check the membist results, and if a fa ilure occurred, observe failure data or address through mbdata registers and mb_err_data registers: ? check mbcsr:start. 0 means membist has completed. check mbcsr:pf. 1 means a failure has occurred. ? depending upon the value chosen for mbcsr:mbdata, either up to 5 failure addresses or the failure data bit loca tion accumulator will be stored in mbdata[8, 3:0]. ? failure data will be stored in mb_err_data[3:0][4:0] registers.
intel? 6400/6402 advanced memory buffer datasheet 137 ddr membist 11.4.5 test a range of dram addr esses with march c- algorithm the following points describe the programming required to test all of the addresses within a selected address range using the march c- algorithm provided by membist. 1. set up registers for normal dram operation. 2. program mb_start_addr and mb_end_addr registers to the desired address range to be tested. if the full address of the dimm is to be tested, it must be programmed here. 3. no user data is required, as all built-in testing algorithms use the fixed data pattern 0xa (regardless of the pattern selected by mbcsr:fixed). therefore, the mbdata[9:0] and mblfsrsed registers are not written. 4. program mbcsr. these fields are required for the specified test: ? set algo (bits 26:24) to 110 to select the built-in march c- testing algorithm. ? program cmd (bits [5:4]) to be 01 (wri te only without data comparison), as this is required for the march c- algorithm. the values for these fields can be selected to choose options for use during membist operation: ? select either rank 0 or rank 1 by programming cs (bits [21:20]). ? program fast (bits [11:10]) to select fast x, fast y, fast xy, or xzy (column->bank->row) address sequencing. these bits are taken over by the algorithm engine to execute the algorithm. set them to their default values. ? fixed (bits [18:16]). ? adir (bit 12). ? abar (bit 13). ? dtype (bits [9:8]). ? atype (bits [7:6]). ? enable288 (bit 15) ? invert (bit 19). ? mbdata (bit 14). this bit is irrelevant because algorithms always use fixed data, so both failure data bit lane a ccumulator and failure addresses are logged in mbdata. set these control values to start the membist engine. ? set abort (bit 28) to 0. ? clear pf (bit 30). hardware will set this bit if a failure is detected. ? if desired to halt whenever there is an error, set halt (bit 29). ? set start (bit 31) to 1 to start membist execution. 5. check the membist results, and if checki ng was enabled, obse rve failure data or address through mbdata registers and mb_err_data registers: ? check mbcsr:start. 0 means membist has completed. check mbcsr:pf. 1 means a failure has occurred. ? failure data bit location accumulator will be stored in mbdata[8, 3:0]. up to 5 failure addresses will be placed in mbdata[9, 7:4]. use the ?fixed data pattern? mapping for these registers. ? failure data will be stored in mb_err_data[3:0][4:0] registers.
ddr membist 138 intel? 6400/6402 advanced memory buffer datasheet 11.5 membist implementation 11.5.1 membist block diagram figure 11-6. membist block diagram rev 3.0 05/22/04 gb membist internal block diagram command control mbaddr[31:0] cycle tracker mbcsr[31:0] start_addr/end_addr early_read_data[71:0] late_read_data[71:0] early_write_data[71:0] late_write_data[71:0] address generator data tracker membist flow control embedded algorithm mbdata[319:0] mbcsr[31:0] mbcsr[31:0] dcget tstcompare rdstart/wrstart tstdone data_reset readcmd tstinit writecmd mbcavail mbstart wrpattern raddr/caddr/baddr cs mb_raddr/mb_caddr/mb_baddr/mb_cs mbist_cmd_l[2:0] mtr mcsr2mcmb_rst_req raddr/caddr/baddr drt/drc cs fsm mcre2mcmb_cntl_req readcmd writecmd read_idle write_idle dataput dataput generator * refresh logic is implemented outside of mcmb block.
intel? 6400/6402 advanced memory buffer datasheet 139 ddr membist 11.5.2 mb flow control state machine this fsm controls the membist flow and generates read/write commands for membist. ? when mbcsr bit[31] is programmed to begin execution, the membist fsm will transition out of the idle state to eith er wr_start or rd_start, depending upon the membist command programmed in mbcsr:cmd. ? in wr_start state, fsm will look at the de coding of data type selection. if lfsr data type generation is selected, fsm will go to wr_seed state. if not, fsm will directly go to wr_nxtad state. figure 11-7. mbfsm diagram membist mbfsm cget & lastaddr idle wr_start mbstart & (wronly | wrrdcmp) ~ lfsrdata core_rst_l =0 wr_nxtad wr_avail always wr_wait wr_done rd_start ~wronly writeidle wronly lfsrdata lfsrseed_done rd_nxtad rd_avail always wr_seed m b s t a r t & ( r d o n l y | r d c m p ) rd_wait rd_done rd_seed lfsrdata lfsrseed_done rd_wravl rd_nxtwr cget & rd2wr always cget & lastaddr & ~rdw2wr rdidle & ~rd2wr or wridle & rd2wr cget & lastaddr & rd2wr cget & ~lastaddr & ~rd2wr ~ lfsrdata always cget & ~lastaddr cget & ~lastaddr & rd2wr
ddr membist 140 intel? 6400/6402 advanced memory buffer datasheet ? in wr_seed state, membist will create 5 crc32 data sets and load into mbdata4/ 5/6/7/9 from the initial seed register mblf srsed. when 5 sets of random data are loaded into mbdata, the fsm will transition out of this state to wr_nxtad state. ? in the wr_nxtad state, the next address for the operation is calculated and the address issued. the fsm then transitions to the wr_avail state immediately. ? the fsm will alternate between wr_nxt ad and wr_avail until all writes are issued. in the wr_avail state, a write co mmand will be issued. once the previous cycle?s dram timing requirements are met (i ndicated by cget true), the fsm leaves the wr_avail state. if the write command issued was not to the last address, the fsm will transition to wr_nxtad. if this was the last address, the fsm will go to wr_wait state. ? in the wr_wait state, the fsm will wait for the timing for the last write to be met, and then will transition to the wr_done state. ? if this is a write only operation, then the fs m will go back to the idle state. if this is a write with read comparison test, the fsm will go to the rd_start state. ? in rd_start state, fsm will look at the de coding of data type selection. if lfsr data type generation is selected, fsm will go to rd_seed state. if not, fsm will directly go to rd_nxtad state. ? in rd_seed state, membist will create 5 crc32 data sets and load into mbdata4/ 5/6/7/9 from the initial seed register mblfsrsed. when 5 sets of random data is set and loaded into mbdata, fsm will transi t out of this state to rd_nxtad state. ? in the rd_nxtad state, the next address for the operation is calculated and the address issued. the fsm transitions to the rd_avail state immediately. ? the fsm will alternate between rd_nxtad and rd_avail until all reads are issued. in the rd_avail state, a read command w ill be issued. once the previous cycle?s dram timing requirements are met (indicat ed by cget true), the fsm leaves the rd_avail state. if the read command issued was not to the last address, the fsm will transition to rd_nxtad. if this wa s the last address, the fsm will go to rd_wait state. if this is a back to back read/write operation, the fsm will transit from the rd_avail state to the rd_nxtwr state. ? in the rd_nxtwr state, the address for the write command will be issued (which is the same as the read address previously used). the fsm then transitions to the rd_wravl state immediately. ? from the rd_wravl state, if this is the last address, the fsm will go to the rd_wait state after meeting the dram timing requirements. if this is not the last address, the fsm will go back to the rd_nxtad state again after meeting the dram timing requirements. ? in the rd_wait state, the fsm will wait for the timing requirements for the last read or write to be met, and then transition to the rd_done state. ? from the rd_done state the fsm will always go to the idle state.
intel? 6400/6402 advanced memory buffer datasheet 141 ddr membist 11.5.3 cs finite state machine figure 11-8. cs state machine membist csfsm idle activating act rcd_met core_rst_l =0 rdwt precharge ~samepage & timing_met go_idle a r e f _ a c c e p t auto- refresh aref_request samepage & timing_met self-refresh sref_request s r e f _ a c c e p t
ddr membist 142 intel? 6400/6402 advanced memory buffer datasheet 11.5.3.1 membist csfsm this fsm creates dram commands for membist. ? when read or write command is available and trp/trc timing are met, membist csfsm will transit out of idle state to act state. ? in act state, fsm will wait for trcd timing parameter qualified and go to rdwt state. ? if the next coming read or write command is in same page and dram timing is qualified, fsm will be looping in this stat e. if the next command is not in the same page or there is an auto-refresh/self-re fresh request, fsm will go to precharge state. ? in precharge state, fsm always go back to idle state. ? in idle state, if there is a self refresh or an auto refresh request, fsm will wait for self refresh logic accept signal or auto refresh accept signal.
intel? 6400/6402 advanced memory buffer datasheet 143 ballout and package information 12 ballout and package information 12.1 ballout the following section presents preliminary ballout information for the intel 6400/6402 advanced memory buffer (amb). this ballout is subject to change and is to be used for informational purposes only. 12.2 655-ball fbga 0.8mm pitch pin configuration figure 12-1. pinout configuration 29 28 27 26 25 24 23 22 21 20 9 8 7 6 5 4 3 2 11019 18 17 16 15 14 13 12 11 a b c d e f g h j k l m n p r t u v w y aa ab ac
ballout and package information 144 intel? 6400/6402 advanced memory buffer datasheet 12.3 pin assignments for the advanced memory buffer (amb) table 12-1. 655-ball fbga 0.8 mm pitch - left side 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 a v ss dq26 dq12 v dd dqs10 dq13 v dd dqs1 dq10 v dd testlo v dd v dd b v dd dqs3 dqs3 v ss dq14 dqs10 v ss dq11 dqs1 v ss ddrc testlo v dd v ss c v ss dqs2 dq18 v ss dq4 dqs9 v ss dq15 dq9 v ss dq8 ddrc v ss ddrc dqs17 ddq19dqs2 v ss dq16 dq24 v ss dqs9 dq7 v ss dq3 dqs0 v ss dqs8 dqs8 v dd edq21 v ss dq17 dq29 v ss dq25 dq6 v ss dq5 dq1 v ss dq0 cb1 v ss cb2 f v ss dq20 dq23 v ss dq31 dq27 v ss testlo test v ss dqs0 dq2 v dd cb0 cb3 gdqs11 dqs11 nc nc nc v ss dqs12 dqs12 nc nc nc bfunc rfu rfu rfu hdq22 v ss nc nc nc dq28 dq30 v ss nc nc nc v ss v dd v ss v dd j v ss clk2 nc nc nc ba1a v ss cke1a nc nc nc v dd v ss v dd v ss kclk2 clk0 nc nc nc v ss wea rasa nc nc nc v ss v cc v ss v cc lclk0 v ss nc nc nc a0a cke0a v ss nc nc nc v cc v ss v cc v ss m odt0a rfu nc nc nc casa v ss ba2a nc nc nc v ss v cc v ss v cc ncs1a cs0a nc nc nc v ss ba0a a10a nc nc nc v cc v ss v cc v ss pa6a v ss nc nc nc a2a a1a a3a nc nc nc v ss v cc v ss v cc r v ss a8a nc nc nc a11a v ss a5a nc nc nc v cc v ss v cc v ss ta4aa13a nc nc nc v ss a9a a7a nc nc nc v ss v cc v ss v cc upn0pn0 nc nc nc a15a a14a a12a nc nc nc rfu v ccfbd v ss v ss vpn1pn1 v ss sn0 sn0 v ccfbd v ss v ccfbd v ss rfu a rfu a v ccfbd v ss v ss v ss wpn2pn2 v ss sn1 sn1 sn3 sn4 sn5 sn13 sn12 sn6 sn7 sn8 sn9 sn10 ypn3pn3 v ss sn2 sn2 sn3 sn4 sn5 sn13 sn12 sn6 sn7 sn8 sn9 sn10 aa v ss pn4 pn4 v ss v ss v ss v ss v ss v ss v ss v ss v ss v ss v ss v ss ab v ss reset pn5 pn13 rfu a pn12 pn6 pn7 pn8 pn9 v ssapll v ccapll pn10 pn11 ac v ss pn5 pn13 rfu a pn12 pn6 pn7 pn8 pn9 fbdres plltst o pn10 pn11 these pin positions are reserved for forward cloc ks to be used in future amb implementations.
intel? 6400/6402 advanced memory buffer datasheet 145 ballout and package information table 12-2. 655-ball fbga 0.8 mm pitch - right side 16 17 18 19 20 21 22 23 24 25 26 27 28 29 a v dd test v dd dq52 dqs15 v dd dq49 dqs6 v dd dq48 dq38 v dd b v dd test ddrc v ss dqs15 dq53 v ss dqs6 dq50 v ss dqs13 dqs13 v ss cdqs17 v ss ddrc dq54 v ss dq55 dq51 v ss dqs7 dq56 v ss dq46 dqs14 v dd dcb6cb7 v ss dqs16 dq63 v ss dq59 dqs7 v ss dq36 dq44 v ss dqs14 dq47 e v ss cb5 dqs16 v ss dq61 dq57 v ss dq58 dq39 v ss dq33 dq45 v ss dq41 fcb4 v dd dq62 dq60 v ss test test v ss dq37 dq35 v ss dqs5 dq43 v ss g test lo rfu rfu nc nc nc dqs4 dqs4 v ss nc nc nc dqs5 dq40 h v ss v dd v ss nc nc nc v ss dq34 dq32 nc nc nc v ss dq42 j v dd v ss v dd nc nc nc rasb v ss rfu nc nc nc clk3 v ss k v ss v cc v ss nc nc nc odt0b cs1b v ss nc nc nc clk1 clk3 l v cc v ss v cc nc nc nc v ss casb web nc nc nc v ss clk1 m v ss v cc v ss nc nc nc cs0b v ss ba1b nc nc nc cke0b v ss n v cc v ss v cc nc nc nc a0b a2b v ss nc nc nc ba0b ba2b p v ss v cc v ss nc nc nc v ss a4b a1b nc nc nc v ss cke1b r v cc v ss v cc nc nc nc a6b v ss a10b nc nc nc a3b v ss t v ss v cc v ss nc nc nc a11b a9b v ss nc nc nc a7b a5b u v ss v ccfbd rfu nc nc nc a8b a15b a14b sa0 scl sda ps8 ps8 v v ccfbd v ss v ccfbd v ss v ccfbd rfu a rfu a v ss a13b a12 b sa2 sa1 ps7 ps7 w v ss ss0 ss1 ss2 ss3 ss4 ss9 ss5 ss6 ss7 ss8 v ss ps6 ps6 y v ss ss0 ss1 ss2 ss3 ss4 ss9 ss5 ss6 ss7 ss8 v ss ps5 ps5 aa v ss v ss v ss v ss v ss v ss v ss v ss v ss v ss v ss ps9 ps9 v ss ab v ss sn11 v ss sck testlo _ab20 ps0 ps1 ps2 ps3 ps4 rfu a v ddspd v ss ac rfu sn11 v ss sck test lo_ac2 0 ps0 ps1 ps2 ps3 ps4 rfu a v ss these pin positions are reserved for forward cloc ks to be used in future amb implementations. table 12-3. advanced memory buffer si gnals by ball number (sheet 1 of 7) ball no. signal ball no. signal ball no. signal a3 vss b15 vss c25 dq56 a4 dq26 b16 vdd c26 vss a5 dq12 b17 testlo c27 dq46 a6 vdd b18 ddrc_b18 c28 dqs14 a7 dqs10 b19 vss c29 vdd a8 dq13 b20 dqs15 d1 dq19 a9 vdd b21 dq53 d2 dqs2
ballout and package information 146 intel? 6400/6402 advanced memory buffer datasheet a10 ddqs1 b22 vss d3 vss a11 dq10 b23 dqs6 d4 dq16 a12 vdd b24 dq50 d5 dq24 a13 testlo b25 vss d6 vss a14 vdd b26 dqs13 d7 dqs9 a15 vdd b27 dqs13 d8 dq7 a16 vdd b28 vss d9 vss a17 test c1 vss d10 dq3 a18 vdd c2 dqs2 d11 dqs0 a19 dq52 c3 dq18 d12 vss a20 dqs15 c4 vss d13 dqs8 a21 vdd c5 dq4 d14 dqs8 a22 dq49 c6 dqs9 d15 vdd a23 dqs6 c7 vss d16 cb6 a24 vdd c8 dq15 d17 cb7 a25 dq48 c9 dq9 d18 vss a26 dq38 c10 vss d19 dqs16 a27vdd c11dq8 d20dq63 b2 vdd c12 ddrc_c12 d21 vss b3 dqs3 c13 vss d22 dq59 b4 dqs3 c14 ddrc_c14 d23 dqs7 b5 vss c15 dqs17 d24 vss b6 dq14 c16 dqs17 d25 dq36 b7 dqs10 c17 vss d26 dq44 b8 vss c18 ddrc_c18 d27 vss b9 dq11 c19 dq54 d28 dqs14 b10 dqs1 c20 vss d29 dq47 b11vss c21dq55 e1 dq21 b12 ddrc_b12 c22 dq51 e2 vss b13 testlo c23 vss e3 dq17 b14vdd c24dqs7 e4 dq29 e5 vss f14 cb0 g23 dqs4 e6 dq25 f15 cb3 g24 vss e7 dq6 f16 cb4 g25 nc e8 vss f17 vdd g26 nc e9 dq5 f18 dq62 g27 nc e10 dq1 f19 dq60 g28 dqs5 e11 vss f20 vss g29 dq40 e12 dq0 f21 test h1 dq22 e13 cb1 f22 test h2 vss e14 vss f23 vss h3 nc e15 cb2 f24 dq37 h4 nc table 12-3. advanced memory buffer si gnals by ball number (sheet 2 of 7) ball no. signal ball no. signal ball no. signal
intel? 6400/6402 advanced memory buffer datasheet 147 ballout and package information e16 vss f25 dq35 h5 nc e17 cb5 f26 vss h6 dq28 e18 dqs16 f27 dqs5 h7 dq30 e19 vss f28 dq43 h8 vss e20 dq61 f29 vss h9 nc e21 dq57 g1 dqs11 h10 nc e22 vss g2 dqs11 h11 nc e23 dq58 g3 nc h12 vss e24 dq39 g4 nc h13 vdd e25 vss g5 nc h14 vss e26 dq33 g6 vss h15 vdd e27 dq45 g7 dqs12 h16 vss e28 vss g8 dqs12 h17 vdd e29 dq41 g9 nc h18 vss f1 vss g10 nc h19 nc f2 dq20 g11 nc h20 nc f3 dq23 g12 bfunc h21 nc f4 vss g13 rfu h22 vss f5 dq31 g14 rfu h23 dq34 f6 dq27 g15 rfu h24 dq32 f7 vss g16 testlo h25 nc f8 testlo g17 rfu h26 nc f9 test g18 rfu h27 nc f10 vss g19 nc h28 vss f11 dqs0 -> dqs0 g20 nc h29 dq42 f12 dq2 g21 nc j1 vss f13 vdd g22 dqs4 j2 clk2 j3 nc k12 vss l21 nc j4 nc k13 vcc l22 vss j5 nc k14 vss l23 casb j6 ba1a k15 vcc l24 web j7 vss k16 vss l25 nc j8 cke1a k17 vcc l26 nc j9 nc k18 vss l27 nc j10 nc k19 nc l28 vss j11 nc k20 nc l29 clk1 j12 vdd k21 nc m1 odt0a j13 vss k22 odt0b m2 rfu j14 vdd k23 cs 1b m3 nc j15 vss k24 vss m4 nc j16 vdd k25 nc m5 nc j17 vss k26 nc m6 casa table 12-3. advanced memory buffer si gnals by ball number (sheet 3 of 7) ball no. signal ball no. signal ball no. signal
ballout and package information 148 intel? 6400/6402 advanced memory buffer datasheet j18 vdd k27 nc m7 vss j19 nc k28 clk1 m8 ba2a j20 nc k29 clk3 m9 nc j21 nc l1 clk0 m10 nc j22 rasb l2 vss m11 nc j23 vss l3 nc m12 vss j24 rfu l4 nc m13 vcc j25 nc l5 nc m14 vss j26 nc l6 a0a m15 vcc j27 nc l7 cke0a m16 vss j28 clk3 l8 vss m17 vcc j29 vss l9 nc m18 vss k1 clk2 l10 nc m19 nc k2 clk0 l11 nc m20 nc k3 nc l12 vcc m21 nc k4 nc l13 vss m22 cs0b k5 nc l14 vcc m23 vss k6 vss l15 vss m24 ba1b k7 wea l16 vcc m25 nc k8 rasa l17 vss m26 nc k9 nc l18 vcc m27 nc k10 nc l19 nc m28 cke0b k11 nc l20 nc m29 vss n1 cs1a p10 nc r19 nc n2 cs0a p11 nc r20 nc n3 nc p12 vss r21 nc n4 nc p13 vcc r22 a6b n5 nc p14 vss r23 vss n6 vss p15 vcc r24 a10b n7 ba0a p16 vss r25 nc n8 a10a p17 vcc r26 nc n9 nc p18 vss r27 nc n10 nc p19 nc r28 a3b n11 nc p20 nc r29 vss n12 vcc p21 nc t1 a4a n13 vss p22 vss t2 a13a n14 vcc p23 a4b t3 nc n15 vss p24 a1b t4 nc n16 vcc p25 nc t5 nc n17 vss p26 nc t6 vss n18 vcc p27 nc t7 a9a n19 nc p28 vss t8 a7a table 12-3. advanced memory buffer si gnals by ball number (sheet 4 of 7) ball no. signal ball no. signal ball no. signal
intel? 6400/6402 advanced memory buffer datasheet 149 ballout and package information n20 nc p29 cke1b t9 nc n21 nc r1 vss t10 nc n22 a0b r2 a8a t11 nc n23 a2b r3 nc t12 vss n24 vss r4 nc t13 vcc n25 nc r5 nc t14 vss n26 nc r6 a11a t15 vcc n27 nc r7 vss t16 vss n28 ba0b r8 a5a t17 vcc n29 ba2b r9 nc t18 vss p1 a6a r10 nc t19 nc p2 vss r11 nc t20 nc p3 nc r12 vcc t21 nc p4 nc r13 vss t22 a11b p5 nc r14 vcc t23 a9b p6 a2a r15 vss t24 vss p7 a1a r16 vcc t25 nc p8 a3a r17 vss t26 nc p9 nc r18 vcc t27 nc t28 a7b v8 vccfbd w17 ss0 t29 a5b v9 vss w18 ss1 -> ss1 u1 pn0 v10 rfu a w19 ss2 u2 pn0 v11 rfu a w20 ss3 u3 nc v12 vccfbd w21 ss4 u4 nc v13 vss w22 ss9 u5 nc v14 vss w23 ss5 u6 a15a v15 vss w24 ss6 u7 a14a v16 vccfbd w25 ss7 u8 a12a v17 vss w26 ss8 u9 nc v18 vccfbd w27 vss u10 nc v19 vss w28 ps6 u11 nc v20 vccfbd w29 ps6 u12 rfu v21 rfu a y1 pn3 u13 vccfbd v22 rfu a y2 pn3 u14 vss v23 vss y3 vss u15 vss v24 a13b y4 sn2 u16 vss v25 a12b y5 sn2 u17 vccfbd v26 sa2 y6 sn3 u18 rfu v27 sa1 y7 sn4 u19 nc v28 ps7 y8 sn5 u20 nc v29 ps7 y9 sn13 u21 nc w1 pn2 y10 sn12 table 12-3. advanced memory buffer si gnals by ball number (sheet 5 of 7) ball no. signal ball no. signal ball no. signal
ballout and package information 150 intel? 6400/6402 advanced memory buffer datasheet u22 a8b w2 pn2 y11 sn6 u23 a15b w3 vss y12 sn7 u24 a14b w4 sn1 y13 sn8 u25 sa0 w5 sn1 y14 sn9 u26 scl w6 sn3 y15 sn10 u27 sda w7 sn4 y16 vss u28 ps8 w8 sn5 y17 ss0 u29 ps8 w9 sn13 y18 ss1 v1 pn1 w10 sn12 y19 ss2 v2 pn1 w11 sn6 y20 ss3 v3 vss w12 sn7 y21 ss4 v4 sn0 w13 sn8 y22 ss9 v5 sn0 w14 sn9 y23 ss5 v6 vccfbd w15 sn10 y24 ss6 v7 vss w16 vss y25 ss7 these pin positions are reserved for forward cloc ks to be used in future amb implementations. y26 ss8 ab7 pn12 ac19 sck y27 vss ab8 pn6 ac20 testlo_ac20 y28 ps5 ab9 pn7 ac21 ps0 y29 ps5 ab10 pn8 ac22 ps1 aa1 vss ab11 pn9 ac23 ps2 aa2 pn4 ab12 vssapll ac24 ps3 aa3 pn4 ab13 vccapll ac25 ps4 aa4 vss ab14 pn10 ac26 rfu a aa5 vss ab15 pn11 ac27 vss aa6 vss ab16 vss aa7 vss ab17 sn11 aa8 vss ab18 vss aa9 vss ab19 sck aa10 vss ab20 testlo_ab20 aa11 vss ab21 ps0 aa12 vss ab22 ps1 aa13 vss ab23 ps2 aa14 vss ab24 ps3 aa15 vss ab25 ps4 aa16 vss ab26 rfu a aa17 vss ab27 vddspd aa18 vss ab28 vss aa19 vss ac3 vss aa20 vss ac4 pn5 aa21 vss ac5 pn13 aa22 vss ac6 rfu a table 12-3. advanced memory buffer si gnals by ball number (sheet 6 of 7) ball no. signal ball no. signal ball no. signal
intel? 6400/6402 advanced memory buffer datasheet 151 ballout and package information aa23 vss ac7 pn12 aa24 vss ac8 pn6 aa25 vss ac9 pn7 aa26 vss ac10 pn8 aa27 ps9 ac11 pn9 aa28 ps9 ac12 fbdres aa29 vss ac13 plltsto ab2 vss ac14 pn10 ab3 reset ac15 pn11 ab4 pn5 ac16 rfu ab5 pn13 ac17 sn11 ab6 rfu a ac18 vss these pin positions are reserved for forward cloc ks to be used in future amb implementations. table 12-3. advanced memory buffer si gnals by ball number (sheet 7 of 7) ball no. signal ball no. signal ball no. signal
ballout and package information 152 intel? 6400/6402 advanced memory buffer datasheet 12.4 package information figure 12-2. bottom view
intel? 6400/6402 advanced memory buffer datasheet 153 ballout and package information figure 12-3. top view t
ballout and package information 154 intel? 6400/6402 advanced memory buffer datasheet figure 12-4. package stackup t
intel? 6400/6402 advanced memory buffer datasheet 155 signal lists 13 signal lists 13.1 conventions the terms assertion and de-assertion are used extensively when describing signals, to avoid confusion when working with a mix of active-high and active-low signals. the term assert , or assertion , indicates that the signal is active, independent of whether the active level is represented by a high or low voltage. the term de-assert , or de- assertion , indicates that the signal is inactive. signal names may or may not have a ?#? at appended to them. the ?#? symbol at the end of a signal name indicates that the active, or asserted state occurs when the signal is at a low voltage level. when ?#? is not present after the signal name the signal is asserted when at the high voltage level. differential pairs use the ?#? to indicate the ?n egative? signal in the pair. the ?positive? signal in when discussing data values used inside the component, the logical value is used; that is, a data value described as ?1101b? would appear as ?1101b? on an active- high bus, and as ?0010b? on an active-low bus. when discussing the assertion of a value on the actual signal, the physical value is used; that is, asserting an active-low signal produces a ?0? value on the signal. typical frequencies of operation for the fastest operating modes are indicated. test guardbands are not included. no frequency is mentioned for asynchronous or analog signals. some signals or groups of signals have multiple versions. these signal groups may represent distinct but similar ports or interfaces, or may represent identical copies of the signal used to reduce loading effects. ta b l e 1 3 - 1 shows the conventions used in this document . curly-bracketed non-trailing numerical indices, for example, ?{x/y}?, represent replications of major buses. square-bracket ed numerical indices, , ?[n:m]? represent functionally similar but logically distinct bus signals; each signal provides an independent control, and may or may not be asserted at the same time as the other signals in the grouping. in contrast, tra iling curly-bracketed numerical indices, for example, ?{x/y}? typically represent identica l duplicates of a signal; such duplicates are provided for electrical reasons. table 13-2 lists the reference terminol ogy used for signal types. table 13-1. signal naming conventions convention expands to rr{0/1/2}xx expands to: rr0xx, rr1xx, and rr2xx. this denotes similar signals on replicated buses. rr[2:0] expands to: rr[2], rr[1], and rr[0]. this denotes a bus. rr{0/1/2} expands to: rr2, rr1, and rr0. this denotes electrical duplicates. rr# or rr[2:0]# denotes an active low signal or bus.
signal lists 156 intel? 6400/6402 advanced memory buffer datasheet 13.2 intel 6400/6402 advanced memory buffer (amb) pin description list ta b l e 1 3 - 3 describes the intel 6400/6402 advanced memory buffer (amb) packagepins. table 13-2. buffer signal types buffer direction description iinput signal ooutput signal aanalog i/o bidirectional (input/output) signal table 13-3. pin description (sheet 1 of 2) signal type description channel interface pn[13:0] o northbound output data: high speed serial signal. read path from amb toward host on primary side of the dimm connector. pn [13:0] o northbound output data complement sn[13:0] i northbound input data: high speed serial signal. read path from the previous amb toward this amb on secondary side of the dimm connector. sn [13:0] i northbound input data complement ps[9:0] i southbound input data: high speed serial signal. write path from host toward amb on primary side of the dimm connector. ps [9:0] i southbound input data complement ss[9:0] o southbound output data: high speed serial signal. write path from this amb toward next amb on secondary side of the dimm connector. these output buffers are disabled for the last amb on the channel. ss [9:0] o southbound output data complement fbdres a external precision resistor connected to vcc. on-die termination ca librated against this resistor. dram interface cb[7:0] i/o check bits dq[63:0] i/o data dqs[17:0] i/o data strobe: ddr2 data and check-bit strobe. dqs [17:0] i/o data strobe complement: ddr2 data and check-bit strobe complements. a0a-a15a, a0b-a15b o address: used for providing multiplexed ro w and column address to sdram. ba0a-ba2a, ba0b-ba2b o bank active: used to select the bank within a rank. ras a, ras bo row address strobe: used with cs , cas , and we to specify the sdram command. cas a, cas bo column address strobe: used with cs , ras , and we to specify the sdram command. we a, we bo write enable: used with cs , cas , and ras to specify the sdram command. cs 0a-cs 1a, cs 0b-cs 1b o chip select: used with cas , ras , and we to specify the sdram command. these signals are used for selecting one of two sdram ranks. cs 0 is used to select the first rank and cs 1 is used to select the second rank. cke0a-cke1a, cke0b-cke1b o clock enable: dimm command register enable.
intel? 6400/6402 advanced memory buffer datasheet 157 signal lists odt0a, odt0b o dimm on-die-termination: dynamic odt enables for each dimm on the channel. clk[3:0] o clock: clocks to drams. clk0 and clk1 are always used. clk2 and clk3 are optional and may be disabled when not required. clk [3:0] o clock complement: clocks to drams. ddr compensation ddrc_c14 a ddr compensation common: common return (ground) pin for ddrc_b18 and ddrc_c18 ddrc_b18 a ddr compensation ball resistor connected to compensation common above ddrc_c18 a ddr compensation ball resistor connected to compensation common above ddrc_b12 a ddr compensation ball resistor connected to vss ddrc_c12 a ddr compensation ball resistor connected to vdd clocking sck i amb clock: this is one of the two differential reference clock inputs to the phase locked loop in the amb core. phase locked loops in the amb will shift this to all frequencies required by the core, ddr channels, and fbd channel. sck iamb clock complement: this is the other differe ntial reference clock input to the phase locked loop in the amb core. phase locked loops in the amb will shift this to all frequencies required by the core, ddr channels, and fbd channel. vccapll a vcc: pll analog voltage for th e core pll (see chapter 8, clocking) vssapll a vss: pll analog voltage for the core pll (see chapter 8, clocking) system management scl i/o smbus clock sda i/o smbus address/data sa[2:0] dimm select id reset reset# power good reset miscellaneous test test (6 pins) nc pin for debug and test. must be floated on dimm. testlo (3 pins) a pin for debug and test. must be tied to ground on dimm testlo_ab20 a pin for debug and test. connected to two resistors. one resistor is connected to vccfbd, the other resistor is connected to vss. testlo_ac20 a pin for debug and test. connected to two resistors. one resistor is connected to vccfbd, the other resistor is connected to vss. power supplies vcc (2pins) a 1.5v nominal supply for core logic vccfbd (8 pins) a 1.5v nominal supply for fbd high speed i/o vdd (24 pins) a 1.8v nominal supply for ddr i/o vss (156 pins) a ground vddspd a 3.3v nominal supply for sm b receivers and esd diodes other pins bfunc i buffer function bit: when bfunc = 0, amb is used as a regular buffer on fb-dimm. when bfunc = 1, amb is used as either a repeater or a buffer for lai function. on fb-dimm, bfunc is tied to ground rfu (18 pins) nc reserved for future use. must be floated on dimm. rfu pins denoted by ?a? are reserved for forwarded clocks in future amb implementations. other no connect pins nc (129 pins) nc no connect pins table 13-3. pin description (sheet 2 of 2) signal type description
signal lists 158 intel? 6400/6402 advanced memory buffer datasheet ta b l e 1 3 - 4 lists the signal types and pin counts. table 13-4. pin count signal pin count channel interface 97 dram interface 170 ddr compensation 5 clocking 5 system management 5 reset 1 miscellaneous test 11 power supplies 213 other pins 19 sub-total 526 other no connect pins 129 total 655
intel? 6400/6402 advanced memory buffer datasheet 159 registers 14 registers 14.1 access mechanisms the intel 6400/6402 advanced memory buffer (amb) component supports pci configuration space access as defined in the pci local bus specification, rev.2.2 . the internal registers of the amb can be accessed in byte (8-bit), word (16-bit), or double word (32-bit) quantities. all multi-byte numeric fields use ?little-endian? ordering (that is, lower addresses contain the least signific ant parts of the field). as a memory buffer (not a pci device or bridge) the amb is no t fully compliant with this mechanism with respect to the standard registers (those with offsets 0-3fh). the amb will not be mapped into the host syst em's pci plug and play hierarchy, but is accessed through a method that is host controller implementation specific. problems will occur if the host system ma ps the registers into the pci pnp hierarchy. configuration accesses are transported on th e fbd link as configuration read and write commands, which mimic the corresponding pci commands. the amb responds to any device encoded in an fbd command. the amb responds only to sm bus requests that match the nodeid. the ?device:? mentioned in the heading of each configuration register table does not designate the pci device; it designates the sm bus node. 14.1.1 conflict resolution an d usage model limitations amb accepts configuration register reads and writes through the fbd link and through smbus transactions. in logic analyzer interface (lai) mode, registers are not accessible through the in-band fbd link configuration read/write commands. registers do not incur read side-effects. 14.1.2 fbd data on confi guration read returns fbd read return data from the amb is described in the fb-dimm architecture and protocol specification . configuration reads are sent in northbound data frames. only the bottom four bytes of this data are define d for a configuration access. the rest of the bytes in the read return are undefined. le gal crcs are generated for these undefined inbound bytes. 14.1.3 non-existent register bits to comply with the pci specification, accesses to non-existent registers and bits will be treated as follows: table 14-1. access to ?non-e xistent? register bits access to writes reads registers in unimplemented functions have no effect amb returns -1 registers not listed have no effect amb returns all zeroes reserved bits in registers software must read-modify- write to preserve the value amb returns implementation specific values
registers 160 intel? 6400/6402 advanced memory buffer datasheet 14.1.4 register attribute definition table 14-2. register attributes definitions attribute abbreviation description read only ro this bit is set by the hardware. software can only read the bit. writes to the register have no effect. write only wo the bit is not implemented as a bit. the write causes some hardware event to take place. read returns all zeroes. read/write rw the bit can be re ad or written by software. read/write / clear rwc the bit can be either read or cleare d by software. in order to clear a bit, the software must write a one to it. wr iting a zero to an rwc bit will have no effect. hardware will set this bit. read/write / set rws the bit can be either read or set by software. in order to set this rws bit, the software must write a one to it. wr iting a zero to an rws bit will have no effect. hardware will clear this bit. read/write lock rwl the bit can be read and written by software. hardware or a configuration bit can lock this bit and prevent it from being updated. read/write once rwo the bit can be read by software. it can also be written by software but the hardware prevents writing/setting it more than once without a prior ?effective? reset. this protection ap plies on a byte-by-byte basis. for example, if a two-bit rwo field st raddles a byte boundary and only one byte is written, then the written bi t cannot be rewritten (unless reset). however, the unwritten bit can still be written once. this is a special form of rwl read/restricted write rrw the bit field can be read by software . only a restricted set of values can be written through a configuration write in-band from the host. illegal values will be aborted and dropped. sticky all of the above with ?st? appended to the end the bit is ?sticky? or unchanged by a link reset. these bits can only be defaulted by a power-up reset. reserved rv this bit is reserved for future expansion and must not be written. the pci local bus spec ification, revision 2.2 requires that reserved bits must be preserved. any software that modifies a register that contains a reserved bit is responsible for reading the register, modifying the desired bits, and writing back the result.
intel? 6400/6402 advanced memory buffer datasheet 161 registers 14.1.5 binary number notation when references are made to binary numbers, the following notation is used: n?bxx n - number of digits b - indicates binary xx - binary value for example, 2?b01 is two binary digital of value ?01?. 14.1.6 function mapping the following functions are described in this chapter: 0) pci standard header identification registers 1) fbd link registers 2) implementation specific fbd registers 3) ddr and miscellaneous registers 4) implementation specific ddr initialization and calibration registers 5) dfx registers 6) bring-up and debug registers table 14-3. function mapping legend fill description regname required architected register?regname? in these bytes reserved reserved register for future architecture in these bytes regname optional architected register?regname? in these bytes ? no implementation specific registers usage recommended unused register location available for implementation specific use
registers 162 intel? 6400/6402 advanced memory buffer datasheet table 14-4. function 0: pci standard header identification registers did vid 00h 80h 04h 84h ccr rid 08h 88h hdr 0ch 8ch 10h 90h 14h 94h 18h 98h 1ch 9ch 20h a0h 24h a4h 28h a8h reserved 2ch ach 30h b0h 34h b4h 38h b8h 3ch bch 40h c0h 44h c4h 48h c8h 4ch cch 50h d0h 54h d4h 58h d8h 5ch dch 60h e0h 64h e4h 68h e8h 6ch ech 70h f0h 74h f4h 78h f8h 7ch fch
intel? 6400/6402 advanced memory buffer datasheet 163 registers table 14-5. function 1: fbd link registers 00h 80h 04h 84h 08h cbc 88h 0ch emask 8ch 10h ferr 90h 14h nerr 94h 18h reccfg 98h 1ch recfbd1 recfbd0 9ch 20h recfbd3 recfbd2 a0h 24h recfbd5 recfbd4 a4h 28h recfbd7 recfbd6 a8h 2ch recfbd9 recfbd8 ach 30h spdpar23nxt spdpar01nxt b0h 34h spdpar67nxt spdpar45nxt b4h 38h spdpar1011nxt spdpar89nxt b8h 3ch spdpar 13nxt spdpar 12nxt bch fbds3 fbds2 fbds1 fbds0 40h spdpar23cur spdpar01cur c0h 44h spdpar67cur spdpar45cur c4h 48h spdpar1011cur spdpar89cur c8h 4ch spdpar 13cur spdpar 12cur cch linkparcur fbdnbc fgcur fbdsbc fgcur 50h d0h linkparnxt fbdnbc fgnxt fbdsbc fgnxt 54h d4h 58h d8h modes 5ch dch features 60h e0h fbdlis 64h e4h fbdlockto 68h c2dincrc ur c2dincr nxt cmd2dat acur cmd2da tanxt e8h fbdls fbdhac 6ch ech recaldu r 70h f0h 74h f4h synctr ainint 78h f8h nbcalstatus sbcalstatus 7ch fch
registers 164 intel? 6400/6402 advanced memory buffer datasheet table 14-6. function 2: implemen tation specific fbd registers 00h 80h 04h 84h 08h 88h 0ch 8ch 10h 90h 14h 94h 18h 98h 1ch 9ch 20h a0h 24h a4h 28h a8h 2ch ach 30h b0h 34h b4h 38h b8h 3ch bch 40h c0h 44h c4h 48h c8h 4ch cch 50h d0h 54h d4h 58h d8h 5ch dch 60h e0h 64h e4h 68h e8h 6ch ech 70h f0h 74h f4h 78h f8h 7ch fch
intel? 6400/6402 advanced memory buffer datasheet 165 registers table 14-7. function 3: ddr and miscellaneous registers 00h updated temphi tempmid templo 80h 04h temp tempstat 84h 08h 88h 0ch 8ch 10h 90h 14h 94h 18h 98h 1ch mb_start_addr 9ch 20h mb_end_addr a0h 24h mb_lfsr a4h 28h mbfaddrptr a8h 2ch ach 30h mb_err_data00 b0h 34h mb_err_data01 b4h 38h mb_err_data02 b8h 3ch mb_err_data03 bch mbcsr 40h mb_err_data04 c0h mbaddr 44h c4h mbdata0 48h c8h mbdata1 4ch cch mbdata2 50h d0h mbdata3 54h d4h mbdata4 58h d8h mbdata5 5ch dch mbdata6 60h e0h mbdata7 64h e4h mbdata8 68h e8h mbdata9 6ch ech dareftc 70h f0h mtr dsreftc 74h f4h drt 78h f8h drc 7ch fch
registers 166 intel? 6400/6402 advanced memory buffer datasheet table 14-8. function 4: implementation spec ific ddr initialization and calibration registers 00h dcaldata5 9 dcaldata5 8 dcaldata5 7 dcaldata5 6 80h 04h dcaldata6 3 dcaldata6 2 dcaldata6 1 dcaldata6 0 84h 08h dcaldata6 7 dcaldata6 6 dcaldata6 5 dcaldata6 4 88h 0ch dcaldata7 1 dcaldata7 0 dcaldata6 9 dcaldata6 8 8ch 10h ddbistlm 90h 14h rcvenac 94h 18h dsretc 98h 1ch dqsfail1 9ch 20h drrtc00 a0h 24h drrtc01 a4h 28h a8h 2ch ach 30h dqsofcs00 b0h 34h dqsofcs01 b4h 38h dqsofcs10 b8h 3ch dqsofcs11 bch dcalcsr 40h dqsofc s12 dqsofc s02 drrtc0 2 c0h dcaladdr 44h dramdllc c4h dcaldata 3 dcaldata 2 dcaldata 1 dcaldata 0 48h wptrtc0 c8h dcaldata 7 dcaldata 6 dcaldata 5 dcaldata 4 4ch wptrt c1 cch dcaldata 11 dcaldata 10 dcaldata 9 dcaldata 8 50h ddqscvdp0 d0h dcaldata 15 dcaldata 14 dcaldata 13 dcaldata 12 54h ddqscvdp1 d4h dcaldata 19 dcaldata 18 dcaldata 17 dcaldata 16 58h ddqscadp0 d8h dcaldata 23 dcaldata 22 dcaldata 21 dcaldata 20 5ch ddqscadp1 dch dcaldata 27 dcaldata 26 dcaldata 25 dcaldata 24 60h drrtc00 e0h dcaldata 31 dcaldata 30 dcaldata 29 dcaldata 28 64h e4h dcaldat a35 dcaldat a34 dcaldat a33 dcaldat a32 68h fivesreg e8h dcaldat a39 dcaldat a38 dcaldat a37 dcaldat a36 6ch aaaareg ech dcaldat a43 dcaldat a42 dcaldat a41 dcaldat a40 70h diomon f0h dcaldat a47 dcaldat a46 dcaldat a45 dcaldat a44 74h odtztc f4h dcaldat a51 dcaldat a50 dcaldat a49 dcaldat a48 78h dramisctl f8h dcaldat a55 dcaldat a54 dcaldat a53 dcaldat a52 7ch ddr2o dtc fch
intel? 6400/6402 advanced memory buffer datasheet 167 registers table 14-9. function 5: dfx registers reserved 00h 80h reserved 04h 84h reserved 08h 88h reserved 0ch 8ch 10h 90h 14h 94h 18h 98h 1ch 9ch 20h a0h 24h a4h 28h a8h 2ch ach 30h b0h 34h b4h 38h lai b8h transcfg 3ch sbmatchu bch tranderr1 tranderr0 40h sbmatchl0 c0h tranderr3 tranderr2 44h sbmatchl1 c4h tranderr5 tranderr4 48h sbmatchl2 c8h tranderr7 tranderr6 4ch sbmasku cch tranderr8 50h sbmaskl0 d0h 54h sbmaskl1 d4h 58h sbmaskl2 d8h 5ch mmeventsel dch 60h eventsel0 e0h 64h eventsel1 e4h 68h eventsel2 e8h 6ch ech 70h event f0h 74h evbus f4h 78h f8h 7ch stuckl eicntl fch
registers 168 intel? 6400/6402 advanced memory buffer datasheet table 14-10. function 6: bring-up and debug registers register bit location reserved 04h sbfibpgctl 84h 10h sbfibrxmsk 90h 14h sbfibtxshft 94h 18h sbfibrxshft 98h 1ch sbfibrxlnerr 9ch 20h sbfibpattbuf2 a0h 24h sbfibpattbuf2en a4h 28h a8h 2ch ach 30h sbfibinit b0h 34h sbibistmisc b4h 38h b8h 3ch bch 40h nbfibportctl c0h 44h nbfibpgctl c4h 48h nbfibpattbuf1 c8h 4ch nbfibtxmsk cch 50h nbfibrxmsk d0h 54h nbfibtxshft d4h 58h nbfibrxshft d8h 5ch nbfibrxlnerr dch 60h nbfibpattbuf2 e0h 64h nbfibpattbuf2en e4h 68h e8h 6ch ech 70h nbfibinit f0h 74h nbibistmisc f4h 78h f8h
intel? 6400/6402 advanced memory buffer datasheet 169 registers 14.2 pci standard header identification registers (function 0) 14.2.1 vid: vendor iden tification register this register identifies intel as the manufacturer of the amb. 14.2.2 did: device iden tification register these registers combined with the vendor iden tification register uniquely identifies the amb devices. 14.2.3 rid: revision id entification register this register contains the revision number of the amb. device: nodeid function: 0 offset: 00h bit attr default description 15:0 ro 8086h vendor identification number the value assigned to intel. device: nodeid function: 0 offset: 02h bit attr default description 15:0 ro a620h device identification number identifies each function of the amb device: nodeid function: 0 offset: 08h bit attr default description 7:0 ro 10h revision identification number : rid ?00h? = a0 stepping ?01h? = a1 stepping ?02h? = a2 stepping ?10h? = b0 stepping
registers 170 intel? 6400/6402 advanced memory buffer datasheet 14.2.4 ccr: class code register this register contains the class code for the amb, specifying the device function. 14.2.5 hdr: header type register this register identifies the header layout of the configuration space. 14.3 fbd link regi sters (function 1) 14.3.1 fbd link control and status 14.3.1.1 fbds0: fbd status 0 this register contains copies of status bi ts returned by the amb in the most recent northbound status frame when sync command r[1:0] field is 2?b00. in the absence of syncs to this regi ster, this register is not updated. device: nodeid function: 0 offset: 09h bit attr default description 23:16 ro 05h base class . this field indicates the general device cate gory. for the amb, this field is hardwired to 05h, indicating it is a ?memory controller?. 15:8 ro 00h sub-class. this field qualifies the base class, provid ing a more detailed specification of the device function. for the amb, this field is hardwired to 00h, indicating it is a ?ram?. 7:0 ro 00h register-level programming interface. this field identifies a sp ecific programming interface (if any), that device independent software can use to interact with the device. there are no such interfaces defined for ?memory controllers?. device: nodeid function: 0 offset: 0eh bit attr default description 7ro 1 multi-function device. selects whether this is a multi-functi on device, that may have alternative configuration layouts. the amb has more than the 256 bytes of configuration registers allotted to a single function. therefore, the amb is defined to be a multifunction device, and this bit is hardwired to 1. 6:0 ro 00h configuration layout. this field identifies the fo rmat of the 10h through 3fh space. the amb uses header type ?00?: these bits are hardwired to 00h. device: nodeid function: 1 offset: 40h bit att r default description 7:5 rv 0h reserved 4 ro 0h sp: parity: this bit contains an odd parity bit that covers the s[3:0] field.
intel? 6400/6402 advanced memory buffer datasheet 171 registers 14.3.1.2 fbds1: fbd status 1 this register contains copies of status bits returned by the amb in the most recent northbound status frame when sync command r[1:0] field is 2?b01. 14.3.1.3 fbds2: fbd status 2 this register contains copies of status bits returned by the amb in the most recent northbound status frame when sync command r[1:0] field is 2?b10. 3ro 0h s3: northbound debug event (1 = asserted, 0 = inactive): this bit is used to communicate debug events to the host. 2:1 ro 0h s[2:1]: thermal trip: this field indicates various thermal conditions of the amb as follows: ? 00 ? below templo ? 01 ? above templo ? 10 ? above tempmid and falling ? 11 ? above tempmid and rising the templo threshold is generally used to inform the host to accelerate refresh events. the tempmid threshold is generally used to inform the host that a thermal limit has been exceeded and that thermal throttling is needed. refer to the ras chapter for more details on thermal management. 0 ro 0h s0: error asserted: this bit indicates an error has been detected by the amb. errors can be alert or other type. device: nodeid function: 1 offset: 40h bit att r default description device: nodeid function: 1 offset: 41h bit att r default description 7:5 rv 0h reserved 4 ro 0h sp: parity: this bit contains an odd parity bit that covers the s[3:0] field. 3:1 rv 0h reserved 0 ro 0h s0: data merge error: this bit indicates that the northbound data merge alignment logic of an intermediate amb cannot met the timing required to merge its dram data into the northbound data stream when required. refer to the initialization chapter for details. device: nodeid function: 1 offset: 42h bit att r default description 7:5 rv 0h reserved 4 ro 0h sp: parity: this bit contains an odd parity bit that covers the s[3:0] field. 3:0 rv 0h reserved
registers 172 intel? 6400/6402 advanced memory buffer datasheet 14.3.1.4 fbds3: fbd status 3 this register contains copies of bits that were returned by the amb in the most recent northbound status frame when the sync command r[1:0] field is 2?b11. this can also be written with an override value that w ill be returned if selected during sync command. 14.3.1.5 modes: operating mode this register contains overview configuration status of chip. 14.3.1.6 features : capabilities this register reports optional capabilities of this dimm. device: nodeid function: 1 offset: 43h bit att r default description 7:6 rv 0h reserved 5rw 0h ovren: use values written by user. setting this bit causes the values specified in the lower 5 bits of this register returned as-i s if requested by sync command. 4rw 1h usrpar: user specified parity for usrval 3:0 rw 0h usrval: user specified value device: nodeid function: 1 offset: 5ch bit att r default description 7ro 1 normal: ? 1 = normal amb buffer 6ro 0 lai: ?1 = lai 5ro 0 repeater: ?1 = repeater 4 ro 0 transparent: ? 1 = transparent test mode 3:0 rv 0 reserved device: nodeid function: 1 offset: 60h bit attr default description 31:15 rv 0h reserved 14:11 ro 0011 ddrfreq: ddr2 frequencies supported ? 1xxx = reserved ? x1xx = ddr2-800 ? xx1x = ddr2-667 ? xxx1 = ddr2-533
intel? 6400/6402 advanced memory buffer datasheet 173 registers 14.3.1.7 fbdlis: fbd link initialization status this register reports fbd initialization status and is only valid when the link is up since it is not sticky. 10 ro 0 varlat: variable read latency mode ? 1 = support variable read latency on data returns ? 0 = not supported 9ro 1 lai: logic analyzer interface mode ? 1 = support remapping ddr interface as logic analyzer interface ? 0 = not supported 8ro 0 dmask: data mask for non-ecc write data ? 1 = support data mask with non-ecc write ? 0 = not supported 7ro 0 l0s: low power link state ? 1 = support l0s state ? 0 = not supported 6:2 ro 1eh nbwc: northbound width capability ? 1xxxx = 14 bits nb width supported ? x1xxx = 14bits fail over to 13 bits mode supported. ? xx1xx = 13 bits nb width supported ? xxx1x = 13 bits fail over to 12 bits mode supported. 1:0 ro 01 sbwc: southbound width capability ? x1 = 10 sb bits: device supports 10-bits and 10-bit fail-over to 9-bits. both configurations deliver 72-bits of data payload frame. ?1x = reserved device: nodeid function: 1 offset: 60h bit attr default description device: nodeid function: 1 offset: 64h bit attr default description 31:20 rv 0 reserved 19 ro 0 datamergeerror: northbound data merge error ?1 = nb merge error 18 rost 0 nbmergedis: northbound merge disable set by ts2 packet addressed to it ?1 = disable nb merge ? note: state in amb should be sticky through fast link reset until new ts2 resets bit or hard pin reset 17:12 ro 3fh nbwcfg: northbound width configuration set by ts3 ?see table in fbd architecture & protocol specification for full decoding ? [5:4] = selects 14, 13 or 12 lane operation. = protocol selection[1:0] out ts3 protocol selection[3:0] ? [3:0] - selects none or one lane to map out = nb channel configuration [3:0] in ts3 11:8 ro fh sbwcfg: southbound width capability set by ts3 ?see table in fbd architecture & protocol specification for full decoding ? [3:0] - selects none or one lane to map out 7rv 0 reserved
registers 174 intel? 6400/6402 advanced memory buffer datasheet 6ro 0 ts2resp: responded to a ts2 packet addressed to it 1: ts2 was addressed to this amb ? in polling mode - ds matches ts2 amb_id value ? undefined in other states 5ro 0 sb2nblbmap: specifies if upper or lower sb lanes are reflected in ts1 valid only during testing phase (ts1) 1 = upper sb bit lanes 0 = lower sb lanes 4ro 0 lastambflag: indicates if this amb is acting like the last amb ? in disable, calibrate - always 0. ? in training - set if ds matches ts0 amb_id value ? retains value after training till next reset. 3:0 ro 0h linitst: link initialization state encoding is ? 0000 - disable ? 0001 - calibrate ? 0010 - training ? 0011 - testing ? 0100 - polling ? 0101 - config ? 0110 - l0 ? 0111 - l0s ? 1000 - recalibrate device: nodeid function: 1 offset: 64h bit attr default description
intel? 6400/6402 advanced memory buffer datasheet 175 registers 14.3.1.8 fbdsbcfgnxt: fbd sb li nk electrical configuration this register contains next settings of control bits to set link electrical parameters to match link length and frequency characteristics. 14.3.1.9 fbdnbcfgnxt: fbd nb link electrical configuration this register contains next settings of control bits to set link electrical parameters to match link length and frequency characteristics. device: nodeid function: 1 offset: 54h bit attr default description 7:5 rv 0h reserved 4:3 rwst 00 sbtxdrvcur: ?11? = small ?10? = reserved ?01? = regular ?00? = large 2:1 rwst 10b sbtxdeemp: 00 = 0 db 01 = 3.5db 10 = 6db 11 = 9.5db 0rwst 1b sbresyncen: ?1? = sb pass-thru data is in re-sync mode ?0? = sb pass-thru is in re-sample mode. device: nodeid function: 1 offset: 55h bit attr default description 7:5 rv 0h reserved 4:3 rwst 00 nbtxdrvcur: ?11? = small ?10? = reserved ?01? = regular ?00? = large 2:1 rwst 10b nbtxdeemp: 00 = 0 db 01 = 3.5db 10 = 6db 11 = 9.5db 0rwst 1b nbresyncen: ?1? = sb pass-thru data is in re-sync mode ?0? = sb pass-thru is in re-sample mode.
registers 176 intel? 6400/6402 advanced memory buffer datasheet 14.3.1.10 linkparnxt: fbd link frequency this register contains current settings of control bits to set link electrical parameters to match link length and frequency characteristics. 14.3.1.11 fbdsbcfgcur: fbd sb li nk electrical configuration this register contains current settings of control bits to set link electrical parameters to match link length and frequency characteristics. device: nodeid function: 1 offset: 56h bit attr default description 15:2 rv 0h reserved 1:0 rwst cfreq: current link frequency ? 11 = ddr2-800 ? 10 = ddr2-667 ? 01 = ddr2-533 ? 00 = uninitialized device: nodeid function: 1 offset: 50h bit attr default description 7:5 rv 0h reserved 4:3 rost 00b sbtxdrvcur: ?11? = small ?10? = reserved ?01? = regular ?00? = large 2:1 rost 10b sbtxdeemp: 00 = 0 db 01 = 3.5db 10 = 6db 11 = 9.5db 0rost 1 sbresyncen: ?1? = sb pass-thru data is in re-sync mode ?0? = sb pass-thru is in re-sample mode.
intel? 6400/6402 advanced memory buffer datasheet 177 registers 14.3.1.12 fbdnbcfgcur: fbd nb li nk electrical configuration this register contains current settings of control bits to set link electrical parameters to match link length and frequency characteristics. 14.3.1.13 linkparcur: fbd link frequency this register contains current settings of control bits to set link electrical parameters to match link length and frequency characteristics device: nodeid function: 1 offset: 51h bit attr default description 7:5 rv 0h reserved 4:3 rost 00 nbtxdrvcur: ?11? = small ?10? = reserved ?01? = regular ?00? = large 2:1 rost 10b nbtxdeemp: 00 = 0 db 01 = 3.5db 10 = 6db 11 = 9.5db 0rost 1 nbresyncen: ?1? = sb pass-thru data is in re-sync mode ?0? = sb pass-thru is in re-sample mode. device: nodeid function: 1 offset: 52h bit attr default description 15:2 rv 0h reserved 1:0 rost 01 cfreq: current link frequency ? 11 = ddr2-800 ? 10 = ddr2-667 ? 01 = ddr2-533 ? 00 = reserved
registers 178 intel? 6400/6402 advanced memory buffer datasheet 14.3.1.14 fbdlockto: fbd bit lock time out register this register contains the bit lock time out value. this value is used by the to figure out when it should stop waiting for lanes to bit lock and make forward progress. the register also contains the width that the host is going to be starting with on the nb side. this will be used to mask off lanes for initial bit lock decision 14.3.1.15 fbdhac: fbd hot add control this register contains control to aid in hot add functionality. 14.3.1.16 fbdls: fbd link status this register reports amb fbd link status. device: nodeid function: 1 offset: 68h bit attr default description 15:2 rwst 0594h bltocnt: bit lock time out counter default: 1428 frames 1:0 rwst 0h nblinkcfg: northbound link config 00 = 14 lane 01 = 13 lane 10 = 12 lane 11 = reserved device: nodeid function: 1 offset: 6ch bit attr default description 7:2 rv 0 reserved 1 ro 0 nb_data_all_ones_flag: ? 1 = receiving ones on sufficient nb lanes to support init ? 0 = not receiving calibrate handshake on nb rx 0 rw 0 drive_ones_sb: ? 1 = enable sb tx outputs and drive one?s ? 0 = normal operation device: nodeid function: 1 offset: 6eh bit attr default description 7:3 rv 0h reserved 2ro 0 nlqs: northbound lane electrical status ?1? = northbound lanes are quiesced ?0? = northbound lanes are active 1ro 0 slqs: southbound lane electrical status ?1? = southbound lanes are quiesced ?0? = southbound lanes are active 0ro 0 lnkrdy: link ready ?1? = fbd link is ready to accept requests and deliver responses ?0? = fbd link is not ready
intel? 6400/6402 advanced memory buffer datasheet 179 registers 14.3.1.17 recaldur: fbd recalibrate duration this register determines the duration of the recalibration state between 32 and 42 frames. during recalibration state all commands and crc are ignored. 14.3.1.18 synctrainint: sync train interval register this register sets the typical spacing of sync commands on the link. 14.3.1.19 sbcalstatus: southbound calibration status this register contains the pass/fail information of the last calibration on a per lane basis for the southbound. the amb is expected to lo g the information when it is asked to go through calibration. the register is always cl eared when entering the calibration state. this register will be used for debug purposes. device: nodeid function: 1 offset: 70h bit attr default description 7rv0 reserved 6:1 rw 0h recalibrate_duration: this fiel d sets the duration of the recalibrate state once a sync command with the erc bit. set is received. legal values are between 32 and 42. functionality if set outside this range is undefined. ? > ?42d (101010b) = undefined ? = ?42d (101010b) = ignore for 42 frames after sync ?.... ? = 32d (100000b) = ignore for 32 frames after sync ? <32d (100000b) = undefined 0rv0 reserved device: nodeid function: 1 offset: 78h bit attr default description 7:0 rwst 2ah synctrainint: this field sets the min spacing for sync cmds default value 42d (101010b) min value 32, max value=255 device: nodeid function: 1 offset: 7ch bit attr default description 15:10 rv 0h reserved 9:0 rwst 0h calstatus: calibration status 0 - pass 1 - fail
registers 180 intel? 6400/6402 advanced memory buffer datasheet 14.3.1.20 nbcalstatus: northbound calibration status this register contains the pass/fail informatio n of the last calibration on a per lane basis for the southbound. the amb is expected to lo g the information when it is asked to go through calibration. the register is always cleared when entering the calibration state. this register will be used for debug purposes. 14.3.2 sm bus register since the amb will never be a master on the sm bus and will never write to the eeprom, sm bus registers related to being a master are not required. 14.3.2.1 cbc: chip boot configuration this register reports amb dimm id from pins bfunc, sa[2:0]. sm bus nodeid can be calculated from the dimm id as follows: if dimmid[3] = 0: (bfunc =0) normal dimm ? nodeid[6:3] = ?101_1? or ?b? nodeid[2:0] = dimmid[2:0] the value from pins sa[2:0] if dimmid[3] = 1: (bfunc =1) repeater or lai ? nodeid[6:3] = ?001_1? or ?3? nodeid[2:0] = dimmid[2:0] the value from pins sa[2:0] device: nodeid function: 1 offset: 7eh bit attr default description 15:14 rv 0h reserved 13:0 rwst 0h calstatus: calibration status 0 - pass 1 - fail device: nodeid function: 1 offset: 88h bit attr default description 7:4 rv 0 reserved 3:0 ro 0 dimmid: sm bus nodeid value from pins bfunc, sa[2:0]
intel? 6400/6402 advanced memory buffer datasheet 181 registers 14.3.3 error registers 14.3.3.1 emask: error mask this register masks errors in the ferr and nerr registers as well as disabling some types of error detection. a ?0? in any field enables that error. a ?1? in any field masks (disables) that error. multiple bits can be set in this register. an enabled error sets error status, updates error logs, and genera tes link signals. a masked error does not affect error status, error logs, or link signals. 14.3.3.2 ferr: first error this register contains bits specifying whic h errors occurred first as related to the fbd channel. device: nodeid function: 1 offset: 8ch bit attr default description 31:8 rv 0 reserved 7rwst 1 reserved 6rwst 1 reserved 5rwst 1 injerr: error injection has sourced an injected error bit in the status return field (optional) 4rwst 1 injalert: error injection has sourced an injected alert error (optional) 3rwst 0 fewedges: tclk training violation (no sync cmd for 2x synctrainint - typically 84 frames) 2rwst 1 overtemp: temp > temphi and temp enabled 1rwst 1 unimplcfg: unimplemented configuration address 0rwst 0 cmdcrcerr: sb crc error device: nodeid function: 1 offset: 90h bit attr default description 31:8 rv 0 reserved 7rwcst 0 wbufovfl: write buffer overflow - implementation specific - only supported for debug 6rwcst 0 wplderr: wrong number of write payloads (buffer underflow) - implementation specific - only supported for debug 5rwcst 0 injerr: error injection has sourced an injected error bit in the status return field (optional) 4rwcst 0 injalert: error injection has sourced an injected alert error (optional) 3rwcst 0 fewedges: tclk training violation (no sync cmd for2x synctrainint - typically 84 frames) logs in recfbd registers. sends alerts nb. triggers auto self refresh sm. 2rwcst 0 overtemp: temp > temphi and temp enabled fatal. amb shuts down. 1rwcst 0 unimplcfg: unimplemented configuration address correctable. logs in reccfg* registers. amb drops the command.
registers 182 intel? 6400/6402 advanced memory buffer datasheet 14.3.3.3 nerr: successive error this register is used to report successive e rrors. more than two bits can be set in this register. this register contains bits specifyi ng which errors occurred as related to the fbd channel. 14.3.3.4 reccfg: configuration register error log this register contains the received address for an unimplemented configuration register access error. the contents of this register are only valid when the error that set this register is logged in the ferr or nerr register. 0rwcst 0 cmdcrcerr: sb crc error correctable. logs in recfbd registers. amb drops the current command and sources alerts. device: nodeid function: 1 offset: 90h bit attr default description device: nodeid function: 1 offset: 94h bit attr default description 31:8 rv 0 reserved 7rwcst 0 reserved 6rwcst 0 reserved 5rwcst 0 injerr: error injection has sourced an injected error bit in the status return field (optional) 4rwcst 0 injalert: error injection has s ourced an injected alert error (optional) 3rwcst 0 fewedges: tclktraining violation ( no sync cmd for 2x synctrainint - typically 84 frames) logs in recfbd registers. sends alerts nb. tr iggers auto self refresh sm. 2rwcst 0 overtemp: temp > temphi and temp enabled fatal. amb shuts down. 1rwcst 0 unimplcfg: unimplemente d configuration address correctable. logs in reccfg* registers. drops the command. 0rwcst 0 cmdcrcerr: sb crc error correctable. logs in recfbd registers. drops the current command and sources alerts. device: nodeid function: 1 offset: 98h bit attr default description 15:13 rv 0 reserved 12:10 rwst 0h function:
intel? 6400/6402 advanced memory buffer datasheet 183 registers 14.3.3.5 recfbd[9:0]: fbd error log .this register contains fbd frame data received that matches the logged frame error. captures {bc} from frame n and a from frame n+1 where [11:8] = a[n+1] [7:4] = c[n] slot [3:0] = b[n] slot the contents of this register are only valid wh en one of the errors that set this register is logged in the ferr register. the contents of this register should not change until the error indication is cleared from the ferr register. 14.3.4 personality bytes loaded from the spd these bytes allow for amb implementation specific settings to be loaded in an architected way by bios without bios being aware of specific amb requirements. each amb vendor defines how these bytes should be loaded for the specific dimm being built. the values to be loaded into these bytes are stored in the spd eeprom on the dimm. the first six bytes are required to be lo aded into the amb via smbus before link initialization to allow for configuration in formation needed for robust link operation. the remaining 8 bytes must be loaded before the fbd begins normal operation. usage of these bytes can include ? ddr electrical parameters to optimize performance on a given dimm ? for example, dll delay settings, various i/o driver slew settings, ? enable/disable of various optimizations that may have been included in the design but can be turned off if they are no t needed on this dimm or they have unanticipated side effects - for example, power save modes, alternate clock recovery algorithms, and so forth. ? temperature sensor offsets 9:8 rwst 0h size: 00 = one byte 01 = two bytes 10 = three bytes 11 = four bytes note: this field only defined for errors on config register writes. this field is undefined for other transactions. 7:0 rwst 0h register address: device: nodeid function: 1 offset: 98h bit attr default description device: nodeid function: 1 offset: aeh, ach, aah, a8h, a6h, a4h, a2h, a0h, 9eh, 9ch bit attr default description 15:12 rv 0 reserved 11:0 rwst 0 frmdata: frame data for lane n
registers 184 intel? 6400/6402 advanced memory buffer datasheet ? internal clock domain phase offsets 14.3.4.1 persbyte[13:0]nxt: personality bytes these bytes are loaded from spd bytes 114:101 respectively. (persbyte13nxt = spd byte 114, ... , persbyte0nxt = spd byte 101) 14.3.4.2 persbyte[13:0]cur: personality bytes 14.3.5 hardware configuration registers 14.3.5.1 cmd2datanxt: next valu e of command to data delay this register has the next value of the command to data delay. this will be used after the next fast reset. for correct dimm operation, cmd2data may be limited to a subset of the architecturally valid values. the allo wed values are amb specific and may vary with frequency. values come from spd. function: 1 offset: bdh:b0h bit attr default description 7:0 rwst 0 pdata: personality data byte implementation specific registers function: 1 offset: bdh:b0h bit attr default description 7:0 rost 0 pdata: personality data byte implementation specific registers device: nodeid function: 1 offset: e8h bit attr default description 7:4 rwst 0h dlyfrms: number of frames this specifies full frame delay pa rt of the command to data delay. 0 - 9: valid delays 10 - 15: reserved 3:0 rwst 0h dlyfrac: fractional delay of command to data this specifies fractional frame delay part of the command to data delay. 0 - 11: specifies the delay in 1ui increments 12 - 15: reserved
intel? 6400/6402 advanced memory buffer datasheet 185 registers 14.3.5.2 cmd2datacur: current va lue of command to data delay this register has the current value of the command to data delay. 14.3.5.3 c2dincrnxt: next value of command to data delay increment this register has the next value of the command to data incremental delay. this will be used after the next fast reset. this will be used by the last amb to delay driving the data beyond that specified in the command to data delay. 14.3.5.4 c2dincrcur: current value of command to data delay increment this register has the current value of the co mmand to data incremental delay. this will be used by the last amb to delay dr iving the data beyond that specified. 14.4 implementation specific fbd registers (function 2) no register information is available for the implementation specific registers. device: nodeid function: 1 offset: e9h bit attr default description 7:4 rost 0h dlyfrms: number of frames this specifies full frame delay part of the command to data delay. 0 - 9: valid delays 10 - 15: reserved 3:0 rost 0h dlyfrac: fractional delay of command to data this specifies fractional frame delay part of the command to data delay. 0 - 11: specifies the delay in 1ui increments 12 - 15: reserved device: nodeid function: 1 offset: eah bit attr default description 7:2 rv 0h reserved 1:0 rwst 0h incrdly: incremental delay for command to data 0 - 3: specifies the incremental delay in frames device: nodeid function: 1 offset: ebh bit attr default description 7:2 rv 0h reserved 1:0 rost 0h incrdly: incremental delay for command to data 0 - 3: specifies the incremental delay in frames
registers 186 intel? 6400/6402 advanced memory buffer datasheet 14.5 ddr and miscellaneous registers (function 3) 14.5.1 memory registers 14.5.1.1 dareftc: dram auto-r efresh timing and control 14.5.1.2 dsreftc: dram self-r efresh timing and control 14.5.1.3 mtr: memory technology register this register provides a local definition of the organization of dimms. this dram configuration information is used for membist and ddr calibration. device: nodeid function: 3 offset: 70h bit attr default description 31 rv 0 reserved 30 rwst 0 refderr: refresh buffer overflow error 29 rwst 0 refierr: buffer count greater than the number of installed ranks 28 rwst 0 oridehs: override handshake; auto-refresh wins arbitration for command bus 27:24 rwst 0 rbuf: number of pending refreshes for all ranks combined 23:16 rwst 4eh trfc: dram refresh period 15 rw 0 arefen: auto-refresh enable 14:0 rwst 0c30h trefi: dram refresh interval device: nodeid function: 3 offset: 74h bit attr default description 23:17 rv 0 reserved 16 rwst 1 dissrexit : disable dram self-refresh exit when the link comes up 15:8 rwst 56h txsnr : dram self-refresh exit to non-read command timing 7:4 rwst fh trp: dram precharge timing 3rv 0 reserved 2:0 rwst 7h tcke : dram minimum cke pulse width device: nodeid function: 3 offset: 77h bit attr default description 7rv 0 reserved 6 rwst 0 width: technology ? dram data width define the data width of sdrams within these dimm?s 0 = x4 (4 bits wide) 1 = x8 (8 bits wide)
intel? 6400/6402 advanced memory buffer datasheet 187 registers 14.5.1.4 drt: dram timing control the dram timing control register is used to setup timing for membist access to drams. 5 rwst 0 numrank: technology ? number of ranks define the number of ranks within these dimm?s 0 = single ranked 1 = double ranked 4 rwst 0 numbank: technology ? number of banks define the number of banks within these dimm?s 0 = 4 banks 1 = 8 banks 3:2 rwst 00 numrow: technology ? number of rows define the number of rows within these dimm?s 00 = 8,192 01 = 16,384 10 = 32,768 11 = 65,536 1:0 rwst 00 numcol: technology ? number of columns define the number of columns within these dimm?s 00 = 1,024 01 = 2,048 10 = 4,096 11 = 8,192 device: nodeid function: 3 offset: 77h bit attr default description device: nodeid function: 3 offset: 78h bit attr default description 31 rv 0 reserved 30:29 rwst 00 tras: dram tras minimum required delay from active command to precharge command. delay cycles based on jedec ddrii spec 45 ns for ddrii 400/533/667. based on the latest jedec spec (jesd79-2, sept 2003) for ddrii 800 mhz min tras is not defined yet. trasmin clocks delay: 00 => 18 for ddrii 800 mhz 01 => 15 for ddrii 667 mhz 10 => 12 for ddrii 533 mhz 11 => reserved 28:27 rwst 00 trtp: dram cell internal read to precharge command delay. trtp clocks delay: 00 => 2 01 => 3 10 => 4 11 => 5
registers 188 intel? 6400/6402 advanced memory buffer datasheet 26:24 rwst 000 bbrw: back to back read-write turn around. this field determines the minimum number of cmdclk between read-write commands. the purpose of these 3 bits are to control the turnaround time on the dq bus. regular setting will be based on bl/2 + 2 tck. bl4: tr2w = 4 tck bl8: tr2w = 6 tck command clocks apart based on the following encoding: 000 => 10 001 => 9 010 => 8 011 => 7 100 => 6 101 => 5 110 => 4 111 => 3 (stress mode, not recommended) 23 rv 0 reserved 22:20 rwst 000 bbwr: back to back write-read turn around. this field determines the minimum number of cmdclk between write-read commands. the purpose of these 3 bits are to control the turnaround time on the dq bus. regular setting will be based on (cl-1)+bl/2+twtr. command clocks apart based on the following encoding: 000 => 12 001 => 11 010 => 10 011 => 9 100 => 8 101 => 7 110 => 6 111 => 5 (stress mode, not recommended 19 rv 0 reserved 18:16 rwst 000 twr: twr dram write recovery delay overall delay clocks will be (cl+al-1) +bl/2 + twr from write command to precharge command. 000 => 9 001 => 8 010 => 7 011 => 6 100 => 5 101 => 4 110 => 3 111 => 2 device: nodeid function: 3 offset: 78h bit attr default description
intel? 6400/6402 advanced memory buffer datasheet 189 registers 14.5.1.5 drc: dram controller mode register this register controls the mode of the dram controller. 15:12 rwst 0000 trc: trc dram activate to another activate delay 0000 => 26 0001 => 25 0010 => 24 0011 => 23 0100 => 22 0101 => 21 0110 => 20 0111 => 19 1000 => 18 1001 => 17 1010 => 16 1011 => 15 1100 => 14 1101 => 13 1110 => 12 1111 => 11 11:10 rwst 00 trcd: trcd dram ras# to cas# delay 00 => 6 01 => 5 10 => 4 11 => 3 if al >= trcd, read/write command will be issued right after act cycle. 9:8 rwst 00 trp: trp dram ras# to precharge delay 00 => 6 01 => 5 10 => 4 11 => 3 7:0 rwst 00h nopcnt: programmable nop in sertion (device deselect actually). number of nops will be inserted betw een read/write commands to slow down membist activities in the same page. up to 255 clocks nops can be programmed to insert delay between read/write commands. if nops delay is programmabl e less than the required dram timing, overall nop delay from command to command will not be seen. device: nodeid function: 3 offset: 78h bit attr default description device: nodeid function: 3 offset: 7ch bit attr default description 31:30 rv 00 reserved 29 rw 0 initdone: initialization complete. this scratch bit communicates software state from the amb to bios. bios sets this bit to 1 after initialization of the dram memory array is complete. this bit has no effect on amb operation. 28 rv 0 reserved
registers 190 intel? 6400/6402 advanced memory buffer datasheet 27:24 rwst 0 clkdis: clock[3:0] output disable 23 rwst 0 seqaddr: when set to 1 turns off address bala ncing on address bit a0 to support drams programmed for sequential burst type 22 rwst 0 dqshalfgain: - select for dqs differential amplifier gain. when set to 0 the amplifier gain is cut half to support differential strobes for ddr2 note: the sense of this field is inverted from past ddr designs so that bios supporting generic ambs do not have to write a ?1? to what is a ?reserved? field on other ambs 21 rw 0 testmode: when set to 1 the legsel output of the ddr comp block selects one of eight driver legs to en able. this bit can be used in conjunction with the dramisctl.drvovr bits to override the legsel output generated by the comp block. 20 rwst 0 19 rwst 0 rwprdis: read/write pointer reset disable disables the resetting of ddr cluster fifo read and write pointers during normal operation that occurs when a read command finishes executing and no additional read commands are in process. 18 rwst 1 odtz: on-die termination strength . ?0? disabled ?1? enabled 17 rwst 0 hlddis : command/address hold disable disabling hold will allow the ad dress and bank address pins to revert to all zeros (all ones on the balanced address copy) during idle cycles. when hlddis is clear, the addresses retain the value of the last n on-idle command cycle in order to reduce switching on the bus. 16 rwst 0 baldis : command/address balancing disable 15 rw 0 cadis : command/address output disable 14 rw 0 csdis : chip select output disable 13 rw 0 odtdis : odt output disable 12 rwst 1 ckefrclow : cke force low forces cke low. must be cleared to enab le normal ddr functionality. this bit overrides the cke1 and cke0 fields described below, and also overrides all channel commands and other hardware functions that would otherwise affect the state of the cke outputs. 11 rw 0 ckedis : cke output disable 10 rwst 0 cke1: cke output 1 control and status. software can write to this bit to change the state of the cke 1 output. hardware will upda te this bit with the current status of the cke1 output two core cycles after a channel command or other hardware function changes the state of the cke1 output. ?1? = cke1 pads asserted. ?0? = cke1 pads de-asserted. 9rwst 0 cke0: cke output 0 control and status. software can write to this bit to change the state of the cke 0 output. hardware will upda te this bit with the current status of the cke 0 output two core cycles after a channel command or other hardware function changes the state of the cke 0 output. ?1? = cke0 pads asserted. ?0? = cke0 pads de-asserted. 8rwst 0 bl : dram burst length. ?1? = bl8 ?0? = bl4 7:4 rwst 2h al : dram additive latency [3:0] note: this al value is sampled during ts2 training sequences to set timing for fbd link data returns. changes to al after this time will not effect fbd link data return timing until the next ts2 se quence following link reset. device: nodeid function: 3 offset: 7ch bit attr default description
intel? 6400/6402 advanced memory buffer datasheet 191 registers 14.5.2 memory bist registers 14.5.2.1 mbcsr: membist control architected membist control interface. 3:0 rwst 3h cl : dram cas latency [3:0] note: this cl value is sampled during ts2 training sequences to set timing for fbd link data returns. changes to cl after this time will not effect fbd link data return timing until the next ts2 se quence followi ng link reset. device: nodeid function: 3 offset: 7ch bit attr default description device: nodeid function: 3 offset: 40h bit attr default description 31 rws 0 start: start operation: 1 => set this bit to begin membist execution. 0 => hardware will clear this bit when membist execution is completed. 30 rw 0 pf: fail/pass indicator: write to 0 when start membist. hardware w ill set to 1 when a failure is detected. 0 => pass 1 => fail 29 rw 0 halt: halt on error 0 => operation will not halt due to a detected error. 1 => operation will halt after read-compare data error is detected. membist will complete the current transacti on before halting. this may result in multiple errors being logged. 28 rw 0 abort: membist test abort. when test abort bit is set, mbcsr bit 31 (start operation, rws) needs to be set to "0" at the same time to avoid restarting membist. 0 => normal operation. 1 => need to abort the test during membist operation. if there is any following membist test after the abort test, bit [28] needs to be cleared. the write to set mbcsr.abort must occur at least trfc after the write to set mbcsr.start. otherwise subsequent membist operations may fail. trfc value is set in dareftc.trfc (function3, offset70h, bit field 23:16). 27 rw 0 spare:
registers 192 intel? 6400/6402 advanced memory buffer datasheet 26:24 rw 000 algo: embedded algorithm selection: embedded algorithm selection: 000 => no embedded algorithm is select ed. normal command will be executed from the selection of mbcsr bits field [5:4] 001 => scan: ^ (wd1); ^(rd2); ^ (wi3); ^ (ri4) 010 => undefined 011 => data retention write or init: ^ (wd1); 100 => data retention read : ^ (rd2); 101 => mats +: ^(wd1); ^(rd2, wi3); v(ri4, wd5); 110 => march c-: ^(wd1); ^(rd2, wi3); ^(ri4, wd5); v(rd6, wi7); v(ri8, wd9); v(rd10); 111 => undefined 23:22 rv 00 reserved 21:20 rw 00 cs: cs[1:0] selection in membist mode 01: select rank 0 10: select rank 1 00: reserved 11: reserved 19 rw 0 invert: invert data pattern when data is written out to dram. 18:16 rw 000 fixed: fixed data pattern selection for membist operation 000 => 0 001 => f 010 => a 011 => 5 100 => c 101 => 3 110 => 9 111 => 6 15 rw 0 enable288: enable 288 bits user de fined pattern for memory fill write only. there is no data comparison, error logg er functions for 288 bits user defined data. 0 => 144 bits user defined data pattern when mbcsr[9:8] selects user defined data. 1 => 288 bits user defined data pattern when mbcsr[9:8] selects user defined data. 14 rw 0 mbdata: selects use of mbdata for error log field for lfsr, circular shift and user defined data modes. this field has no effect on fixed data patterns. 0 => use mbdata0/1/2/3/8 for failure data bit location accumulator. 1 => use mbdata0/1/2/3/8 to log 5 failure addresses. 13 rw 0 abar: membist output address compliment for fastx, fasty, and fastxy. whenever this bit is enabled, bank, ro w, column address will be inverted on alternate addresses as describe d in the membist chapter. 0 => regular addressing 1 => dynamic address inversion 12 rw 0 adir: address decode direction for fastx, fast y, fastxy 0 => address increments 1 => address decrements device: nodeid function: 3 offset: 40h bit attr default description
intel? 6400/6402 advanced memory buffer datasheet 193 registers algorithms: when embedded algorithm is applied, please program the following bits at the same time. 1. select mbcsr.cmd bit[5:4] for the initial command execution mode. for all algorithm choices except for data retention read, select "01: write only". for data retention read, select "10: read with data comparison". 2. program mbcsr.fast bit[11:10] to select fastx, fasty, fastxy, or xzy. 3. program proper start/end address registers and corresponding mtr value for dimm type. do not leave start and end address register as default "00" or the same value. algorithm does not support single or full address modes. 14.5.2.2 mbaddr: memory test address the register is used by membist only wh en testing to a single memory location. (mbcsr.atype = 2b?01) 11:10 rw 00 fast: address sequencing 00 => addressing with xzy to ggling (column->bank->row) 01 => fast y with fixed bank 10 => fast x with fixed bank 11 => fast xy with fixed bank 9:8 rw 00 dtype: data type selection: 00 => fixed data pattern, selected by mbcsr bits 18:16 01 => 144 or 288 bits user defined data 10 => circular shift data 11 => lfsr data, seeded from 32 bit lfsr seed register. note: algorithm mode only supports dtype = fixed note: circular shift data and lfsr data type should not be used for single address operation (atype = 01). 7:6 rw 00 atype: address type 00 => reserved 01 => single physical address operatio n, contained in mbaddr row/column/ bank. 10 => start/end physical address range defined in mb_start_addr & mb_end_addr registers. ? in fastx, fasty and fastxy modes, only the bank specified in mb_start_addr will be exercised. 11 => full address range of the dimm as defined in mtr register which specifies the number of banks, rows, and columns. ? in fastx, fasty and fastxy modes, only the bank 0 will be exercised. 5:4 rw 00 cmd: command execution: 00 => read only without data comparison 01 => write only 10 => read with data comparison 11 => write followed by read with data comparison 3:0 rv 0 reserved device: nodeid function: 3 offset: 40h bit attr default description
registers 194 intel? 6400/6402 advanced memory buffer datasheet 14.5.2.3 mbdata[9:0]: memory test data device: nodeid function: 3 offset: 44h bit attr default description 31:16 rwst 0000h row: row address 15:0 15 rwst 0 spare: 14:3 rwst 0000h col: column address bl8[14:3] <==> dram column address 15:11,9:3 bl4[14:3] <==> dram column address 14:11,9:2 2:0 rwst 000 ba: bank address 2:0 device: nodeid function: 3 offset: 6ch, 68h, 64h, 60h,5ch, 58h, 54h, 50h,4ch, 48h bit attr default description 31:0 rwst 0000h data: see functional description below for definition by mode and register reg bit offset description by mode (note: mbcsr.dtype, mbcsr.mbdata and mbcsr.enable288 select mode) fixed data pattern 144 bit user defined pattern circular shift lfsr 288 bit user defined pattern mbdata9 31:0 6ch 5th fail address user defined late data [71:64] & early data [71:64] word4 circular shift data lfsr random late data [71:64] & early data [71:64] user defined late data [71:64] (2nd burst data) & early data [71:64] (2nd burst data) mbdata8 31:0 68h late data [71:64] & early data [71:64] failure bit location accumulator 5th fail address or late data [71:64] & early data [71:64] failure bit location accumulator 5th fail address or late data [71:64] & early data [71:64] failure bit location accumulator 5th fail address or late data [71:64] & early data [71:64] failure bit location accumulator user defined late data [71:64] (1st burst data) & early data [71:64] (1st burst data) mbdata7 31:0 64h fail address 4 user defined late data [63:32] dw3 circular shift data lfsr random late data [63:32] user defined late data [63:32] (2nd burst data) mbdata6 31:0 60h fail address 3 user defined late data [31:0] dw2 circular shift data lfsr random late data [31:0] user defined late data [31:0] (2nd burst data) mbdata5 31:0 5ch fail address 2 user defined early data [63:32] dw1 circular shift data lfsr random early data [63:32] user defined early data [63:32] (2nd burst data) mbdata4 31:0 58h fail address 1 user defined early data [31:0] dw0 circular shift data lfsr random early data [31:0] user defined early data [31:0] (2nd burst data) mbdata3 31:0 54h late data [63:32] failure bit location accumulator fail address 4 or late data [63:32] failure bit location accumulator fail address 4 or late data [63:32] failure bit location accumulator fail address 4 or late data [63:32] failure bit location accumulator user defined late data [63:32] (1st burst data)
intel? 6400/6402 advanced memory buffer datasheet 195 registers note: in the later half part of data burst length 8 test, 144 bits or 288 bits user-defined data pattern will be repeat as the same sequence of burst length 4. 14.5.2.3.1 mbdata fa ilure address mapping to compress the failure address into 32 bits, bits that are always zero are removed from the logging. these removed bits includ e autoprecharge column address [10] and least significant bits assumed by burst length. bl4: 1 bit chunk indicates the location of 2 failure burst data chunks. the above column plus chunk is equal to dram column address as the following: ? where the auto-precharge address bit 10 is assumed zero ? since data is logged in 144 bits (two chunks), address bit zero is not needed bl8: 2 bit chunk indicates the location of 4 failure burst data chunks. the above column plus chunk is equal to dram column address as the following: mbdata2 31:0 50h late data [31:0] failure bit location accumulator fail address 3 or late data [31:0] failure bit location accumulator fail address 3 or late data [31:0] failure bit location accumulator fail address 3 or late data [31:0] failure bit location accumulator user defined late data [31:0] (1st burst data) mbdata1 31:0 4ch early data [63:32] failure bit location accumulator fail address 2 or early data [63:32] failure bit location accumulator fail address 2 or early data [63:32] failure bit location accumulator fail address 2 or early data [63:32] failure bit location accumulator user defined early data [63:32] (1st burst data) mbdata0 31:0 48h early data [31:0] failure bit location accumulator fail address 1 or early data [31:0] failure bit location accumulator fail address 1 or early data [31:0] failure bit location accumulator fail address 1 or early data [31:0] failure bit location accumulator user defined early data [31:0] (1st burst data) reg bit offset description by mode (note: mbcsr.dtype, mbcsr.mbdata and mbcsr.enable288 select mode) fixed data pattern 144 bit user defined pattern circular shift lfsr 288 bit user defined pattern table 14-11. mbdata failure address regi ster correspondence to dram address 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 2 1 0151413121110 9 8 7 6 5 4 3 2 1 0 see description below bank row column and chunk table 14-12. bl4 column and chunk correspondence to dram address register bit location 1 2 1 1 1 0 9 8 7 6 5 4 3 2 1 0 dram col address 1 4 1 3 1 2 1 1 9 8 7 6 5 4 3 2 data chunk 1x
registers 196 intel? 6400/6402 advanced memory buffer datasheet ? where the auto-precharge address bit 10 is assumed zero ? since data is logged in 144 bits (two ch unks), data chunk address bit zero is not needed 14.5.2.4 mb_start_addr: memory test start address mb_end_addr row and column address must be larger than mb_start_addr row and column address in either increasing or deceasing address mode. during fastx, fasty and fastxy operation, on ly one memory bank is tested. specify the desired bank in mb_start_addr[2: 0]. mb_end_addr[2:0] is ignored. this register is only used when mbcsr.atype = 2b?10, and when mbcsr.algo is non-zero. 14.5.2.5 mb_end_addr: memory test end address this register is only used when mbcsr.atype = 2b?10, and when mbcsr.algo is non-zero. table 14-13. bl8 column and chunk correspondence to dram address register bit location 121110 9 8 7 6 5 4 3 2 1 0 dram col address 14131211 9 8 7 6 5 4 3 data chunk 2 1 x device: nodeid function: 3 offset: 9ch bit attr default description 31:16 rwst 0000h row: membist start row address 15:0 15 rv 0 reserved 14:3 rwst 0000h col: membist start column address bl8 [14:3] <==> column address 15:11, 9:3 bl4 [14:3] <==> column address 14:11, 9:2 2:0 rwst 000 ba: membist start bank address 2:0 device: nodeid function: 3 offset: a0h bit attr default description 31:16 rwst 0000h row: membist end row address 15:0 15 rv 0 reserved 14:3 rwst 0000h col: membist end column address bl8 [14:3] <==> column address 15:11, 9:3 bl4 [14:3] <==> column address 14:11, 9:2 2:0 rwst 000 ba: membist end bank address 2:0
intel? 6400/6402 advanced memory buffer datasheet 197 registers 14.5.2.6 mblfsrsed: memory test circular shift and lfsr seed 14.5.2.7 mbfaddrptr: memory test failure address pointer register 14.5.2.8 mb_err_data00: memory test error data 0 bytes [3:0] stores the first 32 bits of the 1st 144 bit failure data research: compare all register[definitions to table.] 14.5.2.9 mb_err_data01: memory test error data 0 bytes [7:4] stores the second 32 bits of the 1st 144 bit failure data. device: nodeid function: 3 offset: a4h bit attr default description 31:0 rwst 0000h dmblfsrsed:membist lfsr seed this 32 bit register will be used as the init ial data seed for lfsr or circular shift data pattern. device: nodeid function: 3 offset: a8h bit attr default description 31:0 rwst 0000h dmbfaddrptr: this 32 bit register de signates which membist failures to log in the available failure address locations. the default value of this register is zero . it means membist al ways logs beginning with the first failure. if it is programmed to hex a (10 in decimal), membist will log failures starting from the11th failure. the corresponding mb_err_data0 register will log corrupted data in the first designated failure address. note: this register does not affect the mbdata failure bit location accumulators. device: nodeid function: 3 offset: b0h bit attr default description 31:0 rwst 0000h data: early failure data [31:0] device: nodeid function: 3 offset: b4h bit attr default description 31:0 rwst 0000h data: early failure data [63:32]
registers 198 intel? 6400/6402 advanced memory buffer datasheet 14.5.2.10 mb_err_data02: memory test error data 0 bytes [11:8] stores the third 32 bits of the 1st 144 bit failure data. 14.5.2.11 mb_err_data03: memory test error data 0 bytes [15:12] stores the fourth 32 bits of the 1st 144 bit failure data. 14.5.2.12 mb_err_data04: memory test error data 0 bytes [17:16] stores the last 16 bits of the 1st 144 bit failure data. 14.5.2.13 mb_err_data10: memory test error data 1 bytes [3:0] stores the first 32 bits of the 2nd 144 bit failure data. 14.5.2.14 mb_err_data11: memory test error data 1 bytes [7:4] stores the second 32 bits of the 2nd 144 bit failure data. device: nodeid function: 3 offset: b8h bit attr default description 31:0 rwst 0000h data: late failure data [31:0] device: nodeid function: 3 offset: bch bit attr default description 31:0 rwst 0000h data: late failure data [63:32] device: nodeid function: 3 offset: c0h bit attr default description 15:0 rwst 0000h data: late failure data [71:64] & early failure data [71:64] device: nodeid function: 3 offset: c4h bit attr default description 31:0 rwst 0000h data: early failure data [31:0] device: nodeid function: 3 offset: c8h bit attr default description 31:0 rwst 0000h data: early failure data [63:32]
intel? 6400/6402 advanced memory buffer datasheet 199 registers 14.5.2.15 mb_err_data12: memory test error data 1 bytes [11:8] stores the third 32 bits of the 2nd 144 bit failure data. 14.5.2.16 mb_err_data13: memory test error data 1 bytes [15:12] stores the fourth 32 bits of the 2nd 144 bit failure data. 14.5.2.17 mb_err_data14: memory test error data 1 bytes [17:16] stores the last 16 bits of the 2nd 144 bit failure data. 14.5.2.18 mb_err_data20: memory test error data 2 bytes [3:0] stores the first 32 bits of the 3rd 144 bit failure data. 14.5.2.19 mb_err_data21: memory test error data 2 bytes [7:4] stores the second 32 bits of the 3rd 144 bit failure data. device: nodeid function: 3 offset: cch bit attr default description 31:0 rwst 0000h data: late failure data [31:0] device: nodeid function: 3 offset: d0h bit attr default description 31:0 rwst 0000h data: late failure data [63:32] device: nodeid function: 3 offset: d4h bit attr default description 15:0 rwst 0000h data: late failure data [71:64] & early failure data [71:64] device: nodeid function: 3 offset: d8h bit attr default description 31:0 rwst 0000h data: early failure data [31:0] device: nodeid function: 3 offset: dch bit attr default description 31:0 rwst 0000h data: early failure data [63:32]
registers 200 intel? 6400/6402 advanced memory buffer datasheet 14.5.2.20 mb_err_data22: memory test error data 2 bytes [11:8] stores the third 32 bits of the 3rd 144 bit failure data. 14.5.2.21 mb_err_data23: memory test error data 2 bytes [15:12] stores the fourth 32 bits of the 3rd 144 bit failure data. 14.5.2.22 mb_err_data24: memory test error data 2 bytes [17:16] stores the last 16 bits of the 3rd 144 bit failure data. 14.5.2.23 mb_err_data30: memory test error data 3 bytes [3:0] stores the first 32 bits of the 4th 144 bit failure data. 14.5.2.24 mb_err_data31: memory test error data 3 bytes [7:4] stores the second 32 bits of the 4th 144 bit failure data 14.5.2.25 mb_err_data32: memory test error data 3 bytes [11:8] stores the third 32 bits of the 4th 144 bit failure data. device: nodeid function: 3 offset: e0h bit attr default description 31:0 rwst 0000h data: late failure data [31:0] device: nodeid function: 3 offset: e4h bit attr default description 31:0 rwst 0000h data: late failure data [63:32] device: nodeid function: 3 offset: e8h bit attr default description 15:0 rwst 0000h data: late failure data [71:64] & early failure data [71:64] device: nodeid function: 3 offset: f0h bit attr default description 31:0 rwst 0000h data: early failure data [63:32] device: nodeid function: 3 offset: f4h bit attr default description 31:0 rwst 0000h data: late failure data [31:0]
intel? 6400/6402 advanced memory buffer datasheet 201 registers 14.5.2.26 mb_err_data33: memory test error data 3 bytes [15:12] stores the fourth 32 bits of the 4th 144 bit failure data. 14.5.2.27 mb_err_data34: memory test error data 3 bytes [17:16] stores the last 16 bits of the 4th 144 bit failure data. 14.5.3 thermal se nsor registers 14.5.3.1 templo: temperature low trip point low trip point. 14.5.3.2 tempmid: temperature mid trip point mid trip point. 14.5.3.3 temphi: temperature high trip point high trip point. device: nodeid function: 3 offset: f8h bit attr default description 31:0 rwst 0000h data: late failure data [63:32] device: nodeid function: 3 offset: fch bit attr default description 15:0 rwst 0000h data: late failure data [71:64] & early failure data [71:64] device: nodeid function: 3 offset: 80h bit attr default description 7:0 rwst ffh templo: low threshold trip point device: nodeid function: 3 offset: 81h bit attr default description 7:0 rwst ffh tempmid: mid threshold trip point device: nodeid function: 3 offset: 82h bit attr default description 7:0 rwst ffh temphi: high threshold trip point
registers 202 intel? 6400/6402 advanced memory buffer datasheet 14.5.3.4 updated: update temp diff bit take new temperature sample and upda te the temp diff bit (increasing). 14.5.3.5 tempstat: thermal sensor status register this register controls and reports temperature status. device: nodeid function: 3 offset: 83h bit attr default description 7:1 rv 00h reserved 0rws 0 update: write ?1? = a. latch current temperature from the temp register for comparison on next update and b. update increasing bit of tempstat register based on the current temperature and the last latched temperature; c. automatically clears this bit to ?0? after increasing bit is updated; write ?0? - no effect device: nodeid function: 3 offset: 84h bit attr default description 7:6 rv 0 reserved 5 rwst 0 noautoupdate ?1? = turns off update of temp stat valu es so that forced values written in by firmware are not overwritten ?0? = overtemp trip bits are continuously and automatically updated as normal and increasing bit is updated through update register mechanism 4rw 0 increasing ?1? = temperature has increased since the last time update bit was set in updated register. ?0? = temperature has not increased since the last time update bit was set in updated register. this is reflected as the rising/falling value in the ther mal trip field of northbound fbd status 0. 3rwst 0 overtemphi ?1? = temperature is above or equal to temphi.trip ?0? = temperature is below temphi.trip 2rwst 0 overtempmid ?1? = temperature is above or equal to tempmid.trip ?0? = temperature is below tempmid.trip this is reflected in the thermal trip value of northbound fbd status 0 1rwst 0 overtemplo ?1? = temperature is above or equal to templo.trip ?0? = temperature is below templo.trip this is reflected in the thermal trip value of northbound fbd status 0 0rwst 0 temphienable ?1? = allow overtemphi=1 to shut down the ddr channel, drop ddr commands, log an error, and take fbd links to ei. ?0? = overtemphi=1 only logs an error.
intel? 6400/6402 advanced memory buffer datasheet 203 registers 14.5.3.6 temp: temperature a/d current temperature reading. this 8-bit value with 0.5 degree of resolution is continuously and automatically kept up to date by amb hardware. 14.6 implementation specific ddr initialization and calibration registers (function 4) 14.6.1 ddr calibration 14.6.1.1 dcalcsr: dcal control and status device: nodeid function: 3 offset: 85h bit attr default description 7:0 ro 00h degrees: current temperature - bi nary encode 0 - 127.5 degrees c device: nodeid function: 4 offset: 40h bit attr default description 31 rws 0 start: start operation when set to 1 by software, the operation selected by the dcalcsr.opcode is initiated. hardware clears this bi t when the operation is complete. 30:28 rw 0 fail: completion status 1xx = fail, 0xx = pass 27 rw 0 baspat: this controls which data patte rn is used for the dqs delay calibration. setting this field enable s the use of the basic data pattern selected by the dcalcsr.pattern bits . when cleared, the extended data pattern specified in the ddqscvdp and ddqscadp registers is used. 26 rw 00 rstregss: reset dcaldata csr in single step calibration mode. this bit should be set during the first step of a single step calibration. it will enable hardware to clear all registers and status bits during the calibration step the same way hardware does on the first step of an automatic ?all passes? calibration. 25:24 rw 0 chsel: this field defines bus folding. this function is obsolete and is not supported. 23 rw 0 sglstp: single step calibration operation applies only to receive enable , dqs cal, and i/o loopback ?1? = single step - a single step of the algorithm selected by the opcode is run by hardware. no data analysis is run. ?0? = all passes - all steps of the algorithm selected by the opcode is run by hardware including data analysis. 22:21 rw 00 cs: rank select this field corresponds to the chip sele ct outputs: cs[1:0]. setting a bit in this field will cause the corresponding cs pin to dr ive low when commands are issued on the ddr bus. this fiel d applies to nop, refresh, precharge all, and mrs/emrs commands. it also applies to receiv e enable, and dqs delay cal in single step mode. 20 rv 0 reserved 19 rw 0 a0_dqscal : revert to a0 dqscal algorithm
registers 204 intel? 6400/6402 advanced memory buffer datasheet 14.6.1.2 dcaladdr: dcal address register 18:16 rw 000 pattern: basic data pattern for dqs cal and i/o loopback. this sets the burst length 4 pattern for a nibble of data. the pattern is repeated for bl8. this pattern is replicated on all nibbles of the data bus. ?000? = f > 0 > f > 0 ?001? = 0 > f > 0 > f ?010? = a > 5 > a > 5 ?011? = 5 > a > 5 > a ?100? = c > 3 > c > 3 ?101? = 3 > c > 3 > c ?110? = 9 > 6 > 9 > 6 ?111? = 6 > 9 > 6 > 9 15 rw 0 darwpr: disable fifo reset in single pass mode. applies only to receiver enable , dqs cal, and i/o loopback. when set to 1, this bit inhibits the core to ddr cluster reset signal generated during the cal/hvm modes listed above. this prevents the ddr cluster synchronizer fifo write pointer and data latches from being reset so that they can be read out of the cluster using the error monitor function. the reset signal can only be disabled in single step mode. when the allp bit is set to 1, the darwpr bit has no effect. 14:4 rw 000h opmods: operation modifiers 3:0 rw 0h opcode: ?0000? = nop ?0001? = refresh ?0010? = pre-charge ?0011? = mrs/emrs ?0101? = automatic dqs delay calibration ?1100? = automatic receive enable calibration ?1101? = self-refresh entry all other settings are reserved device: nodeid function: 4 offset: 44h bit attr default description 31:0 rw 0000_0000h dcaladdr: dcal address and othe r information based on opcode. device: nodeid function: 4 offset: 40h bit attr default description
intel? 6400/6402 advanced memory buffer datasheet 205 registers table 14-14. functional ch aracteristics of dcaladdr bit nop, refresh, pre-charge, mrs/emrs, and self-refresh entry commands initiated by dcalcsr 31 dram address bus 15:0 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 dram bank address bus 2:0 1 0
registers 206 intel? 6400/6402 advanced memory buffer datasheet 14.6.1.3 dcaldata[71:0]: dcal data registers device: nodeid function: 4 offset: 8fh - 48h bit attr default description 7:0 rw 00h dcaldata: dcal data and other information based on opcode. table 14-15. functional char acteristics of dc aldata for calibration algorithms (sheet 1 of 2) byte receive enable dqs cal 71 preamble status dqs17 rank1 max delay dqs17 rank1 70 first edge position dqs17 rank1 min delay dqs17 rank1 69 preamble status dqs8 rank1 max delay dqs8 rank1 68 first edge position dqs8 rank1 min delay dqs8 rank1 67 preamble status dqs16 rank1 max delay dqs16 rank1 66 first edge position dqs16 rank1 min delay dqs16 rank1 65 preamble status dqs7 rank1 max delay dqs7 rank1 64 first edge position dqs7 rank1 min delay dqs7 rank1 63 preamble status dqs15 rank1 max delay dqs15 rank1 62 first edge position dqs15 rank1 min delay dqs15 rank1 61 preamble status dqs6 rank1 max delay dqs6 rank1 60 first edge position dqs6 rank1 min delay dqs6 rank1 59 preamble status dqs14 rank1 max delay dqs14 rank1 58 first edge position dqs14 rank1 min delay dqs14 rank1 57 preamble status dqs5 rank1 max delay dqs5 rank1 56 first edge position dqs5 rank1 min delay dqs5 rank1 55 preamble status dqs13 rank1 max delay dqs13 rank1 54 first edge position dqs13 rank1 min delay dqs13 rank1 53 preamble status dqs4 rank1 max delay dqs4 rank1 52 first edge position dqs4 rank1 min delay dqs4 rank1 51 preamble status dqs12 rank1 max delay dqs12 rank1 50 first edge position dqs12 rank1 min delay dqs12 rank1 49 preamble status dqs3 rank1 max delay dqs3 rank1 48 first edge position dqs3 rank1 min delay dqs3 rank1 47 preamble status dqs11 rank1 max delay dqs11 rank1 46 first edge position dqs11 rank1 min delay dqs11 rank1 45 preamble status dqs2 rank1 max delay dqs2 rank1 44 first edge position dqs2 rank1 min delay dqs2 rank1 43 preamble status dqs10 rank1 max delay dqs10 rank1 42 first edge position dqs10 rank1 min delay dqs10 rank1 41 preamble status dqs1 rank1 max delay dqs1 rank1 40 first edge position dqs1 rank1 min delay dqs1 rank1 39 preamble status dqs9 rank1 max delay dqs9 rank1
intel? 6400/6402 advanced memory buffer datasheet 207 registers 38 first edge position dqs9 rank1 min delay dqs9 rank1 37 preamble status dqs0 rank1 max delay dqs0 rank1 36 first edge position dqs0 rank1 min delay dqs0 rank1 35 preamble status dqs17 rank0 max delay dqs17 rank0 34 first edge position dqs17 rank0 min delay dqs17 rank0 33 preamble status dqs8 rank0 max delay dqs8 rank0 32 first edge position dqs8 rank0 min delay dqs8 rank0 31 preamble status dqs16 rank0 max delay dqs16 rank0 30 first edge position dqs16 rank0 min delay dqs16 rank0 29 preamble status dqs7 rank0 max delay dqs7 rank0 28 first edge position dqs7 rank0 min delay dqs7 rank0 27 preamble status dqs15 rank0 max delay dqs15 rank0 26 first edge position dqs15 rank0 min delay dqs15 rank0 25 preamble status dqs6 rank0 max delay dqs6 rank0 24 first edge position dqs6 rank0 min delay dqs6 rank0 23 preamble status dqs14 rank0 max delay dqs14 rank0 22 first edge position dqs14 rank0 min delay dqs14 rank0 21 preamble status dqs5 rank0 max delay dqs5 rank0 20 first edge position dqs5 rank0 min delay dqs5 rank0 19 preamble status dqs13 rank0 max delay dqs13 rank0 18 first edge position dqs13 rank0 min delay dqs13 rank0 17 preamble status dqs4 rank0 max delay dqs4 rank0 16 first edge position dqs4 rank0 min delay dqs4 rank0 15 preamble status dqs12 rank0 max delay dqs12 rank0 14 first edge position dqs12 rank0 min delay dqs12 rank0 13 preamble status dqs3 rank0 max delay dqs3 rank0 12 first edge position dqs3 rank0 min delay dqs3 rank0 11 preamble status dqs11 rank0 max delay dqs11 rank0 10 first edge position dqs11 rank0 min delay dqs11 rank0 9 preamble status dqs2 rank0 max delay dqs2 rank0 8 first edge position dqs2 rank0 min delay dqs2 rank0 7 preamble status dqs10 rank0 max delay dqs10 rank0 6 first edge position dqs10 rank0 min delay dqs10 rank0 5 preamble status dqs1 rank0 max delay dqs1 rank0 4 first edge position dqs1 rank0 min delay dqs1 rank0 3 preamble status dqs9 rank0 max delay dqs9 rank0 2 first edge position dqs9 rank0 min delay dqs9 rank0 1 preamble status dqs0 rank0 max delay dqs0 rank0 0 first edge position dqs0 rank0 min delay dqs0 rank0 table 14-15. functional characteristics of dcaldata for calibration algorithms (sheet 2 of 2) byte receive enable dqs cal
registers 208 intel? 6400/6402 advanced memory buffer datasheet dcaldata receiver enable ?fir st edge position? byte detail bit description 7:0 at the end of a successful calibration, this regi ster holds the drrtc setting that enables the dqs receiver as close as possible to but no earlier than th e first rising dqs transition after the preamble. at the start of the calibration, this register is loaded with a value of 0xff. during the calibration, while the ?strobe toggle status? bit is lo w, this register will be updated with the drrtc value for the current calibration step if the dqs is found to have a value of zero. after ?strobe toggle status? goes high, this register will be updated with the drrtc value when the dqs is found to have a value of one at a calibration step. this register will no longer be updated after the ?preamble found status? bit goes high, so that it will retain the position of the rising dqs edge following immediately after the preamble. dcaldata receiver enable ?p reamble status? byte detail bit description 7 strobe toggle status. hardware sets this bit if a va lid high pulse is found in the strobe waveform. the requirement is (dcaldata.first_edge_positio n - last receiver enable delay value) > rcvenac.hwidth 6 preamble found status. hardware sets this bit if the ?preamble found? bit asserts at any time during the calibration. 5 preamble found. last receiver en able delay value meets or exceeds the preamble width requirement setting. hardware sets this bit if: (dcaldata.first_edge_p osition - last receiver enable delay value) > rcvenac.pwidth 4:0 count of ?lows? minus count of ?highs? found during one set of repeated tests at the last receiver enable delay setting. see dcalcsr opmods field for a description of the repeat test function. dcaldata dqs cal max delay detail bit description 7:6 reserved 5:0 at the end of a successful calibration, this field wi ll hold the maximum dqs de lay setting that results in correct data capture in the ddr i/o capture flop. th is is the right edge of the dq data eye. during the calibration, this field is updated with the dqs delay setting at each ca libration step until the minimum delay setting is found and a subsequent failure to capture correct read data occurs. table 14-16. functional characterist ics of dcaldata for hvm algorithms byte i/o loopback dll bist 71:3 6 not used not used 35 first ?all bits failed? position and status dqs17 core counter dqs17 34 first ?any bit failed? position and status dqs17 33 first ?all bits failed? position and status dqs8 core counter dqs8 32 first ?any bit failed? position and status dqs8 31 first ?all bits failed? position and status dqs16 core counter dqs16 30 first ?any bit failed? position and status dqs16
intel? 6400/6402 advanced memory buffer datasheet 209 registers 29 first ?all bits failed? position and status dqs7 core counter dqs7 28 first ?any bit failed? position and status dqs7 27 first ?all bits failed? position and status dqs15 core counter dqs15 26 first ?any bit failed? position and status dqs15 25 first ?all bits failed? position and status dqs6 core counter dqs6 24 first ?any bit failed? position and status dqs6 23 first ?all bits failed? position and status dqs14 core counter dqs14 22 first ?any bit failed? position and status dqs14 21 first ?all bits failed? position and status dqs5 core counter dqs5 20 first ?any bit failed? position and status dqs5 19 first ?all bits failed? position and status dqs13 core counter dqs13 18 first ?any bit failed? position and status dqs13 17 first ?all bits failed? position and status dqs4 core counter dqs4 16 first ?any bit failed? position and status dqs4 15 first ?all bits failed? position and status dqs12 core counter dqs12 14 first ?any bit failed? position and status dqs12 13 first ?all bits failed? position and status dqs3 core counter dqs3 12 first ?any bit failed? position and status dqs3 11 first ?all bits failed? position and status dqs11 core counter dqs11 10 first ?any bit failed? position and status dqs11 9 first ?all bits failed? position and status dqs2 core counter dqs2 8 first ?any bit failed? position and status dqs2 7 first ?all bits failed? position and status dqs10 core counter dqs10 6 first ?any bit failed? position and status dqs10 5 first ?all bits failed? position and status dqs1 core counter dqs1 4 first ?any bit failed? position and status dqs1 3 first ?all bits failed? position and status dqs9 core counter dq9 2 first ?any bit failed? position and status dqs9 1 first ?all bits failed? position and status dqs0 core counter dqs0 0 first ?any bit failed? position and status dqs0 table 14-16. functional characterist ics of dcaldata for hvm algorithms byte i/o loopback dll bist dcaldata i/o loopback ?any bit failed? detail bit description 7 first ?first any bit failed? nibble. this bit is set if th e nibble associated with this register is one of the first to fail to capture data correctly during the test. 6 reserved 5:0 at the end of the test, this field will contain the minimum dqs delay setting that results in one or more bits of a burst to be captured incorrectly.
registers 210 intel? 6400/6402 advanced memory buffer datasheet 14.6.1.4 ddbistlm: ddr dll bist limits this register contains test limits for ddr dll bist. 14.6.1.5 rcvenac: receiver enable algorithm control this register contains controls for the preamble detection algorithm of the automatic receiver enable logic. rcvenac.pwidth is us ed to determine if a ?low? pulse in a dqs waveform is wide enough to be a preamble. rcvenac.poffset is subtracted from the dcaldata first edge position result an d programmed into the drrtc registers. dcaldata i/o loopback ?a ll bits failed? detail bit description 7 last ?first all bits failed? nibble. this bit is set if the nibble associated with th is register is one of the last to capture an entire data burst incorrectly during the test. 6 reserved 5:0 at the end of the test, this field will contain the mi nimum dqs delay setting that results all bits of a burst to be captured incorrectly. dcaldata dll bist core counter detail bit description 15:0 at the end of the test this two byte register will contain the number of core cycles counted from the time the associated dll delay line outputs a ?terminal count? number of self-oscillation cycles. the terminal count is defined by the ddbistlm.tcount register. device: nodeid function: 4 offset: 90h bit attr default description 23:16 rwst 0fh tcount: dll delay line output terminal count 15:0 rwst 000fh cvar: core count variation limit device: nodeid function: 4 offset: 94h bit attr default description 23:16 rwst 18h pwidth: minimum preamble width limit, used to detect if a low pulse in a dqs waveform is wide enough to be a valid preamble. the default corresponds to 3/4 of a dram clock cycle 15:14 rv 0h reserved 13:8 rwst 08h hwidth: minimum high pulse width limit, used to detect if a high pulse in a dqs waveform is wide enough to indicate a strobe is toggling in a valid manner. the defa ult corresponds to 1/4 of a dram clock cycle. 7:6 rv 0h reserved 5:0 rwst 10h poffset: preamble center offset fr om first rising edge, used to position the dqs receiver enable relative to the preamble edge location recorded in the dcaldata registers. the default value corresponds to 1/2 of a dram clock cycle.
intel? 6400/6402 advanced memory buffer datasheet 211 registers 14.6.1.6 dsretc: dram self-refresh extended timing and control this register sets the timing of operations to different ranks while the auto-refresh fsm controls the dram command bus. this allows power intensive commands to be staggered. this register also contains the count for the auto-refresh fsm handshake time out. the fsm will wait a maximum of th e time out count before taking control of the bus and issuing the command sequence to put the drams into self-refresh. the rstreqerr bit of the dsreftc csr will be set if the time out count is reached. 14.6.1.7 dqsfail there are two dqsfail registers that contain a total of 36 individual dqs failure status bits. there is one status bit for each dqs signal pair on each rank. these bits are set automatically by hardware during the rece iver enable calibration if a valid dqs waveform is not detected. hardware will not clear any bits that are set prior to the calibration even if a valid waveform is detected. hardware uses the dqsfail information to exclude calibration data during the data gathering portion and/or the data analysis portion of the both the receiv er enable and dqs delay calibrations. this prevents a failed dqs pin from corrupting the calibration of neighboring functional dqs pins that may share internal logic resources with a failing dqs pin. 14.6.1.8 dqsfail1: dqs failure configuration register 1 device: nodeid function: 4 offset: 98h bit attr default description 31:24 rv 0h reserved 23:16 rwst 14h drsrent: dual rank self-refresh entry timing - stagger of commands between ranks 15:8 rwst 14h drartim: dual rank auto-refre sh timing- stagger of commands between ranks 7:0 rwst ffh treqerr: reset handshake time out count (counts in x16 of core clock) if times out - forces drams into self -reset even if no handshake received from membist or other logic after link goes into fast reset device: nodeid function: 4 offset: 9ch bit attr default description 7:4 rv 0h reserved 3rwst 0 r1dqs17: rank 1 2rwst 0 r1dqs08: rank 1 1rwst 0 r1dqs16: rank 1 0rwst 0 r1dqs07: rank 1
registers 212 intel? 6400/6402 advanced memory buffer datasheet 14.6.1.9 dqsfail0: dqs failure configuration register 0 14.6.1.10 drrtc: receive enable refere nce output timing control registers note: these registers have to be saved and restored on s3. device: nodeid function: 4 offset: a0h bit attr default description 31 rwst 0 r1dqs15: rank 1 30 rwst 0 r1dqs06: rank 1 29 rwst 0 r1dqs14: rank 1 28 rwst 0 r1dqs05: rank 1 27 rwst 0 r1dqs13: rank 1 26 rwst 0 r1dqs04: rank 1 25 rwst 0 r1dqs12: rank 1 24 rwst 0 r1dqs03: rank 1 23 rwst 0 r1dqs11: rank 1 22 rwst 0 r1dqs02: rank 1 21 rwst 0 r1dqs10: rank 1 20 rwst 0 r1dqs01: rank 1 19 rwst 0 r1dqs09: rank 1 18 rwst 0 r1dqs00: rank 1 17 rwst 0 r0dqs17: rank 0 16 rwst 0 r0dqs08: rank 0 15 rwst 0 r0dqs16: rank 0 14 rwst 0 r0dqs07: rank 0 13 rwst 0 r0dqs15: rank 0 12 rwst 0 r0dqs06: rank 0 11 rwst 0 r0dqs14: rank 0 10 rwst 0 r0dqs05: rank 0 9rwst 0 r0dqs13: rank 0 8rwst 0 r0dqs04: rank 0 7rwst 0 r0dqs12: rank 0 6rwst 0 r0dqs03: rank 0 5rwst 0 r0dqs11: rank 0 4rwst 0 r0dqs02: rank 0 3rwst 0 r0dqs10: rank 0 2rwst 0 r0dqs01: rank 0 1rwst 0 r0dqs09: rank 0 0rwst 0 r0dqs00: rank 0
intel? 6400/6402 advanced memory buffer datasheet 213 registers the drrtc is a set of three registers with dqs receiver enable window timing control for each byte on the ddr data bus. there is a single control for each byte for both ranks. a correct register setting will delay the start of the enable window so that it coincides with the middle of the dqs pre-amble. enabling the window before or after the pre-amble would cause valid dqs edges to be missed or invalid edges or noise to be received. the range of the enable delay, controlled by the drrtc registers, is eight cycles, with a granularity defined by the spdpar06cur.mastcntl register. the delay is measured from the amc core clock edge that launches a ?read? command on the ddr command bus. the minimum delay is equal to the ddr sdram read latency defined in the drc.cl and drc.al register fields. the maximum delay is the read latency plus eight cycles. in addition to these major sources of delay, there is also a small ?uncompensated delay? as shown in the formulas below. the rcven fields of the drrtc register control the delay as follows: bits [7:5] control whole clock increments, bits [4:3] control in quarter clock increments, and bits [2:0] control the sub-quarter cycle increments. se tting rcven to 0x0 produces the minimum delay, and 0xff sets the maximum delay. the sub-quarter cycle delay is defined by the equations and ?rcven_out ? lookup table below: delay_uncomp = 100ps; note: estimate only delay element = (quarter cmdclk period - delay_uncomp) / ( mastcntl + 0.5) sub quarter cycle delay = delay_uncomp + (delay element * rcven_out[2:0]) for example, if the spdpar06cur.mastcntl is set to 0x7, the receiver enable delay can be varied over eight cycle in 256 steps, one step for each drrtc rcven setting. if spdpar06cur.mastcntl is set to 0x3, however, the number of steps is reduced to 128, such that half of the drrtc rcven setti ngs do not produce an increase in delay from the previous setting. rcven_out lookup table spdpar06cur mastcntl] drrtc rcven [2:0] 76543210 776 543210 665 543210 554 432110 444 332110 333 221100 222 211000 111 110000 000 000000
registers 214 intel? 6400/6402 advanced memory buffer datasheet 14.6.1.11 drrtc00: receive enable refe rence output timing control register this register determines dqs12, 3, 11, 2, 10, 1, 9, & 0 input buffer enable timing delay 14.6.1.12 drrtc01: receive enable refe rence output timing control register this register determines dqs16, 7, 15, 6, 14, 5, 13, & 4 input buffer enable timing delay. 14.6.1.13 drrtc02: receive enable refe rence output timing control register this register determines dqs17 & 8 input buffer enable timing delay. 14.6.1.14 dqs calibration registers the dqsofcs is a group of six registers that control the fine delay used to center dqs edges to the dq data eye during read operat ions. there is a delay entry for each nibble of the ddr data bus for each rank. the co arse delay is controlled by the dramdllc register. the equations for the fine and coarse delays are shown below. note that ?delay element? and ?delay_uncomp? are defi ned in the drrtc register section. also note that there is a separate coarse delay control for each ?chunk? of the ddr i/o cluster as defined in the dramdllc register section. slvlen_not_at_max[m] = dramdllc.slvle nm[2:0] < 7; where m is the ddr i/o cluster chunk number increment_slvlen[i,n] = slvlen_not_at_max and ( dqsofcsi.dqsn[3:0] > 7 ); where i and n are the dqsofcs register and dqs field numbers respectively device: nodeid function: 4 offset: a4h bit attr default description 31:24 rwst 20h rcven1203: receiver enable delay for dqs12 and 3 23:16 rwst 20h rcven1102: receiver enable delay for dqs11 and 2 15:8 rwst 20h rcven1001: receiver enable delay for dqs10 and 1 7:0 rwst 20h rcven0900: receiver enable delay for dqs9 and 0 device: nodeid function: 4 offset: a8h bit attr default description 31:24 rwst 20h rcven1607: receiver enable delay for dqs16 and 7 23:16 rwst 20h rcven1506: receiver enable delay for dqs15 and 6 15:8 rwst 20h rcven1405: receiver enable delay for dqs14 and 5 7:0 rwst 20h rcven1304: receiver enable delay for dqs13 and 4 device: nodeid function: 4 offset: c4h bit attr default description 7:0 rwst 20h rcven1708: receiver enable delay for dqs17 and 8
intel? 6400/6402 advanced memory buffer datasheet 215 registers slvlen[i,m,n] = dramdllc.slvlenm [2:0] + increment_slvlen[i,n] programable_delay[i,m,n] = ( delay element ) * ( slvlen[i,m,n] + 0.5 + dqsofcsi.dqsn[2:0]/8 ) dqs_delay[i,m,n] = delay_uncomp + programmable_delay[i,m,n] note: these registers may have to be saved and restored on s3 14.6.1.15 dqsofcs00: dqs calibration register this register determines dqs12, 3, 11, 2, 10, 1, 9, & 0 fine dqs delay when reading from rank 0. 14.6.1.16 dqsofcs01: dqs calibration register this register determines dqs16, 7, 15, 6, 14, 5, 13, & 4 fine dqs delay when reading from rank 0. device: nodeid function: 4 offset: b4h bit attr default description 31:28 rwst 0h dqs12: fine delay 27:24 rwst 0h dqs03: fine delay 23:20 rwst 0h dqs11: fine delay 19:16 rwst 0h dqs02: fine delay 15:12 rwst 0h dqs10: fine delay 11:8 rwst 0h dqs01: fine delay 7:4 rwst 0h dqs09: fine delay 3:0 rwst 0h dqs00: fine delay device: nodeid function: 4 offset: b8h bit attr default description 31:28 rwst 0h dqs16: fine delay 27:24 rwst 0h dqs07: fine delay 23:20 rwst 0h dqs15: fine delay 19:16 rwst 0h dqs06: fine delay 15:12 rwst 0h dqs14: fine delay 11:8 rwst 0h dqs05: fine delay 7:4 rwst 0h dqs13: fine delay 3:0 rwst 0h dqs04: fine delay
registers 216 intel? 6400/6402 advanced memory buffer datasheet 14.6.1.17 dqsofcs02: dqs calibration register this register determines dqs17 & 8 fine dqs delay when reading from rank 0. 14.6.1.18 dqsofcs10: dqs calibration register this register determines dqs12, 3, 11, 2, 10, 1, 9, & 0 fine dqs delay when reading from rank 1. 14.6.1.19 dqsofcs11: dqs calibration register this register determines dqs16, 7, 15, 6, 14, 5, 13, & 4 fine dqs delay when reading from rank 1. . device: nodeid function: 4 offset: c6h bit attr default description 7:4 rwst 0h dqs17: fine dll delay 3:0 rwst 0h dqs08: fine dll delay device: nodeid function: 4 offset: bch bit attr default description 31:28 rwst 0h dqs12: fine delay 27:24 rwst 0h dqs03: fine delay 23:20 rwst 0h dqs11: fine delay 19:16 rwst 0h dqs02: fine delay 15:12 rwst 0h dqs10: fine delay 11:8 rwst 0h dqs01: fine delay 7:4 rwst 0h dqs09: fine delay 3:0 rwst 0h dqs00: fine delay device: nodeid function: 4 offset: c0h bit attr default description 31:28 rwst 0h dqs16: fine delay 27:24 rwst 0h dqs07: fine delay 23:20 rwst 0h dqs15: fine delay 19:16 rwst 0h dqs06: fine delay 15:12 rwst 0h dqs14: fine delay 11:8 rwst 0h dqs05: fine delay 7:4 rwst 0h dqs13: fine delay 3:0 rwst 0h dqs04: fine delay
intel? 6400/6402 advanced memory buffer datasheet 217 registers 14.6.1.20 dqsofcs12: dqs calibration register this register determines dqs17 & 8 fine dqs delay when reading from rank 1. 14.6.1.21 wptrtc ddr i/o write pointer timing the two wptrtc registers control the fine delay of the ddr i/o fifo write pointers. the formulas for delay shown in the dq sofcs and drrtc register sections are identical to the write pointer delay formul as. to find the wptrtc portion of write pointer delay, use the dqsofcs formulas, and substitute wptrtc fields for all the dqsofcs fields. the only difference in the app lication of these formulas is that there is only one wptrtc field per byte of the ddr i/o, whereas the dqsofcs has a field per nibble per rank. the total write pointer delay, measured from the same reference point as the dqs receiver enable timing, is eq ual to the dqs receiver enable timing, including the quarter clock and sub-quarter clock delays, plus one full clock cycle, plus the coarse and fine dramdllc.slvlen/wptrtc delays calculated with the formulas from the dqsofcs register section. 14.6.1.22 wptrtc0: write po inter timing control 0 this register determines the ddr i/o fifo write pointer fine delay timing for all dqs signals except dqs17 and dqs8 when reading from rank 0 or rank 1. device: nodeid function: 4 offset: c7h bit attr default description 7:4 rwst 0h dqs17: fine dll delay 3:0 rwst 0h dqs08: fine dll delay device: nodeid function: 4 offset: cch bit attr default description 31:28 rwst 0h dqs1607: dqs16 and dqs7 write pointer fine delay 27:24 rwst 0h dqs1506: dqs15 and dqs6 write pointer fine delay 23:20 rwst 0h dqs1405: dqs14 and dqs5 write pointer fine delay 19:16 rwst 0h dqs1304: dqs13 and dqs4 write pointer fine delay 15:12 rwst 0h dqs1203: dqs12 and dqs3 write pointer fine delay 11:8 rwst 0h dqs1102: dqs11 and dqs2 write pointer fine delay 7:4 rwst 0h dqs1001: dqs10 and dqs1 write pointer fine delay 3:0 rwst 0h dqs0900: dqs9 and dqs0 write pointer fine delay
registers 218 intel? 6400/6402 advanced memory buffer datasheet 14.6.1.23 wptrtc1: write po inter timing control 1 this register determines the ddr i/o fifo write pointer fine delay timing for dqs17 and dqs8 signals when reading from rank 0 or rank 1. 14.6.1.24 ddqscvdp and ddqscadp this set of 4 registers defines two 64 bit long data patterns used in the dqs delay calibration. they are only used when dcalcsr.baspat is low. the 64 bit patterns cover a data burst that is 32 dram clock cycles long. the ddqscvdp registers define the ?victim? pattern, and the ddqscadp de fines the ?aggressor? pattern. the victim pattern is applied to one bit of each byte of the ddr data bus for 32 clock cycles, and the aggressor pattern is applied to all other bits. the victim pattern is applied in turn to each bit of each byte, creating a complete data pattern that is 8*32 data cycles long. 14.6.1.25 ddqscvdp0: dqs delay cal pattern 0 this register defines the last 32 bits of the 64 bit long ?victim? data pattern. 14.6.1.26 ddqscvdp1: dqs delay cal pattern 1 this register defines the first 32 bits of the 64 bit long ?victim? data pattern. 14.6.1.27 ddqscadp0: dqs delay cal pattern 0 this register defines the last 32 bits of the 64 bit long ?aggressor? data pattern. device: nodeid function: 4 offset: d0h bit attr default description 7:4 rv 0h reserved 3:0 rwst 0h dqs01708: rank 0 dqs17 and dqs8 write pointer fine delay device: nodeid function: 4 offset: d4h bit attr default description 31:0 rw aaaa0a05h enable: device: nodeid function: 4 offset: d8h bit attr default description 31:0 rw 5b339c5dh enable: device: nodeid function: 4 offset: dch bit attr default description 31:0 rw aaabffffh enable:
intel? 6400/6402 advanced memory buffer datasheet 219 registers 14.6.1.28 ddqscadp1: dqs delay cal pattern 1 this register defines the first 32 bits of the 64 bit long ?aggressor? data pattern. 14.6.2 memory interface control 14.6.2.1 diomon: ddr i/o monitor this register monitors the legsel output of the ddr i/o topcdat chunk and controls the a/d converter in the ddr i/o used to monitor analog voltage levels. 14.6.2.2 odtztc: on-die termination timing control this register controls the enable and disabl e timing of the on-die termination on dq and dqs pins. timing can be adjusted in whole clock increments, or enabled statically. the etimr and dtimr fields are added in hardware to the spdpar13cur.odtz_etimr and spdpar13cur.odtz_dtimr register fields to control termination timing during reads. the drrtc register is also used to align the enable/disable time to when read dq/dqs signals are expected to arrive at the input pins. the combined default values of the odtztc and spdpar13cur fields enable termination 1/2 dram clock cycle before the leading edge of the read dqs preamble arrives at the dqs pin, and keeps termination enabled for 5 clock cycles in bl 4 mode, and 7 cycles in bl8 mode. the ddr i/o circuits automatically disable on-die termination when the dq/dqs pins are driving. the default register values enable termination during writes at the same time that the pins are driving, so termination is effectively off during writes. device: nodeid function: 4 offset: e0h bit attr default description 31:0 rw db339ce1h enable: device: nodeid function: 4 offset: f0h bit attr default description 15 rw 0 enable: enable a/d converter and update vresult 14:12 rwst 0h biassel: a/d converter input selection 11:8 rwst 0h legselout: legsel output of topcdat chunk 7rwst 0h diopwr: 6rv 0h reserved 5:0 rwst 00h vresult: a/d converter output device: nodeid function: 4 offset: f4h bit attr default description 15 rwst 0 timoride: timing override. on-die termination always on during read operations and when the bus is idle 14:12 rwst 0h dtimw: disable time after write data 11 rv 0 reserved
registers 220 intel? 6400/6402 advanced memory buffer datasheet 14.6.2.3 dramisctl: miscellaneou s dram ddr cluster control 14.6.2.4 ddr2odtc: ddr2 dram on-die termination control the ddr2odtc controls the behavior of the odt output (one odt output per command bus copy). there is a separate field to control the behavior for reads to rank0, reads to rank1, writes to rank0, and writes to rank1. only the lsb of each field is used, and the msb has no effect. when an lsb of a field is set to one, the odt pins will drive high, at the appropriate time relative to data on the ddr bus, when the selected transaction (read or write) is issued to the selected rank (0 or 1). if a field is set to 0, the odt output continues to drive low during the transaction, as it does during idle cycles. 10:8 rwst 0h dtimr: disable time after read data 7:4 rwst 0h etimw: enable time before write data 3:0 rwst 0h etimr: enable time before read data device: nodeid function: 4 offset: f8h bit attr default description 31:13 rv 0000h reserved 12 rwst 1 voxstart: enable the voltage output crossing control loop in the ddr i/o. this bit is and?ed with the spdpar1011cur.vox_start bit. 11 rw 0 avmode: analog validation mode 10 rw 0 ocdloadenable: calibration load pl aced on incoming signals for ddr2 dram ocd calibration 9rw 0 ocdpolsel: set for pull up calibration, clear for pull down 8rw 0 ocdrcompen: 7:0 rwst 11h vrefsel: vref selection details of dramisctl vref field settin g description tbd device: nodeid function: 4 offset: f4h bit attr default description device: nodeid function: 4 offset: fch bit attr default description 7:6 rwst 0h r1odtwr: odt control during writes to cs1 x1: odt pins will drive high x0: odt pins remain driving low 5:4 rwst 0h r1odtrd: odt control during reads to cs1 3:2 rwst 0h r0odtwr: odt control during writes to cs0
intel? 6400/6402 advanced memory buffer datasheet 221 registers 14.6.2.5 dramdllc: ddr i/o dll control the formulas that show how the slvlen fields affect dqs delay timing are shown in the dqsofcs register definition section. the slvlen fields are set by hardware during the dqs delay calibration. there are five slvlen fields, one for each ?chunk?, or two bytes, of the ddr i/o dq pins. the slvbyp bi t can be toggled to reset the master dll?s in the ddr i/o. 14.6.3 firmware support registers 14.6.3.1 fivesreg: fixed 5?s pattern constant value used for debug. 14.6.3.2 aaaareg: fixed a?s pattern constant value used for debug. 1:0 rwst 0h r0odtrd: odt control during reads to cs0 device: nodeid function: 4 offset: fch bit attr default description device: nodeid function: 4 offset: c8h bit attr default description 23:22 rv 00h reserved 21 rw 0h slvbyp: dqs delay bypass 20:18 rwst 3h slvlen4: dqs17 & 8 coarse dqs delay 17:15 rwst 3h slvlen3: dqs16, 7, 15, & 6 coarse dqs delay 14:12 rwst 3h slvlen2: dqs14, 5, 13, & 4 coarse dqs delay 11:9 rwst 3h slvlen1: dqs12, 3, 11, & 2 coarse dqs delay 8:6 rwst 3h slvlen0: dqs10, 1, 9, & 0 coarse dqs delay 5:0 rv 00h reserved device: nodeid function: 4 offset: e8h bit attr default description 31:0 ro 55555555h fives: hardwired to 5?s for read-return device: nodeid function: 4 offset: ech bit attr default description 31:0 ro aaaaaaaah aaaas: hardwired to a?s for read-return
registers 222 intel? 6400/6402 advanced memory buffer datasheet 14.7 dfx registers (function 5) 14.7.1 transparent mode registers 14.7.1.1 transcfg: transparent mode configuration this register enables and controls fbd dfx transparent mode features. . 14.7.1.2 tranderr[8:0]: transparent mode data error logs this register stores data returned from dr am byte groups on failing transparent mode tests. 14.7.1.3 transctrl: transparent mode control device: nodeid function: 5 offset: 3ch bit attr default description 31:29 rv 0h reserved 28 rwst 0 endout: enable data output on transparent data/status pins when set, output status when clear 27 rwst 0 lgfbits: log bits that fail the compare when set, log raw read data when clear. 26 rwst 0 lgffail: log first failure in any burst position. 25:24 rwst 00 bstpos: burst position to log data/f ailed bits from when lgffail bit is not set. 0 = first burst in bl4 or bl8 mode 1 = last burst of bl4, second burst of bl8 2 = third burst of bl8 3 = last burst of bl8 23:20 rwst 0h dramrd: byte of data bus selected to be output on transparent data/status pins when endout bit is set. 8= dqs 17 and dqs 8 7= dqs 16 and dqs 7 ... 0 = dqs 9 and dqs 0 19:16 rwst 0h dramwr: byte of data bus selected to receive transparent write data, and byte of data bus to be compared against transparent read data. fh = all bytes 8= dqs 17 and dqs 8 7= dqs 16 and dqs 7 ... 0 = dqs 9 and dqs 0 15:0 rwst 0000h dftdata: default data for bytes not selected by the dramwr field. this field has early/even data in the upper 8 bits, and late/odd data in the lower 8 bits. device: nodeid function: 5 offset: 50h, 4eh, 4ch, 4ah, 48h,46h, 44h, 42h, 40h bit attr default description 15:8 rwst 00h late_data: 7:0 rwst 00h early_data:
intel? 6400/6402 advanced memory buffer datasheet 223 registers this register enables and controls fbd dfx transparent mode features. 14.7.2 logic analyzer in terface (lai) registers 14.7.2.1 lai: lai operation modes this register controls and reports the amb?s lai mode and qual controls. 14.7.2.2 sbmatchu: upper southbound match register this register sets the upper 8 bits of data match for three southbound commands. device: nodeid function: 5 offset: 80h bit attr default description 7:1 rv 00h reserved 0rwst 0 entrnspmode: transparency mode enable 1 - enables transparency mod device: nodeid function: 5 offset: b8h bit attr default description 31:16 rv 0000h reserved 15 rwst 0 rawmode: data connected to lai 0: lai outputs contain init ialization state information prior to l0s then lane data after l0s 1: lai outputs connected to fbd data inputs even though valid timing is not present 14 rv 0 reserved 13 rwst 0 qualmode: assert qual for all non-filtered frames, or only assert qual for all non-filtered frames between start and stop events. 0: ignore qual start/stop events 1: assert qual after a start event, and deassert qual after a stop events 12 rwst 0 filtersync: filter the frame (do not assert qual) if the frame is a sync. 0: disable sync filtering 1: enable sync filtering 11:6 rv 00h reserved 5:0 rwst 3fh qualperiod: additional number of fram es qual remains asserted power-on default to 63 device: nodeid function: 5 offset: bch bit attr default description 31:24 rv 00h reserved 23:16 rwst 00h cmd2: upper 8 bits [39:32] of southbound command 2
registers 224 intel? 6400/6402 advanced memory buffer datasheet match and mask bit numbering of sb frames is as follows: ? where n= 0 for slot a, 4 for slot b and 8 for slot c 14.7.2.3 sbmatchl0: lower southbound match register 0 this register sets the lower 32 bits of data match for match southbound command 0. 14.7.2.4 sbmatchl1: lower southbound match register 1 this register sets the lower 32 bits of data match for match southbound command 1. 15:8 rwst 00h cmd1: upper 8 bits [39:32] of southbound command 1 7:0 rwst 00h cmd0: upper 8 bits [39:32] of southbound command 0 device: nodeid function: 5 offset: bch bit attr default description table 14-17. bit locations for sb match and mask xfr\lane9876543210 0 + n b36b32b28b24b20b16b12b8 b4 b0 1 + n b37b33b29b25b21b17b13b9 b5 b1 2 + n b38b34b30b26b22b18b14b10b6 b2 3 + n b39b35b31b27b23b19b15b11b7 b3 device: nodeid function: 5 offset: c0h bit attr default description 31:0 rwst 00004000h cmd: lower 32bits [31:0] of southbound command power on default = match synch device: nodeid function: 5 offset: c4h bit attr default description 31:0 rwst 00100000h cmd: lower 32bits [31:0] of southbound command power on default = match activate
intel? 6400/6402 advanced memory buffer datasheet 225 registers 14.7.2.5 sbmatchl2: lower southbound match register 2 this register sets the lower 32 bits of data match for match southbound command 2. 14.7.2.6 sbmasku: upper southbound mask register this register sets the upper 8 bits of data mask for three southbound commands. 14.7.2.7 sbmaskl0: lower southbound mask register 0 this register sets the lower 32 bits of data mask for match southbound command 0. device: nodeid function: 5 offset: c8h bit attr default description 31:0 rwst 00014000h cmd: lower 32bits [31:0] of southbound command power on default = match write config reg device: nodeid function: 5 offset: cch bit attr default description 31:24 rv 00h reserved 23:16 rwst 00h cmdmask2: upper 8 bits [39:32] of southbound command 2 mask 0: do not include this bit in match comparison 1: include this bit in match comparison 15:8 rwst 00h cmdmask1: upper 8 bits [39:32] of southbound command 1 mask 0: do not include this bit in match comparison 1: include this bit in match comparison 7:0 rwst 00h cmdmask0: upper 8 bits [39:32] of southbound command 0 mask 0: do not include this bit in match comparison 1: include this bit in match comparison device: nodeid function: 5 offset: d0h bit attr default description 31:0 rwst 031fc000h cmdmask: lower 32bits [31:0] of southbound command mask. 0: do not include this bit in match comparison 1: include this bit in match comparison power on default = match sync
registers 226 intel? 6400/6402 advanced memory buffer datasheet 14.7.2.8 sbmaskl1: lower southbound mask register 1 this register sets the lower 32 bits of data mask for match southbound command 1. 14.7.2.9 sbmaskl2: lower southbound mask register 2 this register sets the lower 32 bits of data mask for match southbound command 2. 14.7.2.10 mmeventsel: match/mask event selection register selects 1 of 13 local match events described below for promotion to local event select. three local events mmevent[2:0] can be associated with one of these local match events. . device: nodeid function: 5 offset: d4h bit attr default description 31:0 rwst 00100000h cmdmask: lower 32bits [31:0] of southbound command mask. 0: do not include this bit in match comparison 1: include this bit in match comparison power on default = match activate device: nodeid function: 5 offset: d8h bit attr default description 31:0 rwst 001fc000h cmdmask: lower 32bits [31:0] of southbound command mask. 0: do not include this bit in match comparison 1: include this bit in match comparison power on default = match write config reg device: nodeid function: 5 offset: dch bit attr default description 15:12 rv 0h reserved 11:8 rwst 2h mmevent2sel: default: match pattern 0 to slot a only for sync 7:4 rwst ah mmevent1sel: default: match pattern 1 to slot a, b, or c for activate 3:0 rwst 3h mmevent0sel: default: match pattern 2 to slot b only for write config reg mm event description 15:13 reserved 12 framematch bit pattern in slot a matches sbmatch/sbmask 0 and bit pattern in slot b matches sbmatch/sbmask 1 and bit pattern in slot c matches sbmatch/sbmask 2
intel? 6400/6402 advanced memory buffer datasheet 227 registers 14.7.2.11 eventsel0: event selection register in lai mode, selects 1 of 32 local events (see event register) for 2 uses (qual start and qual stop) and sets programmable dela y for qualstop. in normal mode, selects local event for 2 uses (error injection and nb in-band event signaling) and sets programmable delay for error injection. 11 slotmatch0 command in slot a, b, or c matches sbmatch/sbmask 0 10 slotmatch1 command in slot a, b, or c matches sbmatch/sbmask 1 9 slotmatch2 command in slot a, b, or c matches sbmatch/sbmask 2 8 slotcmatch0 command in slot c matches sbmatch/sbmask 0 7 slotcmatch1 command in slot c matches sbmatch/sbmask 1 6 slotcmatch2 command in slot c matches sbmatch/sbmask 2 5 slotbmatch0 command in slot b matches sbmatch/sbmask 0 4 slotbmatch1 command in slot b matches sbmatch/sbmask 1 3 slotbmatch2 command in slot b matches sbmatch/sbmask 2 2 slotamatch0 command in slot a matches sbmatch/sbmask 0 1 slotamatch1 command in slot a matches sbmatch/sbmask 1 0 slotamatch2 command in slot a matches sbmatch/sbmask 2 mm event description device: nodeid function: 5 offset: e0h bit attr default description 31:21 rv 00h reserved 20:15 rwst 3fh qualstopdelay: in lai mode additional number of clocks qualstop is delayed before use (0 to 63) power-on default to 63 injerrordelay: in normal mode additional number of clocks injerror is delayed before use (0 to 63) power-on default to 63 14:10 rw 00h inband: in lai mode no effect. northbound in-band debug events can not be asserted in lai mode inband: in normal mode if selected event occurs, assert the northbound in-band event bit in next sync status 0 return and in fbds0.s3
registers 228 intel? 6400/6402 advanced memory buffer datasheet 14.7.2.12 eventsel1: event selection register selects 1 of 32 local events (see event register) for each of six events transmitted to the lai interface (events[5:0]). 14.7.2.13 eventsel2: event selection register selects 1 of 32 local events (see event register) for each of five events transmitted to the lai interface (events[10:6]). 9:5 rwst 00h qualstart: in lai mode if selected event occurs, enable assertion of qual until next qualstop 4:0 rwst 00h qualstop: in lai mode ? if selected event occurs, disable assertion of qual until next qualstart injerror: in normal mode ? if selected event occurs, inject error selected by eicntl device: nodeid function: 5 offset: e0h bit attr default description device: nodeid function: 5 offset: e4h bit attr default description 31:30 rv 00 reserved 29:25 rwst 0ah laitrigger5: local event selected and transmitted to lai as trigger5 default on power on to mm[1] event= activate on any command 24:20 rwst 0bh laitrigger4: local event selected and transmitted to lai as trigger4 default on power on to mm[2] event= sync command in slot a 19:15 rwst 13h laitrigger3: local event selected and transmitted to lai as trigger3 default on power on to select in-band debug event 3 14:10 rwst 12h laitrigger2: local event selected and transmitted to lai as trigger2 default on power on to select in-band debug event 2 9:5 rwst 11h laitrigger1: local event selected and transmitted to lai as trigger1 default on power on to select in-band debug event 1 4:0 rwst 10h laitrigger0: local event selected and transmitted to lai as trigger0 default on power on to select in-band debug event 0 device: nodeid function: 5 offset: e8h bit attr default description 31:30 rv 00 reserved
intel? 6400/6402 advanced memory buffer datasheet 229 registers 14.7.2.14 event: local lai event register this register sets a bit if a local event is hit. except for qualflag, most local event signal internal to the amb may assert for only one cycle. the event bits in this register remain set once asserted so that the history of the event being set is not lost. note : the 5-bit select fields in the even tsel0, eventsel1, eventsel2 and evbus registers use the bit mapping of this register to identify which local event to select. ? for example, if eventsel1.laitrigger0 [4:0] = 26 decimal then trigger0 is connected to the sb crc error event. ? for example, if eventsel1.laitrigger0 [4:0] = 12 decimal then trigger0 is connected to the inbound evbus[0] event, and so forth. 29:25 rv 00h reserved 24:20 rwst 04h laitrigger10: local event selected and transmitted to lai as trigger10 default on power on to sb unit testing state detect 19:15 rwst 1ah laitrigger9: local event selected and transmitted to lai as trigger9 default on power on to sb crc error detect 14:10 rwst 0dh laitrigger8: local event selected and transmitted to lai as trigger8 default on power on to event bus[1] event 9:5 rwst 0ch laitrigger7: local event selected and transmitted to lai as trigger7 default on power on to event bus[0] event 4:0 rwst 09h laitrigger6: local event selected and transmitted to lai as trigger6 default on power on to mm[0] event= write register in command slot b device: nodeid function: 5 offset: e8h bit attr default description device: nodeid function: 5 offset: f0h bit attr default description 31 rwcst 0 spare : 30:25 rwcst 00h error events: ? sb/nb failover[25], when unmasked: ? sb crc error[26], ? thermal overload[27], ? clock training violation (< 6 transitions in 512 ui) [28], ? unimplemented register access[29], ? other implementation specific errors[30] set on event and cleared by writing 24 rwcst 0 qualflag: 23:16 rwcst 00h inbandev: sb link in-band ev[7:0] set on event and cleared by writing
registers 230 intel? 6400/6402 advanced memory buffer datasheet 14.7.3 error injection registers 14.7.3.1 eicntl: error injection control this register controls the amb error injection logic. 14.7.3.2 stuckl: stuck ?on? fbd lanes this register selects fbd lanes to be stuck at ?electrical idle? following a write to this register. 15:12 rwcst 0h ev: event bus ev[3:0] set on event and cleared by writing 11:9 rwcst 0h mmevent: mmevent[2:0] selected by mmeventsel set on event and cleared by writing 8:1 rwst 0h linkst: fbd link state: disable[1], calibrate[2], training[3], testing[4], pollling[5], config[6], l0[7], l0s or recalibrate[8] one hot encoding of fbd link state 0 ro 0 null: null event: bit never set device: nodeid function: 5 offset: f0h bit attr default description device: nodeid function: 5 offset: fch bit attr default description 7rw0 eien:error injection enable 1= error injection enabled 0= error injection disabled 6:4 rw 000 eitype: type of error injection 111 = reserved; 110 = reserved 101 = force nb error bit on next status return 100 = force alert on event 011 = reserved 010 =reserved 001= corrupt nb crc on event 000= no error injection 3:0 rv 0h reserved device: nodeid function: 5 offset: feh bit attr default description 7:4 rv 0h reserved 3:0 rwst fh nbstuck: nb lane to be driv en to ei to simulate a failed lane ? 0h = lane 0: dh = lane 13 and > 13 = nop
intel? 6400/6402 advanced memory buffer datasheet 231 registers 14.8 bring-up and debug registers (function 6) 14.8.1 spad[1:0]: scratch pad these bits have no effect upon the operation of the amb. they are intended to be used by software for tracking changes in amb state. these two registers are in different functions. 14.8.2 southbound fbd intel ? interconnect bist registers 14.8.2.1 sbfibportctl: southbound fbd intel ? interconnect bist port control register this register controls the operation of the intel ? interconnect bist (intel ? ibist) logic. please refer to fully-buffered dimm dfx specification for detailed description of the operation of intel ibist. device: nodeid function: 7, 6 offset: 7ch bit attr default description 31:0 rw 0000_0000h free: these bits are available for software definition. device: nodeid function: 6 offset: 80h bit attr default description 31:24 rv 00h reserved 23 rwst 0 sbnbmap: loopback mapping bit this bit will be sent during ts1 to the slave to specify which lanes needs to be looped back. actual lanes looped back is specified in the fbd architecture spec. 22 rwst 0 cmmstr: compliance measurement mode start this puts the intel ibist logic in cmm mo de and intel ibist tx engine will start transmitting intel ibist patterns. 21:12 rwcst 000h errcnt: error counter total number of frames with errors that were encountered by this port. 11:8 rost 0h errlnnum: error lane number this points to the first lane that encoun tered an error. if more than one lane reports an error in a cycle, the most significant lane number that reported the error will be logged. 7:6 rwcst 00 errstat: port error status when intel ibist is started, status go es to 01 until first start delimiter is received and then goes to 00 until the end or to10 if an error occurs. 00: no error. 01: did not receive first start delimiter. 10: transmission error (first error). 11: reserved for future use 5rwst 0 autoinvswpen: auto inversion sweep enable this bit enables the inversion shift register to continuously rotate the pattern in the fibtxshft and fibrxshft registers. 0: disable auto-inversion 1: enable auto-inversions
registers 232 intel? 6400/6402 advanced memory buffer datasheet 14.8.2.2 sbfibpgctl: sb intel ibist pattern generator control register this register contains bits to control the operation of the intel ibist pattern generator. all counts are in 24 bit increments. 4rwst 0 stoponerr: stop ibist on error 0: do not stop on error, only update error counter 1: stop on error 3rwst 0 loopcon: loop forever 0: no looping 1: loop forever 2rwcst 0 complete: ibist done flag this bit is set when the receive engine is done checking. 0: not done 1: done 1rwst 0 mstrmd: master mode enable when this bit is set along with ibistr , the intel ibist transmit engine is enabled to transmit intel ibist patterns. 0: disable master mode. 1: enable master mode. 0rwst 0 ibistr: ibist start when set, intel ibist starts transmitti ng after the ts1 header is recognized during the next link in itialization sequence. and mstrmd bit is set.this bit also enables the receive engine to start look ing for the start delimiter during ts1 training set. this bit is reset when inte l ibist receiver is done. the intel ibist transmit and receive engines can be stopped by setting this bit to 0. 0: stop ibist transmitter 1: start ibist transmitter device: nodeid function: 6 offset: 80h bit attr default description device: nodeid function: 6 offset: 84h bit attr default description 31:26 rwst 0fh ovrloopcnt: overall loop count 0h: reserved 1h:3fh: number of times to loop all the patterns. 25:21 rwst 00h cnstgencnt: constant generator loop counter 00h: disable constant generator output 01h: 1fh the number of times the constant generator counter pattern should loop before going to the next component. each count represents 24 bits of 1?s or 0?s. 20 rwst 0 cnstgenset: constant generator setting 0: generate 0 1: generate 1 19:13 rwst 0fh modloopcnt: modulo-n loop counter each count represents 24 bits of the pattern specified by modperiod . 00h: disable pattern output 01h: 7fh the number of times the pattern buffer should loop before going to the next component.
intel? 6400/6402 advanced memory buffer datasheet 233 registers 14.8.2.3 sbfibpattbuf1: sb intel ibist pattern buffer 1 register this register contains the pattern bits used in intel ibist operations. only the least significant 24 bits are used. this user specif ied pattern goes out on to the link with the least-significant 12 bits as the first frame and the most significant 12 bits as the second frame. 14.8.2.4 sbfibtxmsk: sb intel ib ist transmitter mask register this register enables intel ibist operations fo r individual lanes. this mask only applies to transmitters and not receivers. 12:10 rwst 001b modperiod: period of the modulo-n counter each encoding transmits a 24-bit pattern as specified below. all other encodings are reserved. 001: l/2 - 0101_0101_0101_0101_0101_0101 010: l/4 - 0011_0011_0011_0011_0011_0011 011: l/6 - 0001_1100_0111_0001_1100_0111 100: l/8 - 0000_1111_0000_1111_0000_1111 110: l/24 - 0000_0000_0000_1111_1111_1111 9:3 rwst 0fh pattloopcnt: pattern buffer loop counter 00h: disable pattern output 01h: 7fh the number of times the pattern buffer ( fibpattbuf1 ) should be repeated before going to the next component. 2:0 rwst 000 ptgenord: pattern generation order 000: pattern store + modulo n cntr + constant generator 001: pattern store + constant generator + modulo n cntr 010: modulo n cntr + pattern store + constant generator 011: modulo n cntr + constant generator + pattern store 100: constant generator + pattern store + modulo n cntr 101: constant generator + modu lo n cntr + pattern store 110: reserved 111: reserved device: nodeid function: 6 offset: 84h bit attr default description device: nodeid function: 6 offset: 88h bit attr default description 31:24 rv 00h reserved 23:0 rwst 02ccfdh ibpatbuf: ibist pattern buffer pattern buffer storing the defaul t and the user programmable pattern. default: 02ccfdh device: nodeid function: 6 offset: 8ch bit attr default description 31:10 rv 000000h reserved 9:0 rwst 3ffh txmask: selects which channels to enable for testing.
registers 234 intel? 6400/6402 advanced memory buffer datasheet 14.8.2.5 sbfibrxmsk: sb intel ibist receiver mask register this register enables intel ibist operations fo r individual lanes. this mask only applies to receivers and not transmitters. 14.8.2.6 sbfibtxshft: sb intel ibist transmitter inversion shift register each bit in this register enables inverting the patterns that is driven on corresponding lanes. if autoinvswpen bit is set in port control register, the txinvshft field is rotated left at the completion of each pattern buffer set. 14.8.2.7 sbfibrxshft: sb intel ibis t receiver inversion shift register each bit in this register enables inverting the patterns that is received on corresponding lanes. if autoinvswpen bit is set in port control register, the rxinvshft field is rotated left at the completion of each pattern buffer set. 14.8.2.8 sbfibrxlnerr: sb intel ib ist receiver lane error status this records the error status from each lane. device: nodeid function: 6 offset: 90h bit attr default description 31:10 rv 000000h reserved 9:0 rwst 3ffh rxmask: selects which channe ls to enable for testing. device: nodeid function: 6 offset: 94h bit attr default description 31:10 rv 000000h reserved 9:0 rwst 3ffh txinvshft: transmitter inversion shift register. device: nodeid function: 6 offset: 98h bit attr default description 31:10 rv 000000h reserved 9:0 rwst 3ffh rxinvshft: receiver inversion shift register. device: nodeid function: 6 offset: 9ch bit attr default description 31:10 rv 000000h reserved 9:0 rost 000h rxerrstat: receiver error status
intel? 6400/6402 advanced memory buffer datasheet 235 registers 14.8.2.9 sbfibpattbuf2: sb intel ibist pattern buffer 2 register this optional register contains the pattern bits used in intel ibist operations. only the least significant 24 bits are used. this user specified pattern goes out on to the link with the least-significant 12 bits as the first frame and the most significant 12 bits as the second frame. 14.8.2.10 sbfibpatt2en: sb inte l ibist pattern buffer 2 enable this optional register specifies which lanes will carry the pattern specified in sbfibpattbuff2. 14.8.2.11 sbfibinit: sb intel ibist initialization register this register control southbound intel ibist testing. device: nodeid function: 6 offset: a0h bit attr default description 31:24 rv 00h reserved 23:0 rwst fd3302h ibpatbuf2: ibist pattern buffer 2 pattern buffer storing the default and the user programmable pattern. default: fd3302h device: nodeid function: 6 offset: a4h bit attr default description 31:10 rv 00h reserved 9:0 rwst 000h sbfibpatt2en: ibist pattern buffer 2 enable per lane enable for driving pattern buffer 2. device: nodeid function: 6 offset: b0h bit attr default description 31 rv 0 reserved 30:21 rwst 0c8h sbts0cnt: southbound ts0 count number of ts0 sequences to transmit. 20:13 rwst 01h sbts1cnt: southbound ts1 count number of ts1 sequences to transmit. if ts1cnt[7] = 1; (ts1cnt >= 128) intel ibist will loop forever if ts1cnt[7] = 0; (ts1cnt <128) intel ibist will loop ts1cnt times 12:3 rwst 100h sbdiscnt: southbound disable state count number of cycles to remain in disable state. 2rwst1 sbcaliben: southbound calibration enable 1 - perform fbd calibration. 1rv0 reserved 0rwst0 sbibistiniten: ibist initialization enable 1 - start ibist testing with southbound transmitter as the host.
registers 236 intel? 6400/6402 advanced memory buffer datasheet 14.8.2.12 sbibistmisc: sb intel ibist initialization miscellaneous register this register control southbound intel ibist testing. 14.8.3 northbound fbd intel ibist registers 14.8.3.1 nbfibportctl: northbound fb d intel ibist port control register this register controls the operation of the intel ibist logic. device: nodeid function: 6 offset: b4h bit attr default description 31: rv 00h reserved 23:20 rwst 0h ambid: value of the amb id field during ts0 19:0 rwst 61a80h sbibistcalperiod: number of cycles to drive 1 during calibration device: nodeid function: 6 offset: c0h bit attr default description 31:24 rv 00h reserved 23 rwst 0 sbnbmap: loopback mapping bit this bit will be sent during ts1 to specify to the slave which lanes needs to be looped back. actual lanes lo oped back is specified in the fbd architecture spec. 22 rwst 0 cmmstr: compliance measurement mode start this puts the intel ibist lo gic in cmm mode and intel ibist tx engine will start transmitting intel ibist patterns. 21:12 rwcst 000h errcnt: error counter total number of frames with errors that were encountered by this port. 11:8 rost 0h errlnnum: error lane number this points to the first lane that encoun tered an error. if more than one lane reports an error in a cycle, the most significant lane number that reported the error will be logged. 7:6 rwcst 00 errstat: port error status when intel ibist is started, status goes to 01 until first start delimiter is received and then goes to 00 until the end or to10 if an error occurs. 00: no error. 01: did not receive first start delimiter. 10: transmission error (first error). 11: reserved 5rwst 0 autoinvswpen: auto inversion sweep enable this bit enables the inversi on shift register to continuously rotate the pattern in the fibtxshft and fibrxshft registers. 0: disable auto-inversion 1: enable auto-inversions 4rwst 0 stoponerr: stop ibist on error 0: do not stop on error, only update error counter 1: stop on error 3rwst 0 loopcon: loop forever 0: no looping 1: loop forever
intel? 6400/6402 advanced memory buffer datasheet 237 registers 14.8.3.2 nbfibpgctl: nb intel ibist pattern generator control register this register contains bits to control the operation of the intel ibist pattern generator. all counts are in 24 bit increments. 2rwcst 0 complete: ibist done flag 0: not done 1: done 1rwst 0 mstrmd: master mode enable when this bit is set along with ibistr , the intel ibist transmit engine is enabled to transmit intel ibist patterns. 0: disable master mode. 1: enable master mode. 0rwst 0 ibistr: ibist start when set, intel ibist starts transmitti ng after the ts1 header is recognized during the next link initialization sequence. and mstrmd bit is set.this bit also enables the receive engine to start look ing for the start delimiter during ts1 training set. this bit is reset when inte l ibist receiver is done. the intel ibist transmit and receive engines can be stopped by setting this bit to 0. 0: stop ibist transmitter 1: start ibist transmitter device: nodeid function: 6 offset: c0h bit attr default description device: nodeid function: 6 offset: c4h bit attr default description 31:26 rwst 0fh ovrloopcnt: overall loop count 0h: reserved 1h-3fh: number of times to loop all the patterns. 25:21 rwst 00h cnstgencnt: constant generator loop counter 00h: disable constant generator output 01h: 1fh the number of times the constant generator counter pattern should loop before going to the next component. each count represents 24 bits of 1?s or 0?s. 20 rwst 0 cnstgenset: constant generator setting 0: generate 0 1: generate 1 19:13 rwst 0fh modloopcnt: modulo-n loop counter each count represents 24 bits of the pattern specified by modperiod . 00h: disable pattern output 01h: 7fh the number of times the pattern bu ffer should loop before going to the next component. 12:10 rwst 001b modperiod: period of the modulo-n counter each encoding transmits a 24-bit pattern as specified below. all other encodings are reserved. 001: l/2 - 0101_0101_0101_0101_0101_0101 010: l/4 - 0011_0011_0011_0011_0011_0011 011: l/6 - 0001_1100_0111_0001_1100_0111 100: l/8 - 0000_1111_0000_1111_0000_1111 110: l/24 - 0000_0000_0000_1111_1111_1111 9:3 rwst 0fh pattloopcnt: pattern buffer loop counter 00h: disable pattern output 01h: 7fh the number of times the pattern buffer ( ibpattbuf ) should be repeated before going to the next component.
registers 238 intel? 6400/6402 advanced memory buffer datasheet 14.8.3.3 nbfibpattbuf1: nb intel ibist pattern buffer 1 register this register contains the pattern bits used in intel ibist operations. only the least significant 24 bits are used. this user specif ied pattern goes out on to the link with the least-significant 12 bits as the first frame and the most significant 12 bits as the second frame. 14.8.3.4 nbfibtxmsk: nb intel ib ist transmitter mask register this register enables intel ibist operations fo r individual lanes. this mask only applies to transmitters and not receivers. 14.8.3.5 nbfibrxmsk: nb intel ibist receiver mask register this register enables intel ibist operations fo r individual lanes. this mask only applies to receivers and not transmitters. 2:0 rwst 000 ptgenord: pattern generation order 000: pattern store + modulo n cntr + constant generator 001: pattern store + constant generator + modulo n cntr 010: modulo n cntr + pattern store + constant generator 011: modulo n cntr + constant generator + pattern store 100: constant generator + pattern store + modulo n cntr 101: constant generator + modulo n cntr + pattern store 110: reserved 111: reserved device: nodeid function: 6 offset: c4h bit attr default description device: nodeid function: 6 offset: c8h bit attr default description 31:24 rv 00h reserved 23:0 rwst 02ccfdh ibpatbuf: ibist pattern buffer pattern buffer storing the default an d the user programmable pattern. device: nodeid function: 6 offset: cch bit attr default description 31:14 rv 00000h reserved 13:0 rwst 3fffh txmask: selects which channels to enable for testing. device: nodeid function: 6 offset: d0h bit attr default description 31:14 rv 00000h reserved 13:0 rwst 3fffh rxmask: selects which channe ls to enable for testing.
intel? 6400/6402 advanced memory buffer datasheet 239 registers 14.8.3.6 nbfibtxshft: nb intel ibist transmitter inversion shift register each bit in this register enables inverting the patterns that is driven on corresponding lanes. if autoinvswpen bit is set in port control register, the txinvshft field is rotated left at the completion of each pattern buffer set. 14.8.3.7 nbfibrxshft: nb intel ibis t receiver inversion shift register each bit in this register enables inverting th e patterns that is received on corresponding lanes. if autoinvswpen bit is set in port control register, the rxinvshft field is rotated left at the completion of each pattern buffer set. 14.8.3.8 nbfibrxlnerr: nb intel ib ist receiver lane error status this records the error status from each lane. 14.8.3.9 nbfibpattbuf2: nb inte l ibist pattern buffer 2 register this optional register contains the pattern bits used in intel ibist operations. only the least significant 24 bits are used. this user specified pattern goes out on to the link with the least-significant 12 bits as the first frame and the most significant 12 bits as the second frame. device: nodeid function: 6 offset: d4h bit attr default description 31:14 rv 00000h reserved 13:0 rwst 3fffh txinvshft: transmitter inversion shift register. device: nodeid function: 6 offset: d8h bit attr default description 31:14 rv 00000h reserved 13:0 rwst 3fffh rxinvshft: receiver inversion shift register. device: nodeid function: 6 offset: dch bit attr default description 31:14 rv 00000h reserved 13:0 rost 0000h rxerrstat: receiver error status device: nodeid function: 6 offset: e0h bit attr default description 31:24 rv 00h reserved 23:0 rwst fd3302h ibpatbuf2: ibist pattern buffer 2 pattern buffer storing the default and the user programmable pattern.
registers 240 intel? 6400/6402 advanced memory buffer datasheet 14.8.3.10 nbfibpatt2en: nb inte l ibist pattern buffer 2 enable this optional register specifies which lanes will carry the pattern specified in nbfibpattbuff2. 14.8.3.11 nbfibinit: nb intel ibist initialization register this register control northbound intel ibist testing. 14.8.3.12 nbibistmisc: nb intel ibist initialization miscellaneous register this register control northbound intel ibist testing. device: nodeid function: 6 offset: e4h bit attr default description 15:14 rv 00 reserved 13:0 rwst 0000h ibpatbuf2en: ibist pattern buffer 2 enable per lane enable for driving pattern buffer 2. device: nodeid function: 6 offset: f0h bit attr default description 31 rwst 0 sbidle: sb link is not active this is to enable the nb link to complete training when there is no activity on the sb side. normally nb waits for sb in it to complete before proceeding with its training. 0 - wait for sb 1 - do not wait for sb 30:21 rwst 0c8h nbts0cnt: northbound ts0 count number of ts0 sequences to transmit. 20:13 rwst 01h nbts1cnt: northbound ts1 count number of ts1 sequences to transmit. if ts1cnt[7] = 1; (ts1cnt >= 128) intel ibist will loop forever if ts1cnt[7] = 0; (ts1cnt <128) intel ibist will loop ts1cnt times 12:3 rwst 100h nbdiscnt: northbound disable state count number of cycles to remain in disable state. 2rwst 1 nbcaliben: northbound calibrating enable 1 - perform fbd calibration. 1rv 0 reserved 0rwst0 nbibistiniten: ibist initialization enable 1 - start ibist testing with northbound transmitter as the host. device: nodeid function: 6 offset: f4h bit attr default description 31 rv 00h reserved 23:20 rwst 0h ambid: value of the amb id field during ts0 19:0 rwst 61a80h nbibistcalperiod: number of cycles to drive 1 during calibration
intel? 6400/6402 advanced memory buffer datasheet 241 registers the upper bits of this register read the raw values of four of the diff fuses. the values are undefined until the fuses are burned. however the values of diff[49:46] used by other logic are forced to zeros while the fuselck fuse is zero. therefore these four fuse values only have affect after the fuses have been locked. there are ?chicken bits? which allow the bits to be controlled before the fuses are locked.
registers 242 intel? 6400/6402 advanced memory buffer datasheet
intel? 6400/6402 advanced memory buffer datasheet 243 spd bits 15 spd bits 15.1 access mechanisms the tables in this section contain the intel recomendations for the spd bits that will be pulled from the dimm?s non-volital ram and programmed into the intel 6400/6402 advanced memory buffer (amb) component. th is is done by the bios when required. there is a table for each of the raw cards that the dimm can be based on. 15.1.1 raw cards a, b, and c table 15-1. raw cards a, b, and c (sheet 1 of 2) c0 stepping d1 stepping byte 533mhz 667mhz 533mhz 667mhz description 81 0x02 0x02 0x02 0x02 fbd channel protocols supported 82 0x00 0x00 0x00 0x00 83 0x10 0x10 0x10 0x10 b2b access turn around bubble (assumes at tck) 84 0x56 0x56 0x56 0x56 cmd2data (800) 85 0x40 0x40 0x40 0x40 cmd2data (667) 86 0x36 0x36 0x36 0x36 cmd2data (533) 87 0x30 0x30 0x30 0x30 tr amb (free air jedec) 88 0x54 0x67 0x52 0x60 amb dt idle_0 89 0x6e 0x7f 0x66 0x7a amb dt idle_1 90 0x60 0x6e 0x60 0x6e amb dt idle_2 91 0x9a 0xaa 0x84 0xa1 amb dt active_1 92 0x78 0x86 0x6a 0x7f amb dt active_2 93 0x00 0x00 0x00 0x00 amb dt l0s 94 0x00 0x00 0x00 0x00 reserved (tr dram) 95 0x00 0x00 0x00 0x00 reserved (tr amb) 96 0x00 0x00 0x00 0x00 reserved (tr dram2amb) 97 0x00 0x00 0x00 0x00 reserved (tr amb2dram) 98 0x00 0x00 0x00 0x00 tjmax 99 see category-byte table for values 100 0x00 0x00 0x00 0x00 reserved 101 0x80 0x80 0x80 0x80 amb personality bytes pre-init 102 0x20 0x20 0x20 0x20 103 0x00 0x00 0x00 0x00 104 0x44 0x44 0x44 0x44 105 0x00 0x00 0x04 0x04 106 0x80 0x80 0x80 0x80
spd bits 244 intel? 6400/6402 advanced memory buffer datasheet 15.1.2 raw cards d, e, h, and j 107 0x40 0x40 0x48 0x48 amb personality bytes post-init 108 0x53 0x53 0x53 0x53 109 0x00 0x00 0x33 0x33 110 0x00 0x00 0x40 0x40 111 0x65 0x65 0x65 0x65 112 0x4c 0x4c 0x4c 0x4c 113 0x00 0x00 0x00 0x00 114 0x05 0x05 0x10 0x10 115 0x80 0x80 0x80 0x80 amb manufacturer jedec id 116 0x89 0x89 0x89 0x89 150 0x00 0x00 0x01 0x01 informal amb content revision tag (msb) 151 0x08 0x08 0x09 0x09 informal amb content revision tag (lsb) table 15-2. raw cards d, e, h, and j c0 stepping d1 stepping byte 533 mhz 667 mhz 533 mhz 667 mhz description 81 0x02 0x02 0x02 0x02 fbd channel protocols supported 82 0x00 0x00 0x00 0x00 83 0x10 0x10 0x10 0x10 b2b access turnaround bubble (assumes at tck) 84 0x58 0x58 0x58 0x58 cmd2data (800) 85 0x42 0x42 0x42 0x42 cmd2data (667) 86 0x38 0x38 0x38 0x38 cmd2data (533) 87 0x30 0x30 0x30 0x30 tr amb (free air jedec) 88 0x5e 0x71 0x5b 0x6a amb dt idle_0 89 0x76 0x89 0x71 0x84 amb dt idle_1 90 0x60 0x6e 0x60 0x6e amb dt idle_2 91 0xa6 0xb6 0x92 0xaf amb dt active_1 92 0x84 0x92 0x71 0x8b amb dt active_2 93 0x00 0x00 0x00 0x00 amb dt l0s 94 0x00 0x00 0x00 0x00 reserved (tr dram) 95 0x00 0x00 0x00 0x00 reserved (tr amb) 96 0x00 0x00 0x00 0x00 reserved (tr dram2amb) 97 0x00 0x00 0x00 0x00 reserved (tr amb2dram) 98 0x00 0x00 0x00 0x00 tjmax 99 see catecategory-byte table for values 100 0x00 0x00 0x00 0x00 reserved table 15-1. raw cards a, b, and c (sheet 2 of 2) c0 stepping d1 stepping byte 533mhz 667mhz 533mhz 667mhz description
intel? 6400/6402 advanced memory buffer datasheet 245 spd bits 15.1.3 category byte 99 note: *airflow impedance value is the result of air flow resistance measurements and bin bands defined by fbdimm customers (contact your customer for measurement me thod/setup if you want to program known air flow impedance values otherwise program to the b00 default.) 101 0x80 0x80 0x80 0x80 amb personality bytes pre-init 102 0x20 0x20 0x20 0x20 103 0x00 0x00 0x00 0x00 104 0x44 0x44 0x44 0x44 105 0x03 0x03 0x04 0x04 106 0x80 0x80 0x80 0x80 107 0x48 0x48 0x48 0x48 amb personality bytes post-init 108 0x53 0x53 0x53 0x53 109 0x00 0x00 0x31 0x31 110 0x00 0x00 0x40 0x40 111 0x65 0x65 0x65 0x65 112 0x4c 0x4c 0x4c 0x4c 113 0x00 0x00 0x00 0x00 114 0x05 0x05 0x10 0x10 115 0x80 0x80 0x80 0x80 amb manufacturer jedec id 116 0x89 0x89 0x89 0x89 150 0x00 0x00 0x01 0x01 informal amb content revision tag (msb) 151 0x08 0x08 0x09 0x09 informal amb content revision tag (lsb) table 15-3. category bytej raw card airflow impedance* dram type heat spreader type byte 99 value [7:6] value [5:3] value [2:0] binary hex a unknown 00 planar 001 amb only 001 b00001001 0x09 a unknown 00 planar 001 full dimm 010 b00001010 0x0a b unknown 00 planar 001 amb only 001 b00001001 0x09 b unknown 00 planar 001 full dimm 010 b00001010 0x0a c unknown 00 planar 001 amb only 001 b00001001 0x09 c unknown 00 planar 001 full dimm 010 b00001010 0x0a d/j unknown 00 stacked 011 amb only 001 b00011001 0x19 d/j unknown 00 stacked 011 full dimm 010 b00011010 0x1a d/j unknown 00 dual die 010 amb only 001 b00010001 0x11 d/j unknown 00 dual die 010 full dimm 010 b00010010 0x12 e/h unknown 00 planar 001 amb only 001 b00001001 0x09 e/h unknown 00 planar 001 full dimm 010 b00001010 0x0a table 15-2. raw cards d, e, h, and j c0 stepping d1 stepping byte 533 mhz 667 mhz 533 mhz 667 mhz description
spd bits 246 intel? 6400/6402 advanced memory buffer datasheet
intel? 6400/6402 advanced memory buffer datasheet 247 glossary a glossary a.1 terms and definitions term definition adc analog to digital converter amb advanced memory buffer apm autonomous platform manager ate automatic test equipment bist built-in self-test bl4/bl8 dram burst length 4/8 cas column address strobe cbc chip boot configuration chip disable an ecc encoding specifically tailo red for memory such that the data from any defective memory device can be reconstructed from some aggregate of surviving memory devices. corrects data from failed device. the amb employs an ?x8? ecc, which means that all data fr om a partially or completely failed 8-bit device can be recovered without stopping the system. this same ecc provides the same level of coverage for 4-bit (?x4?) devices. crc cyclic redundancy code(s). usually in reference to binary error detection algorithms. csr configuration and status register(s) ddr double data rate (sdram) ddr branch the minimum aggregation of ddr channels which operate in lock-step to support error correction. two channels per branch supports x8 chip disable ecc. a rank spans a branch. ddr channel a ddr channel consists of a data channel with 72 bits of data and an addr/ cntrl channel ddr data channel a ddr data channel consists of 72 bits of data, divided into 18 data groups ddr data group each data group consists of 4 data signals and a differential strobe pair dfx design for test/manufacturability/validation dfv design for validation dimm dual in-line memory module. a packag ing arrangement of memory devices on a socketable substrate. dimm slot receptacle (socket) for a dimm. also, th e relative physical location of a specific dimm on a ddr channel. dimm stack dual-ranked x4 dram dimm physical topology: refers to two physical rows of dram ?stacked? one above another dll delay locked loop dpm defects per million dram dynamic random access memory dram page (row) the dram cells selected by the row address ecc error correction code. for the amb, this is a chip disable code. eeprom electrically erasable programmable read only memory emask, emask error mask
glossary 248 intel? 6400/6402 advanced memory buffer datasheet em electromagnetic emi electromagnetic interference fbd fully-buffered dimm fbd channel combination of 10 lane southbound links and 13 or 14 lane northbound links that make up a logical memory channel from host perspective fbdimm fully-buffered dimm ferr first error fifo first-in, first-out. usually in reference to a buffer implementation. frame group of bits containing commands or data fsm finite state machine hcsl high-speed current steering logic host memory controller agent on an fbd channel ibist interconnect built-in self-test (built-in interconnect test) i/o input output. usually in reference to a bidirectional buffer cell or circuit. isi inter symbol interference ? see section ?initialization / clocking? for definition jedec jedec solid state technology association (once known as the joint electron device engineering council) jesd79 jedec standard 79, ddr sdram specification jtag joint test action group. usually in reference to the ieee 1149.1a boundary scan test standard. la logic analyzer lai logic analyzer interface lane differential pair of receivers or transmitters lfsr linear feedback shift register. usually in reference to pseudo-random bit- stream data. link high speed parallel differential point-to-point interface mc memory interface control (block) membist memory built-in self-test mesochronous small ppm frequency difference. mtbf mean time between failures mt/s mega transfers per second nack not-acknowledge. usually in reference to smbus communications. nb northbound nbi northbound interface. (also: northbound link control logic) nerr next/subsequent error northbound the direction of signals running from the furthest dimm toward the host. odt on-die termination page replace aka page miss, row hit / page miss an access to a row that has another page open. the page must be transferred back from the sense amps to the arra y, and the bank must be precharged. page hit an access to an open page, or dram row. the data can be supplied from the sense amps at low latency. page miss (empty page) an access to a page that is not buffered in sense amps and must be fetched from dram array. pec packet error code plesiochronous having the same frequency but arbitrary phase differences. pll phase locked loop term definition
intel? 6400/6402 advanced memory buffer datasheet 249 glossary por plan of record primary in the direction towards the host controller pth plated through-hole pvt process, voltage and temperature rank a dimm is organized as one or two physical sets of memory, called ranks. note that single rank or dual rank is differe nt from single-sided or double-sided, for example, a single rank dimm build from x4 dram devices is actually double- sided. it is also common practice to distribute the 9 devices of an x8 dimm between both sides of the dimm to enhance the thermal performance of the module. the standard 4-slot ddr2 topolo gy is limited to single rank dimm due to loading constraints. ras reliability, availability, serviceability . (also: row address strobe - meaning is context dependent.) resample a resampler is a serial data in and se rial data out node that attenuates jitter by regenerating the serial data using a cl ock recovered from the incoming data stream derived from a common referenc e clock. it also resets the voltage budget of the retransmitted data. resync a resync repeater is a serial data in and serial data out node that resynchronizes data to a local clock after it has been sampled with a recovered clock derived from a common reference clock. the local clock is also generated from the same reference clock by a pll multiplier. a drift compensation buffer is inserted between the two clock domains which ab sorbs the maximum link delay change over worst case voltage and temperature changes. both the jitter and voltage budgets for the retransmitted data are reset. rpd return path discontinuity sb southbound sbi southbound interface. (also: southbound link control logic) sdr single data rate sdram synchronous dynamic random access memory secondary in the direction away from the host controller seed, seed the starting or ?seed? value used to algorithmically generate pseudo-random data. usually in reference to a lfsr implementation. serial present detect (aka smbus protocol a 2-signal serial bus used to read and write control registers in the amb and sdram si signal integrity smbus, smbus system management bus. mastered by a system management controller to read and write configuration registers. limited to 100 khz. southbound the direction of signals running fr om the host controller toward the dimms. spd serial presence detect. usually in reference to the serial rom on a socketable dimm which contains information specific to the unit. spof single point of failure ssc spread spectrum clocking. usually used to lower average em emissions. sso simultaneously switching outputs sstl_18 series stub terminated logic for 1.8 v throttled temporarily prohibiting memory accesse s when a thermal or electrical limit has been reached. transparent mode high speed fbd linked i/os are bypassed with lower speed cmos i/os to allow lower speed tester to contro l and test drams on the dimm. unit interval average time interval be tween voltage transitions of a signal vco voltage controlled oscillator v ddq i/o buffer voltage for ddr2 buffers. nominally 1.8 v v ss ground (0.0 v) term definition
glossary 250 intel? 6400/6402 advanced memory buffer datasheet


▲Up To Search▲   

 
Price & Availability of 313072-002

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X