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
Parameter | Type | Description |
---|
client_name | string | The name of the client. Must start with an alphabetic letter. Underscores and numerals are allowed at all positions other than the first. |
number_of_words | integer | The size of the client specified in number of words. |
content_type | string | Source 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_format | string | Only ‘Microchip-Binary’ is supported at this time. |
memory_file | string | Path of the memory file. This can be absolute, or relative to the project. |
base_address | hexadecimal | Hexadecimal address where the first byte of user data will be placed. |
use_for_simulation | boolean | Only value 0 is allowed. |
Return Type | Description |
---|
None | None |
Error Codes
Error Code | Description |
---|
None | None |
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}