TCL scripts: fix ocd_mem2array/mem2array

In previous patch, I have introduced again the symbol
"ocd_mem2array", now replaced by "mem2array".
Fix the error.

Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
This commit is contained in:
Antonio Borneo 2010-09-28 16:37:19 +08:00 committed by Øyvind Harboe
parent 45e5d1d90a
commit ecad76061f
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@
# mrw: "memory read word", returns value of $reg
proc mrw {reg} {
set value ""
ocd_mem2array value 32 $reg 1
mem2array value 32 $reg 1
return $value(0)
}