04-20-2011 06:52 AM
I need some help regarding the NPI interface:
If I would like to write to address 0xa0000000 (as it can be seen from MB_plb), I need to use the 0xa0000000, or 0x0 for NPI addr?
The NPI data width is 64.
32 word burst (0x4 type), bottom 7 bits are always zero.
Thank you for your help in advance!
PARAMETER INSTANCE = DDR2_SDRAM
PARAMETER HW_VER = 6.01.a
PARAMETER C_MEM_PARTNO = MT4HTF6464H-667
PARAMETER C_PIM1_BASETYPE = 4
PARAMETER C_PIM2_BASETYPE = 4
PARAMETER C_NUM_PORTS = 3
PARAMETER C_USE_MIG_FLOW = 0
PARAMETER C_MPMC_CLK0_PERIOD_PS = 8000
PARAMETER C_MEM_CLK_WIDTH = 2
PARAMETER C_MEM_CE_WIDTH = 2
PARAMETER C_MEM_ODT_WIDTH = 2
PARAMETER C_MEM_CS_N_WIDTH = 2
PARAMETER C_MPMC_BASEADDR = 0xA0000000
PARAMETER C_MPMC_HIGHADDR = 0xBFFFFFFF
BUS_INTERFACE SPLB0 = mb_plb
04-20-2011 03:55 PM
Use the 0xA0000000 address. However, in this case it shouldnt matter, there is no address decode occuring, only the lower bits should be actually used. Don't forget there is endian-swapping when accessing between NPI and PLB.