I currently use verilogA (in cadence 2006) to simulate a component with non static internal variable that I'd like to load/store (read/write from/to a file) corresponding to its instance (number or name, like I0,I1...), since the same component is replicated many times, I don't know if it's possible to write some verilog A code and how to get for each instance its reference in the netlist ?
It seems possible.
Try parameter.
When you instantiate such a component, you can transfer info such as instance name to component internal using iPar (I am not sure. You need refer to the cdsdoc).