end_memory_edit (::quartus::insystem_memory_edit)
The following table displays information for the end_memory_edit Tcl command:
| Tcl Package and Version |
Belongs to ::quartus::insystem_memory_edit 1.0 |
||
| Syntax | end_memory_edit [-h | -help] [-long_help] | ||
| Arguments | -h | -help | Short help | |
| -long_help | Long help with examples and possible return values | ||
| Description |
Terminate the memory editing sequence. The sequence does not have to be terminated unless the device configuration is changed or a different device is edited. |
||
| Example Usage |
# Instance 0 is configured as {0 1024 8 RW ROM/RAM mem0}
# Initiate a editing sequence
begin_memory_edit -hardware_name "USB-Blaster \[USB-0\]" -device_name "@1: EP1S25/_HARDCOPY_FPGA_PROTOTYPE (0x020030DD)"
# Write memory content using binary string
write_content_to_memory -instance_index 0 -start_address 575 -word_count 2 -content "0000001011011100"
# Read back memory content in binary string written
puts [read_content_from_memory -instance_index 0 -start_address 575 -word_count 2 ]
# Write memory content using hexadecimal string
write_content_to_memory -instance_index 0 -start_address 575 -word_count 2 -content "E2F1" -content_in_hex
# Read back memory content in hexadecimal string written
puts [read_content_from_memory -instance_index 0 -start_address 575 -word_count 2 -content_in_hex]
# End the editing sequence
end_memory_edit
|
||
| Return Value | Code Name | Code | String Return |
| TCL_OK | 0 | INFO: Operation successful | |
| TCL_ERROR | 1 | ERROR: A memory edit sequence has not been started. | |