praveenvanaparthy
Newbie level 6
hi ..
i have a problem of read&write text/doc files in verilog.
i want to read in.txt file and write the data into out.txt .
am using $readmemb("in.txt",w);
and $fopenr("in.txt");
and for writing i open a file=$fopen("out.txt");
the program shows errors.
am write one separate prog for reading, its working.
but i didn't get how to write the same data into other file.
could you give some suggestions and examples.
i have a problem of read&write text/doc files in verilog.
i want to read in.txt file and write the data into out.txt .
am using $readmemb("in.txt",w);
and $fopenr("in.txt");
and for writing i open a file=$fopen("out.txt");
the program shows errors.
am write one separate prog for reading, its working.
but i didn't get how to write the same data into other file.
could you give some suggestions and examples.