Forum Discussion
Altera_Forum
Honored Contributor
13 years agoWriting Char to On-Chip FIFO
I am trying to take a char array and send it trough a FIFO. but the On-Chip FIFO only accepts alt_u32 as data and i cannot send my data correctly. here is code that i am using to try and send the ch...
Altera_Forum
Honored Contributor
13 years agoDon't you just want:
data = *(int *)(echoBuffer + i); which will be ok provided echoBuffer is 4 byte aligned.