N
nivparsons
Guest
How do I get the real time and date in a test bench so I can put it in my results file, which gets written out as part of the testing?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
real date and time is not part of vhdl language, so you need to getHow do I get the real time and date in a test bench so I can put it in my results file, which gets written out as part of the testing?
You might want to search this newsgroup as it has been discussed aHow do I get the real time and date in a test bench so I can put it in my results file, which gets written out as part of the testing?
Actually, you can do it withthe modelsim.utils library. There are time & date functions there, very useful.On 12/06/2012 20:20, nivparsons wrote:
How do I get the real time and date in a test bench so I can put it in my results file, which gets written out as part of the testing?
You might want to search this newsgroup as it has been discussed a
number of times.
I prefer to use a bit of Tcl to force the date from my script onto some
signals. Here is a simple example:
http://www.ht-lab.com/freeutils/date2hdl/date2hdl.html
Good luck,
Hans.
www.ht-lab.com