T
Tony Benham
Guest
I'm tring to read/write bytes from a binary file in a modelsim simulation.
I've checked back over many posts and the FAQ which say it is possible by
opening a file of type CHARACTER, and using READ(f,c) to read the data into
a CHARACTER. However I couldn't find one actual example of method detailed
any further. When I try to implement it myself I get "No feasible entries
for subprogram read"
I don't want to use ascii as I'm working with large files (3MB) so can
anyone point in the direction of a code fragment that actually show how to
implement this method ?
Regards
Tony Benham
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.611 / Virus Database: 472 - Release Date: 05/07/2004
I've checked back over many posts and the FAQ which say it is possible by
opening a file of type CHARACTER, and using READ(f,c) to read the data into
a CHARACTER. However I couldn't find one actual example of method detailed
any further. When I try to implement it myself I get "No feasible entries
for subprogram read"
I don't want to use ascii as I'm working with large files (3MB) so can
anyone point in the direction of a code fragment that actually show how to
implement this method ?
Regards
Tony Benham
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.611 / Virus Database: 472 - Release Date: 05/07/2004