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:
parent
8a666936f3
commit
e2388c02d7
2 changed files with 6 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue