diff --git a/docs/CONTRIBUTORS b/docs/CONTRIBUTORS index 7c70a0722..b487ca6fb 100644 --- a/docs/CONTRIBUTORS +++ b/docs/CONTRIBUTORS @@ -30,6 +30,7 @@ Mike Popoloski Nathan Kohagen Nathan Myers Patrick Stewart +Peter Horvath Peter Monsson Philipp Wagner Pieter Kapsenberg diff --git a/include/verilated.cpp b/include/verilated.cpp index 490c0d501..ddc7c05fe 100644 --- a/include/verilated.cpp +++ b/include/verilated.cpp @@ -259,7 +259,7 @@ Verilated::NonSerialized::~NonSerialized() { } } -size_t Verilated::serialized2Size() VL_PURE { return sizeof(VerilatedImp::m_ser); } +size_t Verilated::serialized2Size() VL_PURE { return sizeof(VerilatedImp::s_s.m_ser); } void* Verilated::serialized2Ptr() VL_MT_UNSAFE { return &VerilatedImp::s_s.m_ser; } //===========================================================================