cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
dpeti
Visitor
Visitor
2,785 Views
Registered: ‎10-05-2007

NPI write address question

Hi there,

 

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!

 

Regards,

Peter

 

---

MHS:

 

 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

 

 

0 Kudos
2 Replies
dylan
Xilinx Employee
Xilinx Employee
2,769 Views
Registered: ‎07-30-2007

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.

dpeti
Visitor
Visitor
2,762 Views
Registered: ‎10-05-2007

Thank you!

0 Kudos