Hi All,
I have implemented an example project containing floating point operator as adder. I am giving constants (via constant block) as two input operands and I am reading the results from output port via AXI DMA block as the output of Floating point operator is stream.
But the problem is I am not getting any output from floating point operator.
The code in main looks like
int main(){
init_platform();
ps7_post_config();
xil_printf("Initializing the DMA
r");
InitializeAXIDma();
//Set the interrupt system and interrupthandling
//Interrupt
xil_printf("enabling the interrupt handling system..
r");
InitializeInterruptSystem(XPAR_PS7_SCUGIC_0_DEVICE_ID);
result[0]=1;
//Start the first Dma Transfer
xil_printf ("Performing the first dma transfer...press a key to begin..
r");
getchar();
// int ans=Xil_In32(XPAR_AXI_GPIO_0_BASEADDR);
StartDMATransfer (&result[0], 4);
return 0;
}
Is there a problem in my way of giving operands i.e via 32 bit Constant blocks in Block Design and I have also set the valid input of Floating point operator via single bit constant?
It will be great if some one can also direct me to tutorial or example design