Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers

File IO Read

Altera_Forum
Honored Contributor II
1,014 Views

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.
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
323 Views

I am Sorry. It is just syntax error. After removing the ";" on the always @(posedge clk_100M); , it works fine d. 

 

thanks
0 Kudos
Reply