Success! Subscription added.
Success! Subscription removed.
Sorry, you must verify to complete this action. Please click the verification link in your email. You may re-send via your profile.
The LPDDR2 standard uses a double data rate command and address bus which replpaces the #CAS, #RAS. #WE, BA and A vectors which are used for previous DRAM standards. I made this simple decoder to decode the command and the rsulting address from the 10-bit LPDDR2 CA bus. The decoder only decodes LPDDR2-SX (SDRAM) commands and not LPDDR2-N (NVM).
The files for the decoder may be downloaded from here: File:Lpddr2 ca decoder.zip
The decoder is VHDL. The inputs are connected to the same inputs as the LPDDR2 memory component that you want to monitor in your testbench. The ports are listed below:
Signal | Direction | Description |
---|---|---|
mem_ck | in | Memory clock. This signal should be connected to the same signal as CK input on the LPDDR2 memory that is being monitored. |
mem_ca[9:0] | in | Memory CA. This signal should be connected to the same signal as CA0 - CA9 inputs on the LPDDR2 memory that is being monitored. |
command | out | Enumerated type which shows the command which is valid for the current clock cycle. This is valid on the falling edge of mem_ck. The symbols match those used in section 3.2 of JESD209-2E |
bank_add | out | Bank address. This is updated on Activate, Write, Read and Precharge commands. |
row_add | out | Row address. This is updated on Activate commands. |
col_add | out | Column address. This is updated on Write and Read commands. |
auto_pre | out | Auto Precharge. This is updated on Read and Write commands. |
mod_add | out | Mode Register address. This is updated on MRW and MRR commands. |
mod_op | out | Mode Register data. This is updated on MRW and MRR commands. |
The decoder makes use of the lpddr2_ca_decoder_types.vhd package which is included in the zip archive.
External Links
External memory, LPDDR2, EMIF, Low Power DDR2, EMI
Community support is provided Monday to Friday. Other contact methods are available here.
Intel does not verify all solutions, including but not limited to any file transfers that may appear in this community. Accordingly, Intel disclaims all express and implied warranties, including without limitation, the implied warranties of merchantability, fitness for a particular purpose, and non-infringement, as well as any warranty arising from course of performance, course of dealing, or usage in trade.
For more complete information about compiler optimizations, see our Optimization Notice.