New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
$stime() #19
Comments
Original Redmine Comment I had assumed $stime is really a backward compatibility thing that code shouldn't be using any more. Can you give me an example where $stime is really needed and $time isn't more proper? |
Original Redmine Comment isn't a implementation for backward compability trivial (just casting to 32-biti in C/C++)? In verilog testcases either the testcases have to be modified (by using $time() and then selecting the lower 32 bits), or the reference patterns, so doing this on the C++ side sounds easier, especially since it makes verilator more standard-conformant.. |
Original Redmine Comment Yes, it's easy. I find it's often good to ask "why" as the language has lots of "easy stuff" that isn't really needed, and if it IS needed I might learn something by asking. So why? |
Original Redmine Comment ... if a language has a feature, someone will |
Original Redmine Comment I'm generally of the force-people-to-update-code mindset, but given it's just a few lines. Fixed in the HEAD. |
Author Name: Holger Wächtler
Original Redmine Issue: 19 from https://www.veripool.org
Original Date: 2008-07-05
Original Assignee: Wilson Snyder (@wsnyder)
report simulation time as 32bit integer
The text was updated successfully, but these errors were encountered: