Converting string to HDL path

In reply to tejal vernekar:

If these paths really end in a numeric digit, get the RTL changed to use an array. We are 18 years into the 21st century after all.

Otherwise, the only other choices involve either tool-specific commands to find the signals you want to write to, or using the VPI.