Is there a way to toggle leaf names in ModelSim through the TCL API?

半城伤御伤魂 提交于 2019-12-04 01:14:25
config wave -signalnamewidth 1

From ModelSim Reference Manual, v6.5e:

-signalnamewidth [<value>] 

(optional) Controls the number of hierarchical regions displayed as part of a signal name shown in the pathname pane. Related Tcl variable is PrefWave(SignalNameWidth). Can also be set with the WaveSignalNameWidth variable in the modelsim.ini file.

<value> — Any non-negative integer where the default is 0 (display the full path. For example,1 displays only the leaf path element, 2 displays the last two path elements, and so on.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!