21.10.23 set_data_storage_client

Description

This Tcl command is added to the uprom.cfg file, which will then be given as the parameter to the configure_uprom command.

set_data_storage_client -client_name {name} \
                        -number_of_words {number} \
                        -content_type {MEMORY_FILE | STATIC_FILL} \
                        -memory_file_format {Microsemi-Binary} \
                        -memory_file {path} \
                        -base_address {hexadecimal_string} \
                        -use_for_simulation {0}

Arguments

ParameterTypeDescription
client_namestringThe name of the client. Must start with an alphabetic letter. Underscores and numerals are allowed at all positions other than the first.
number_of_wordsintegerThe size of the client specified in number of words.
content_typestringSource of data for the client. This can either be a memory file, or all zeros. Allowed values are MEMORY_FILE or STATIC_FILL.
  • MEMORY_FILE - content memory file must be specified.
  • STATIC_FILL - client memory will be filled with 1s, no content memory file.
memory_file_formatstringOnly ‘Microchip-Binary’ is supported at this time.
memory_filestringPath of the memory file. This can be absolute, or relative to the project.
base_addresshexadecimalHexadecimal address where the first byte of user data will be placed.
use_for_simulationbooleanOnly value 0 is allowed.
Return TypeDescription
NoneNone

Error Codes

Error CodeDescription
NoneNone

Supported Families

PolarFire®
PolarFire SoC

Example

This example sets data storage client with the following parameter values.

set_data_storage_client -client_name {client1} \
                        -number_of_words {57} \
                        -use_for_simulation {0} \
                        -content_type {MEMORY_FILE} \
                        -memory_file_format {Microsemi-Binary} \
                        -memory_file {D:/local_z_folder/work/memory_files/sar_86586_uprom.mem} \
                        -base_address {0}