Ocean/skill script follows. Select a net. Press ctrl-g. Now that net is your “reference”. Select a different net (or the same net if you are fond of trivial signals). Press ctrl-r that second net is plotted relative to the reference.
This is useful for debugging multiple supply domains, supply/ground bounce, and differential circuits.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
procedure( relVT(netname) VT(netname) - VTGND ) procedure( selVT() wid=hiGetCurrentWindow() path = geGetAdjustedPath(wid strcat(geGetInstHier(wid) "/" car(geGetSelSet())~>net~>name)) relVT(path) ) procedure( setGnd() wid=hiGetCurrentWindow() path = geGetAdjustedPath(wid strcat(geGetInstHier(wid) "/" car(geGetSelSet())~>net~>name)) VTGND = VT(path) ) procedure( plotSelVT() let( ((sVT selVT())) plot(sVT) ) ) hiSetBindKey("Schematics" "CtrlR" "plotSelVT()") hiSetBindKey("Schematics" "CtrlG" "setGnd()") |