Hi,
This question is based on https://community.cadence.com/cadence_technology_forums/f/38/t/37113 which explains that for AMS, the signal names have to be preceded by the name of my top level module (e.g. "tb_spi.") whereas not for Spectre etc.
Now I face the problem that I have about 10 stimulus files which I use a) for Spectre, AFS and AMS b) for different test benches.
I end up copying each file 7 times, replacing only the "vname" line, e.g.:
vname MOSI
vname tb_spi.MOSI
vname tb_top.MOSI
etc.
Is there an easy way to handle this? E.g. Telling AMS the vname prefix via a command line switch set through ADE L or an additional config file included via ADE L?
In the worst case, I would write a 'sed' script to do auto replacement but I would like to avoid this to avoid inconsistencies ...
Thanks!