vivkr
|
Hi All,
I see the forum is for Verilog-AMS but I hope that Verilog-A questions are also relevant here.
I am trying to use a Verilog-A block to strobe out some signals to a file. I would like to be able to define the destination file when I instantiate the Verilog-A strobe block, and not have it hard-coded. How can I do this?
I tried to define the filename as a string parameter
parameter string myoutfile
But this gives me a syntax error. The compiler says that this is not allowed without specifying why. With spectreHDL, this was never an issue, but the simulator I am using does not support it and I need to write the function in Verilog-A.
I would be glad to have any tips.
Thanks,
Vivek
|