[source]

Package mem

This package holds all component declarations, types and functions of the PoC.mem <NS: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

mem_FileExtension(string Filename)
Parameters:

Filename (string)

mem_ReadMemoryFile(string FileName, positive MemoryLines, positive BitsPerMemoryLine, T_MEM_FILEFORMAT FORMAT, T_MEM_CONTENT CONTENT = MEM\_CONTENT\_HEX)
Parameters:
Return type:

T_SLM