mirror of
https://github.com/verilator/verilator.git
synced 2026-09-02 02:38:15 +02:00
Fix dynamic array handling in solve...before (#7922)
This commit is contained in:
@@ -758,4 +758,13 @@ public:
|
||||
bool next() { return VlRandomizer::next(m_rng); }
|
||||
};
|
||||
|
||||
//======================================================================
|
||||
//Helper method for dynamic array handling in SMT expressions
|
||||
|
||||
inline std::string vlToSolverHex(const IData& value) {
|
||||
std::ostringstream oss;
|
||||
oss << std::hex << std::setfill('0') << std::setw(8) << value;
|
||||
return oss.str();
|
||||
}
|
||||
|
||||
#endif // Guard
|
||||
|
||||
Reference in New Issue
Block a user