diff --git a/include/verilated_heavy.h b/include/verilated_heavy.h index 6b0f52039..a3cb94441 100644 --- a/include/verilated_heavy.h +++ b/include/verilated_heavy.h @@ -111,6 +111,7 @@ public: const EData& operator[](size_t index) const { return m_storage[index]; }; EData& operator[](size_t index) { return m_storage[index]; }; operator WDataOutP() { return &m_storage[0]; } + operator WDataInP() const { return &m_storage[0]; } // METHODS const EData& at(size_t index) const { return m_storage[index]; } @@ -808,7 +809,7 @@ public: private: // MEMBERS - Array m_array; // State of the assoc array + Array m_array; // Contents of the packed array public: // CONSTRUCTORS