[source]

Package FileIO

Exploring the options for providing a more convenient API than std.textio. Not yet recommended for adoption as it depends on the VHDL generation and still is under discussion.

Open problems:
  • verify that std.textio.write(text, string) is, indeed, specified and

    that it does not print a trailing newline

    -> would help to eliminate line buffering in shared variables

  • move C_LINEBREAK to my_config to keep platform dependency out?

Constants

Name

Value

Description

C_LINEBREAK

Constant declarations

Types

Name

Description

T_LOGFILE_OPEN_KIND

Functions

LogFile_IsOpen()

Procedures

LogFile_Open(string FileName, T_LOGFILE_OPEN_KIND OpenKind = WRITE\_MODE)
Parameters:
LogFile_Open(FILE_OPEN_STATUS Status, string FileName, T_LOGFILE_OPEN_KIND OpenKind = WRITE\_MODE)
Parameters:
LogFile_Print(string str)
Parameters:

str (string)

LogFile_PrintLine(string str = \"\")
Parameters:

str (string)

LogFile_Flush()
LogFile_Close()
StdOut_Print(string str)

StdOut

param string str:

StdOut_PrintLine(string str = \"\")
Parameters:

str (string)

StdOut_Flush()