Geoffrey_Coram wrote on Feb 22nd, 2011, 5:26am:Verilog-AMS is a hardware description language; by design, it is intended to be simulator-independent (and operating-system independent).
I don't know why you expect that this feature would be appropriate for a modeling language.
When I use the
fopen() command in VA, isn't the VA interpreter interacting with the OS or does it channel the
fopen() command through the simulator interface?
My guess is the VA interpreter interacts with the OS to open the file. And if it can do that then it could probably also handle any other OS function call, like
system().
The VA code itself would still be OS independent. It's the interpreter that has to be deal with the OS. But maybe I have it all mixed up.