It is important to configure the simulation to exercise the system to real, but worst case parameters.
- Use the worst-case bit pattern to excite the system. The simulator should be able to generate the worst-case bit pattern based on channel characterization.
- Select the controller and DRAM models (sets the drive strength, ODT, VOH levels, and so forth) from the IBIS files which work best for the system.
- Selection of DRAM model setting is typically an iterative process.
- Every system is unique and the optimal settings for these parameters can vary from system to system.
Table 3-1 Example Data Write ODI/ODT OptimizationPkg Byte | Board | ODI Ω | ODT Ω | Total EW Margin (ps) | Total EH Margin (mV)B |
---|
B3 | J7 370HR 10L Ref B3, No BD | 40 | 40 | 50.28 | 15.66 |
B3 | J7 370HR 10L Ref B3, No BD | 40 | 48 | 27.62 | 11.76 |
B3 | J7 370HR 10L Ref B3, No BD | 40 | 40 | 33.52 | 2.92 |
B3 | J7 370HR 10L Ref B3, No BD | 48 | 48 | 1.54 | 0.86 |
- Data bus and address bus ODT and drive strength values can be set independently. As an example, the J721E EVM used 40-Ω ODT for data read/writes and 80-Ω for CA bus. Drive strength of 40-ohms for data read/write and CA.
- Data READ Controller model - lpddr4_odt_40, lpddr4_odt_40_diff
- Data WRITE Controller model - lpddr4_ocd_40p_40n, lpddr4_ocd_40p_40n_diff
- CA/CLK Controller model - lpddr4_ocd_40p_40n, lpddr4_ocd_40p_40n_diff
- Set up the channel simulation parameters. These typically consists of the data rate, ignore time/bits, minimum number of bits, bit sampling rate, BER floor, number of bits for display, types of BER eyes (voltage and/or timing), and target BER.
- To determine the minimum number of bits one can run a series of channel simulations with different number of bits. The BER signal eye (and margins) tend to converge after a certain minimum number of bits. This should help determining the minimum number of bits to be used for the system.
- Run channel simulations to generate the eye diagrams at LBER of -16.
- Run channel simulations with non-ideal power settings at different PVT corners. It is recommended to run the simulations at least at the SSHT and FFLT corners.