devcfg: Modified the examples for regression test suite

Added test PASS/FAIL information
Modified the bitstream file size to 0xF6EC0

Signed-off-by: Punnaiah Choudary Kalluri <punnaia@xilinx.com>
Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
This commit is contained in:
Punnaiah Choudary Kalluri 2014-08-01 23:21:43 +05:30 committed by Jagannadha Sutradharudu Teki
parent 8a666936f3
commit e2388c02d7
2 changed files with 6 additions and 2 deletions

View file

@ -99,7 +99,7 @@
* indicating that this is the last DMA transfer (and the only one).
*/
#define BIT_STREAM_LOCATION 0x00400001 /* Bitstream location */
#define BIT_STREAM_SIZE_WORDS 0xB0C50 /* Size in Words (32 bit)*/
#define BIT_STREAM_SIZE_WORDS 0xF6EC0 /* Size in Words (32 bit)*/
/*
* SLCR registers
@ -160,9 +160,11 @@ int main(void)
Status = XDcfgInterruptExample(&IntcInstance, &DcfgInstance,
DCFG_DEVICE_ID, DCFG_INTR_ID);
if (Status != XST_SUCCESS) {
xil_printf("Dcfg Interrupt Example Test Failed\r\n");
return XST_FAILURE;
}
xil_printf("Successfully ran Dcfg Interrupt Example Test\r\n");
return XST_SUCCESS;
}

View file

@ -91,7 +91,7 @@
* indicating that this is the last DMA transfer (and the only one).
*/
#define BIT_STREAM_LOCATION 0x00400001 /* Bitstream location */
#define BIT_STREAM_SIZE_WORDS 0xB0C50 /* Size in Words (32 bit)*/
#define BIT_STREAM_SIZE_WORDS 0xF6EC0 /* Size in Words (32 bit)*/
/*
* SLCR registers
@ -143,9 +143,11 @@ int main(void)
*/
Status = XDcfgPolledExample(&DcfgInstance, DCFG_DEVICE_ID);
if (Status != XST_SUCCESS) {
xil_printf("Dcfg Polled Example Test Failed\r\n");
return XST_FAILURE;
}
xil_printf("Successfully ran Dcfg Polled Example Test\r\n");
return XST_SUCCESS;
}