State-dependent constraints (#5217)

Signed-off-by: Arkadiusz Kozdra <[email protected]>
This commit is contained in:
Arkadiusz Kozdra
2024-07-01 20:19:15 +02:00
committed by GitHub
parent 72993ec3dd
commit 85356f464f
9 changed files with 255 additions and 179 deletions
+2
View File
@@ -414,6 +414,8 @@ void VlRandomizer::hard(std::string&& constraint) {
m_constraints.emplace_back(std::move(constraint));
}
void VlRandomizer::clear() { m_constraints.clear(); }
#ifdef VL_DEBUG
void VlRandomizer::dump() const {
for (const auto& var : m_vars) {