We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Author Name: Frederic Requin Original Redmine Issue: 946 from https://www.veripool.org Original Date: 2015-07-21 Original Assignee: Frederic Requin
Hello, I usually have the following trace initialization in the main.cpp:
#if VM_TRACE // Init VCD trace dump Verilated::traceEverOn(true); VerilatedVcdC* tfp = new VerilatedVcdC; top->trace (tfp, 99); tfp->spTrace()->set_time_resolution ("1 ps"); tfp->open ("trace.vcd"); #endif
I would expect to find in the VCD file:
$timescale 1ps $end
But, I do find:
$timescale 0ps $end
This makes the latest version of "Impulse" (http://toem.de/index.php/projects/impulse) to fail.
In the file "verilated_vcd_c.cpp", I have changed the line (method doubleToTimescale() ):
char valuestr[100]; sprintf(valuestr,"%d%s",(int)(value), suffixp);
with:
char valuestr[100]; sprintf(valuestr,"%3.0f%s", value, suffixp);
This has fixed the issue :-)
Regards,
Frederic Requin
The text was updated successfully, but these errors were encountered:
Original Redmine Comment Author Name: Wilson Snyder (@wsnyder) Original Date: 2015-07-21T17:22:43Z
Right, thanks for the patch. Pushed to git towards 3.875.
Sorry, something went wrong.
Original Redmine Comment Author Name: Wilson Snyder (@wsnyder) Original Date: 2015-08-13T01:44:35Z
In 3.876.
No branches or pull requests
Author Name: Frederic Requin
Original Redmine Issue: 946 from https://www.veripool.org
Original Date: 2015-07-21
Original Assignee: Frederic Requin
Hello,
I usually have the following trace initialization in the main.cpp:
I would expect to find in the VCD file:
But, I do find:
This makes the latest version of "Impulse" (http://toem.de/index.php/projects/impulse) to fail.
In the file "verilated_vcd_c.cpp", I have changed the line (method doubleToTimescale() ):
with:
This has fixed the issue :-)
Regards,
Frederic Requin
The text was updated successfully, but these errors were encountered: