Forum Discussion
Altera_Forum
Honored Contributor
16 years agoFile IO Read
I have a text file to read. I manage to read it. i intends to have zero value of fixed point(a variable) after end reading. However, i fail to do it. It keeps to take the last value in the text file. I have no idea why i cant. I have attached a simple testbench and a file to be read. Pls suggest some solution to me.
thanks a lot.1 Reply
- Altera_Forum
Honored Contributor
I am Sorry. It is just syntax error. After removing the ";" on the always @(posedge clk_100M); , it works fine d.
thanks