Hi,
Is there a way to print the netlist node name for debugging reasons?
In other words, if a module takes argument "n" among its arguments, I would like to print the node name in which "n" is bound to in the netlist.
Here is a concrete example of what I'm trying to do. Suppose my HSPICE netlist contains the following element:
Code:xE1 net10 net5 my_module
and in the verilog-a definition of "my_module":
Code:module my_module(n1, n2);
input n1,n2;
electrical n1,n2;
analog begin
// I want to print the name of the node in the netlist corresponding to n1
// in this example, it should print net10
// the following does not work:
$display("%s", n1);
end
endmodule
As indicated in the comment, the method used causes an error. Can anyone help, please?
Using HSPICE 2015.