Very strange behavior with $warning #816
Labels
area: wrong runtime result
Issue involves an incorrect runtine result from Verilated model
resolution: fixed
Closed; fixed
Author Name: Jonathon Donaldson
Original Redmine Issue: 816 from https://www.veripool.org
Original Date: 2014-09-05
Original Assignee: Wilson Snyder (@wsnyder)
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.
The text was updated successfully, but these errors were encountered: