Visible to Intel only — GUID: fsg1554100824112
Ixiasoft
1.1. Features
1.2. Hardware and Software Requirements
1.3. Design System Architecture Overview
1.4. Dynamic Reconfiguration Overview
1.5. PHY Lite Per-Bit Overview
1.6. Compiling the Reference Design
1.7. Hardware Testing
1.8. Document Revision History for AN 887: PHY Lite for Parallel Interfaces Reference Design with Dynamic Reconfiguration for Intel® Arria® 10 Devices
1.9. Appendix A: HiLo Loopback Card Pin Connections
1.10. Appendix B: Retrieving Lane and Pin Information
1.11. Appendix C: Decoding Parameter Table
Visible to Intel only — GUID: fsg1554100824112
Ixiasoft
1.10. Appendix B: Retrieving Lane and Pin Information
Information about each IP instance is stored in the I/O SSM named as parameter table.
You can access the parameter table via Avalon® interface at the base address offset 0xE000. The global parameter table lists all interfaces in the I/O column. Once the lane and pin addresses of the target PHY Lite for Parallel Interfaces interface is captured, the target pin can get reconfigured by Read/Write through calibration address offset of 0x80000. The base address offset, parameter table size offset, and interface offset are fixed, as defined in an algorithm shown in the following figure:
Figure 26. Flow Chart of Reading Parameter Table
The code block below is written in Nios® II processor to read out the parameter table as shown in Figure 27.
#define BASE_ADDR 0xE000
#define PT_SIZE_PTR 0x0000014
#define ADDR_OFFSET 0x0000018
void Read_Param_table()
{
int delay = -1;
int addr_offset = -1;
unsigned int size = 0;
unsigned int value = 0;
int i;
addr_offset = IORD32(BASE_ADDR+ADDR_OFFSET);
printf("Reading Addr Offset from Param Table: %08x\n\n",addr_offset);
size = IORD32(BASE_ADDR+PT_SIZE_PTR);
printf("Param Table size is %08x:\n", size);
printf("\nParam Table:\n");
for (addr=0x0; addr < size+1; addr += 4) {
value = IORD32(BASE_ADDR+addr);
printf("%d\t%03x\t0x%08x\n",addr,value);
}