Always use verilated_heavy (#2701).

On test suite adds ~7% runtime but will simplify logic and enable some
future changes.

Most large designs I saw were already using verilated_heavy as were using
strings, queues, associative arrays, classes, $readmem, $writemem, or
$valueplusargs.
This commit is contained in:
Wilson Snyder 2020-12-13 19:40:05 -05:00
parent 3590f7e206
commit 4ce48788c5

View File

@ -97,7 +97,8 @@ class V3Global final {
bool m_assertDTypesResolved = false; // Tree should have dtypep()'s
bool m_assertScoped = false; // Tree is scoped
bool m_constRemoveXs = false; // Const needs to strip any Xs
bool m_needHeavy = false; // Need verilated_heavy.h include
// Experimenting with always requiring heavy, see (#2701)
bool m_needHeavy = true; // Need verilated_heavy.h include
bool m_needTraceDumper = false; // Need __Vm_dumperp in symbols
bool m_dpi = false; // Need __Dpi include files
bool m_useParallelBuild = false; // Use parallel build for model