Forum Discussion
RParks
New Contributor
7 years agoI've done something similar so this might help:
proc DDR3_read_to_file {} {
set imagefile [open "C:/Users/RParks/system_console/scripts/image_read.mem" w]
# set imagefile [open "/root/system_console/scripts/image_read.mem" w]
set read_data [<ddr_read_command> <addr> <length>]
# puts $read_data
puts $imagefile [format "%s" $read_data]
close $imagefile
}