Best Regards,
Easiest way is to use the report command.
If I say:
report " Hello World!" ;
in my testbench,
I will get this in the transcript:
# ** Note: Hello World!
# Time: 105 ns Iteration: 1 Instance: /test_mydesign
-- Mike Treseler
Report time'image(now);
Andy
> Dear all,
> How to use "now" to display the current simulation time? Thank
> you~~~
>
USE std.textio.ALL;
...
VARIABLE l: line;
...
write(l, string'("The current simulation time is: "));
write(l, now);
writeline(output, l);
This will write to stdout: the simulator window.
--
Paul.