VHDL provides a package of utility types, file objects, procedures.
VHDL Strives to be a portable language. The file interface is simple
and the LRM does not
describe how to impliment physical files so exact details mary vary
by product.
example..
function endfile ( file f : file_type ) return
boolean ;
...
While not( endfile ( p_file ) loop
Example:
...
For i in p'range loop
...
procedure file_open ( p_file,
Useful utilities for processing text files.
Type Line is access String;
Type Side is ( Right, Left );
Subtype Width is Natural;
Output : Text is out "Std_Output"; --usually mapped to console
procedure Read ( L : inout; Value : out; |Good : out Boolean| );
Read is an Overloaded Procedure Where Value May be of Type:
procedure Write ( L : inout;..
Write is an Overloaded Procedure Where Value May be of Type:
Begin
Begin