Page MenuHomeSolus

Update verilator to 4.210

Authored by davidjharder on Jul 8 2021, 10:26 PM.



Summarized Changelog

  • Generated code is now emitted as global functions rather than methods. $c` contents might need to be updated, see the docs
  • The generated model class instantiated by the user is now an interface object and no longer the TOP module instance. User code with direct C++ member access to model internals, including verilator public_flat items will likely need to be updated. See the manual for instructions
  • Add --prof-c to pass profiling to compiler
  • Optimize a lot more model variables into function locals
  • Support middle-of-design nested topmodules
  • Merge const static data globally into a new constant pool
  • Allow configure override of AR program
  • In XML, show pinIndex information
  • Fix error on unsupported recursive function
  • Fix type parameter specialization when struct names are same

Full changelog here

Test Plan
  • Complete C++ "hello world" example

Diff Detail

R4609 verilator
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

davidjharder created this revision.Jul 8 2021, 10:26 PM
davidjharder requested review of this revision.Jul 8 2021, 10:26 PM
davidjharder edited the summary of this revision. (Show Details)Jul 8 2021, 10:26 PM
JoshStrobl accepted this revision.Jul 9 2021, 5:42 AM
JoshStrobl added a subscriber: JoshStrobl.

LGTM, thanks!

This revision is now accepted and ready to land.Jul 9 2021, 5:42 AM
This revision was automatically updated to reflect the committed changes.