I am using $cgav in a systemVerilog test to get a voltage from and electrical node in an AMS simulation.
The AMS simulation in based on a HED config that could have a specific block either as a schematic or a model, where a specific net could be either electrical or wreal/logic, in which case $cgav will not do what is required.
Is there a way to read or inquire the discipline of a specific net, to then be able to use either $cgav or just to read the value of a discrete net ?