'how to solve "invalid command name "fsdbreport"! "
i'm trying to get some simulation data from fsdb file to txt file with the follwing code:
#getData.tcl
set fsdbPath "../asrcsim.fsdb"
set signalPath "chanIdTest/u_asrc"
fsdbreport $fsdbPath \
-exp "$signalPath/clk==1 && $signalPath/we==1" \
-s \
$signalPath/coe_out -of d \
$signalPath/chnid -of d \
-o debug.txt
in bash:
i tried "source getData.tcl" and i got "Variable name must begin with a letter"
then
i tried "tclsh getData.tcl" and i got " invalid command name "fsdbreport" "
then i got into tclsh mode and execute the code in line, it works well.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
