Skip to content

Instantly share code, notes, and snippets.

@edcote
Last active April 9, 2018 16:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save edcote/51626c119151c8ec9fe36b39c38231ba to your computer and use it in GitHub Desktop.
Save edcote/51626c119151c8ec9fe36b39c38231ba to your computer and use it in GitHub Desktop.
Lattice IPexpress

DDR3 SDRAM Controller

  1. Click IP server, wait until list of IP modules load
  2. Select version 3.1, right click install, install under /mnt/raid/ip/ecp3/
  3. Configure and select project path as src/main/resources/ecp3, file name = ip_ddr3_sdram, device = LFE3-35EA-8FN484C

DRAM part numbering guide

Datasheet

MT  41  J  64M16  JT  -15  E  :G
    ^^ DDR3 SDRAM
        ^ 1.5V
           ^^^^^ depth, width (64 M x 16) -> 8 Meg x 16 x 8 banks
                      ^^^ speed grade --> 1333 MT/s, tRCD-tRP-CL 9-9-9, tRCP = 13.5ns tRP=13.5ns, CL = 15ns (+ backward compt.  to 1066, CL=7)
  • Micron DDR3 1Gb-05E FBGA -> D9MNJ Part Number -> MT41J64M16JT-15E:G
  • Mem clock: 400 MHz
  • Type: On-board memory
  • Memory bus size: 16
  • Configuration: 8 M x 16 x 8 banks
  • Refresh count: *k
  • Row addressing: 8K (A[12:0]), A10 is AP
  • Bank addressing: 8 (BA[2:0]) -- DDR3 always have 8 banks?
  • Column addressing: 1K (A[9:0])
  • Page size: 2KB

Total bits = 2^13 (rows) + 2^10 (cols) x 2^3 (banks) x 2^4 bits (width) = 2^30 (bits) -> 2^30 -> 1 Gibit (or Gb)

PCIe Endpoint

  1. Click IP server, wait until list of IP modules load
  2. Select version 6.5, right click install, install under /mnt/raid/ip/ecp3/
  3. Configure and select project path as src/main/resources/ecp3, file name = ip_pcie_ep, device = LFE3-35EA-8FN484C
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment