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 agoAre you sure the atol() conversion is performed correctly? I mean, is the value assigned to data different from zero ?
I'd also put buffer[4]=0 in order to correctly terminate the string chunk.