21.10.19 set_plain_text_auth_client
(Ask a Question)Description
This Tcl command is added to the sNVM.cfg
file that is given as the parameter to
the configure_snvm command. Plain-text Authenticated clients have 236 bytes
available for user data in each page of sNVM.
set_plain_text_auth_client \
-client_name {name} \
-number_of_bytes {number} \
-content_type {MEMORY_FILE | STATIC_FILL} \
-content_file_format {Microchip-Binary 8/16/32 bit} \
-content_file {path} \
-start_page {number} \
-use_for_simulation 0 \
-reprogram {0 | 1} \
-use_as_rom {0 | 1}
Arguments
Parameter | Type | Description |
---|---|---|
client_name | string | Specifies the name of the client. Needs to start with an alphabetic letter. Underscores and numerals are allowed at all positions other than the first. |
number_of_bytes | integer | Specifies the size of the client specified in bytes. |
content_type | string | Specifies the source of data for the client. This can either be a memory file, or all zeros. Allowed values are MEMORY_FILE or STATIC_FILL. |
content_file_format | string | Only ‘Microchip-Binary 8/16/32 bit’ is supported at this time. |
content_file | string | Path of the memory file. This can be absolute, or relative to the project. |
start_page | integer | The page number in sNVM where data for this client will be placed. |
use_for_simulation | boolean | Only value 0 is allowed. |
reprogram | boolean | Specifies whether the client will be programmed into the final design or not. Possible values are 0 or 1. |
use_as_rom | boolean | Specifies whether the client will allow only reads, or both read and writes. Possible values are 0 or 1. |
Return Type | Description |
---|---|
None | None |
Error Codes
Error Code | Description |
---|---|
None | None |
Supported Families
PolarFire® |
PolarFire SoC |
Example
This example sets the Plain-text Authenticated client with the following parameter values.
set_plain_text_auth_client \
-client_name {b} \
-number_of_bytes {12} \
-content_type {MEMORY_FILE} \
-content_file_format {Microchip-Binary 8/16/32 bit} \
-content_file {} \
-start_page 2 \
-use_for_simulation 0 \
-reprogram 1 \
-use_as_rom 0
See Also
- set_plain_text_client
- set_cipher_text_auth_client
- set_usk_client