mohit
Newbie level 6
I am trying to understand how to use Tcl within SOC encounter. In the command window I typed
encounter> set varA [get_pins UC13546/*]
0x7
The value set on varA is then
encounter> puts $varA
0x7
Just running the following gives
encounter> get_pins UC13546/*
UC13546/A UC13546/B
0x8
It seems after every command I type the correct value gets displayed followed by some other value like "0x7, 0x8....." and so on. Thus my variable picks up this last value instead of the correct value. Any ideas on what is happening.
encounter> set varA [get_pins UC13546/*]
0x7
The value set on varA is then
encounter> puts $varA
0x7
Just running the following gives
encounter> get_pins UC13546/*
UC13546/A UC13546/B
0x8
It seems after every command I type the correct value gets displayed followed by some other value like "0x7, 0x8....." and so on. Thus my variable picks up this last value instead of the correct value. Any ideas on what is happening.