Date and timestamp an output verilog file

C

Chloe

Guest
Dear everyone,

I'd like to know, in Verilog system tasks, is there any way to
timestamp and datestamp output files?

My design has a testbench which outputs different simulation times to
an output file (let's call it output.log). Is there any way for me to
also insert the date and time of start of simulation onto the output
file? I have different output files which I need to inspect after a
long simulation period, and it would be really useful if I know when
the simulations were carried out.

Please let me know if you have further questions, in case I am not
clear in my question.

Thanks very much.

Chloe
 
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Chloe wrote:
Dear everyone,

I'd like to know, in Verilog system tasks, is there any way to
timestamp and datestamp output files?

My design has a testbench which outputs different simulation times to
an output file (let's call it output.log). Is there any way for me to
also insert the date and time of start of simulation onto the output
file? I have different output files which I need to inspect after a
long simulation period, and it would be really useful if I know when
the simulations were carried out.
Seems like a good candidate for a VPI implementation of $gettimeofday.
Should be a 1-hour task for someone who knows the basics of VPI.

- --
Steve Williams "The woods are lovely, dark and deep.
steve at icarus.com But I have promises to keep,
http://www.icarus.com and lines to code before I sleep,
http://www.picturel.com And lines to code before I sleep."
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEddWbrPt1Sc2b3ikRAiiXAKDaFuvSlk3UxVG/MtmpaO7pLwPeQACgoqUv
yQZyFLgPRTaSVYDBPdMaJhE=
=ETSY
-----END PGP SIGNATURE-----
 

Welcome to EDABoard.com

Sponsor

Back
Top