I'd like to create a verilog-ams model. It needs read data from a text file with $fscanf command. After the last line of the file is read, a signal will given. How to detect EOF when read a file with $fscanf?
↧
I'd like to create a verilog-ams model. It needs read data from a text file with $fscanf command. After the last line of the file is read, a signal will given. How to detect EOF when read a file with $fscanf?