Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
$value$plusargs compile error for real types (%e / %f / %g unsupported) #1619
Author Name: Garrett Smith
Original Assignee: Garrett Smith
Similar to Issue #1592, the command-line processing in verilated_heavy.h lacks support for 'double':
With the compilation error fixed, attempts to read real value plusargs always yield 0 because %e/%f/%g are unimplemented.
Changes to add this support: gcsmith@1fe2cfa
I'm adding unit tests for this alongside the updates for Issue #1592.
Original Redmine Comment
Love getting bugs with patches to fix them!
Your patch looks good, just one nit, please replicate the %f test to also cover %e and %g so the verilated.cpp code coverage stays high. Then I'll merge.