Skip to content

MEM-8 DDR ZQ pin without its 240 Ω to VSS

Severity Status Implementation
error runs in better_erc easy, depends on netlist, IMP-6

Data it needs: graph, part classes, values, rails.

Looks at. DRAM and controller ZQ pins, resistor value.

What it catches. A ZQ pin on a DDR3/3L/4 or LPDDR DRAM (or on the controller) that has no resistor, a wrong value, a resistor to a supply instead of VSS, or one resistor shared by several ZQ pins.

Why it matters. The DRAM calibrates its output drivers and on-die termination against the external resistor at ZQ. Without it, or with the wrong one, drive strength and ODT come out at whatever the calibration converges to: overshoot, eye closure and read errors that change with temperature. A shared resistor makes the calibration cycles of two dies interfere.

Example. Two MT41K256M16 (DDR3L, 16-bit) on one controller with their ZQ pins joined to one 240 Ω: the schematic looks complete, but each die calibrates against a resistor the other is also loading during its own ZQCL cycle.

How to check. For each pin named ZQ (ZQ0, ZQ1, DDR_ZQ) on a DRAM or memory controller: exactly one resistor to ground, value 240 Ω (IMP-6 parses it), 1 % if tolerance is known, not shared with another ZQ pin.

Fix. One 240 Ω 1 % resistor from each ZQ pin to VSS, close to the pin.

References. SPRABI1 §3.3.4 (240 Ω ≤ 1 %, dedicated per SDRAM, "cannot share pins"); AN5692 §4.4 (240 Ω ±1 % on each DDR and on the device), §5.2 (LPDDR⅔); JESD79-3.

Settings

Set them in the project file under [checks."MEM-8"], or for one run with --set MEM-8.NAME=VALUE.

Setting Default Meaning
MEM-8.zq_resistance 240 ohm the ZQ calibration resistor
MEM-8.tolerance 0.01 how far the ZQ resistor may be from its value, and the tolerance it must have where its value states one, as a fraction

Test schematics

Each schematic below is in test_schematics/sources. The block under it is what berc check --only MEM-8 reports on it.

mem-8_ddr_zq

The test schematic mem-8_ddr_zq The test schematic mem-8_ddr_zq

  error      MEM-8 #xjt     ZQ U2.3 (ZQ) R2 goes to +1V35, not VSS: drive strength and on-die termination calibrate against the wrong reference
                            net /ZQ2, part R2, pin U2.3
                            zq_resistance = 240 Ω (derived MEM-8 default)
                            tolerance = 0.01 (derived MEM-8 default)
                            fix: one 240 Ω 1 % resistor from each ZQ pin to VSS, close to the pin
  error      MEM-8 #0dz     ZQ U3.3 (ZQ) shares its resistor with U4.3 (ZQ): drive strength and on-die termination calibrate against the wrong reference
                            net /ZQ34, part R3, pin U3.3
                            zq_resistance = 240 Ω (derived MEM-8 default)
                            tolerance = 0.01 (derived MEM-8 default)
                            fix: one 240 Ω 1 % resistor from each ZQ pin to VSS, close to the pin
  error      MEM-8 #95n     ZQ U4.3 (ZQ) shares its resistor with U3.3 (ZQ): drive strength and on-die termination calibrate against the wrong reference
                            net /ZQ34, part R3, pin U4.3
                            zq_resistance = 240 Ω (derived MEM-8 default)
                            tolerance = 0.01 (derived MEM-8 default)
                            fix: one 240 Ω 1 % resistor from each ZQ pin to VSS, close to the pin
  error      MEM-8 #q00     ZQ U5.3 (ZQ) R5 is 220 Ω, not 240 Ω: drive strength and on-die termination calibrate against the wrong reference
                            net /ZQ5, part R5, pin U5.3
                            zq_resistance = 240 Ω (derived MEM-8 default)
                            tolerance = 0.01 (derived MEM-8 default)
                            fix: one 240 Ω 1 % resistor from each ZQ pin to VSS, close to the pin
  error      MEM-8 #gtz     ZQ U7.3 (ZQ) R7 is ±5 %, not ±1 %: drive strength and on-die termination calibrate against the wrong reference
                            net /ZQ7, part R7, pin U7.3
                            zq_resistance = 240 Ω (derived MEM-8 default)
                            tolerance = 0.01 (derived MEM-8 default)
                            fix: one 240 Ω 1 % resistor from each ZQ pin to VSS, close to the pin
  error      MEM-8 #8zq     ZQ U8.3 (ZQ) is connected to nothing: drive strength and on-die termination calibrate against the wrong reference
                            pin U8.3
                            zq_resistance = 240 Ω (derived MEM-8 default)
                            tolerance = 0.01 (derived MEM-8 default)
                            fix: one 240 Ω 1 % resistor from each ZQ pin to VSS, close to the pin