mirror of
https://github.com/verilator/verilator.git
synced 2026-08-30 09:48:22 +02:00
Internals: Use pure expressions in V3Randomize (#6974)
This commit is contained in:
@@ -595,7 +595,7 @@ bool VlRandomizer::parseSolution(std::iostream& os, bool log) {
|
||||
return true;
|
||||
}
|
||||
|
||||
void VlRandomizer::hard(std::string&& constraint, const char* filename, int linenum,
|
||||
void VlRandomizer::hard(std::string&& constraint, const char* filename, uint32_t linenum,
|
||||
const char* source) {
|
||||
m_constraints.emplace_back(std::move(constraint));
|
||||
// Format constraint location: "filename:linenum source"
|
||||
|
||||
Reference in New Issue
Block a user