Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Very strange behavior with $warning #816
I have attached a minimal example that reproduces this issue. The issue occurs with both C++ and SystemC, however I have only provided a C++ example. It also occurs on both my windows and linux machines. I am using the very latest Git repo version: 3.863
My design is as follows:
When executed the result is this:
Ummm...what is that? Haha.
Also, my sc_time_stamp() function is set to always return 0.0. So not sure where that huge number is coming from.
Additionally, if I replace $warning with $error it causes a core dump. If I use either $display or $write it executes just fine.
Any ideas? Let me know if you need any other info.
Original Redmine Comment
Holy cow that was fast. $warning works great now. Thanks!!
However, if you replace $warning with $error it still core dumps as mentioned. Guess the $error core dump is unrelated to the $warning issue. If you want I can create a separate bug ticket...?