[source]

Package mem

This package holds all component declarations, types and functions of the PoC.mem namespace.

It provides the following enumerations:

  • T_MEM_FILEFORMAT specifies whether a file is in Intel Hex, Lattice Mem, or Xilinx Mem format.

  • T_MEM_CONTENT specifies whether data in text file is in binary, decimal or hexadecimal format.

It provides the following functions:

  • mem_FileExtension returns the file extension of a given filename.

  • mem_ReadMemoryFile reads initial memory content from a given file.

Types

Name

Description

T_MEM_FILEFORMAT
T_MEM_CONTENT

Functions

virtual function string mem_FileExtension ( string Filename ) [source]
virtual function T_SLM mem_ReadMemoryFile ( string FileName, positive MemoryLines, positive BitsPerMemoryLine, T_MEM_FILEFORMAT FORMAT, T_MEM_CONTENT CONTENT ) [source]