D
deepak
Guest
Currently i use a test bench file which is read when i run my
simulation
read_file = $fopen("abcd.cfg", "r"); and i have the file abcd.cfg
being read.
However i need to make this a dynamic process where instead of
abcd.cfg , I should be able to pass a filename which is obtained from
the command line and isn't hardcoded as a specific filename. Is there
any specific mechanism via say an API call which does this ??
simulation
read_file = $fopen("abcd.cfg", "r"); and i have the file abcd.cfg
being read.
However i need to make this a dynamic process where instead of
abcd.cfg , I should be able to pass a filename which is obtained from
the command line and isn't hardcoded as a specific filename. Is there
any specific mechanism via say an API call which does this ??