V
veeru
Guest
Hello,
I am writing code for text compression in verilog.
I am struck at initial phase.
How can i read a long text file in verilog , other than using the
{readmemh} statement.
because it has the limitation of perticular memory size.but I want to
read a text file of 156kB.
I used the c=$fgetc( fp) statement but it is showing error that
Name 'fgetc' could not be resolved
Illegal right hand side of blocking assignment
Please give some suggestion
Thanks
Sagar
I am writing code for text compression in verilog.
I am struck at initial phase.
How can i read a long text file in verilog , other than using the
{readmemh} statement.
because it has the limitation of perticular memory size.but I want to
read a text file of 156kB.
I used the c=$fgetc( fp) statement but it is showing error that
Name 'fgetc' could not be resolved
Illegal right hand side of blocking assignment
Please give some suggestion
Thanks
Sagar