Forum Discussion
matif
Occasional Contributor
7 years agoCode output on putty not correct?
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <stdint.h>
#include <fcntl.h>
#include <sys/mman.h>
#include <sys/types.h>
#include <sys/stat.h>
#include "C:\altera\15.1\embedde...
YoshiakiS_Altera
Occasional Contributor
7 years agoHi,
Did you try ‘memtool’ below?
https://gist.github.com/mike0/2910170
It is simple memory read/write program on Linux, and it also works fine on Cyclone V SoC.
- matif7 years ago
Occasional Contributor
@YS11 Thank you so much for your reply. Just one more question, do you have any tutorial or resource on how to write a Linux application that can read or write from a FIFO on FPGA side? I have made FIFO in FPGA, everything is fine and working, I just dont know how do I write C application that can read or write data to this FIFO? I shall be really grateful to you if you can please suggest me something?