21.13.1.10 ddr_write
(Ask a Question)Description
This tcl command writes the value of specified configuration registers pertaining to the DDR memory controller (MDDR/FDDR).
ddr_write [-deviceName "device name"] \
-block {ddr name} \
-name {register name} \
-value {hexadecimal value}
Arguments
Parameter | Type | Description |
---|---|---|
deviceName | string | Specify device name. This parameter is optional if only one device is available in the current configuration. |
block | string | Specify blcok name: fddr | mddr | east_fddr | west_fddr.
|
name | string |
|
value | hexadecimal |
|
Return Type | Description |
---|---|
None | None |
Error Codes
Error Code | Description |
---|---|
None | Parameter 'value' has illegal value. |
None | Required parameter 'value' is missing. |
None | Parameter 'name' has illegal value. |
None | Required parameter 'name' is missing. |
None | Parameter 'block' has illegal value. |
None | Required parameter 'block' is missing. |
None | Parameter 'param_name' is not defined. Valid command formatting is'ddr_write [-deviceName "device name"] -block "DDR Block Name" -name "DDR Resgister Name" -value "DDR register value"'. |
Supported Families
SmartFusion 2 |
IGLOO 2 |
RTG4* |
Example
Write a 16-bit value DDR Controller register DDRC_DYN_REFRESH_1_CR for a configured FDDR block on a SmartFusion 2 or IGLOO 2 device:
ddr_write -block fddr -name DDRC_DYN_REFRESH_1_CR -value 0x123f
See Also
ddr_read