From abcb9cc91bb28646b2161f6af6a5a738ec9b55c4 Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Fri, 12 Mar 2021 19:18:23 -0500 Subject: [PATCH] Add VlWide to WDataInP. Part of coming commit. --- include/verilated_heavy.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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