Forum Discussion
Altera_Forum
Honored Contributor
10 years agoYou cannot manipulate identifier names (e.g. instance or variable names) as if they were strings to pass around in Verilog or SystemVerilog. You can use a text macro that will substitute any arbitrary text for you, but that is a compiler directive and not something you can parameterize on an instance by instance basis.
It might help if you could explain why you want to do this. There may be other alternatives.