I need to view the variables used inside a function in simvision waveform viewer.
How to add a probe to view these variables in the viewer?
To probe VHDL variables you need to include -variable in the probe tcl command, eg.
database -open waves.shm -default -shm
probe tb.top -all -depth all -variables
The above command would probe all ports and internal signals at the top.top scope and below and will also include any vhdl variables.
Hope that helps.