Commit 19c73f96 authored by Michael J. Lyons's avatar Michael J. Lyons

Merge branch 'xps_proj' of github.com:mjlyons/vSPI into xps_proj

parents 99e6df56 75a11566
......@@ -140,6 +140,8 @@ int main()
void SpiifcPioTest()
{
int i = 0;
xil_printf("Testing Spiifc PIO...\n");
// PIO Write to Spiifc memmap regions
......@@ -169,6 +171,14 @@ void SpiifcPioTest()
} else {
xil_printf("[FAIL] (actual=0x%08X)\n", *pMisoBase);
}
for (i = 0; i < 16; i++) {
pSpiifcBase[i] = (i << 24) | (i << 16) | (i << 8) | i;
}
for (i = 0; i < 16; i++) {
xil_printf("Reg%d=0x%08x\n", i, pSpiifcBase[i]);
}
xil_printf("\n");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment