Forum Discussion
Altera_Forum
Honored Contributor
12 years agoyou are right. The error is: "Attempt to read past the end of file." In my code the inputvariable is called Macoutput, because the MAC inteface extract 8 bit for clock cycle. Every 96 ns I begin to extract the first 8 bits of a Payload which is - in my case - 64 bit long. Then they are saved in eight registers and finally a fifo is filled. But these are details. The important thing is that the simulation should go on when the read file is at the eof.