mirror of
https://github.com/YosysHQ/yosys
synced 2025-09-15 22:21:30 +00:00
Merge pull request #5211 from rocallahan/remove-log_str
Remove `log_str()` functions and convert their `log_signal()` users t…
This commit is contained in:
commit
b87a33d64e
5 changed files with 23 additions and 34 deletions
|
@ -638,7 +638,7 @@ private:
|
|||
}
|
||||
}
|
||||
}
|
||||
void undriven(const char *name) {
|
||||
void undriven(const std::string& name) {
|
||||
log_error("The design contains an undriven signal %s. This is not supported by the functional backend. "
|
||||
"Call setundef with appropriate options to avoid this error.\n", name);
|
||||
}
|
||||
|
@ -646,7 +646,7 @@ private:
|
|||
void check_undriven(DriveSpec const& spec, std::string const& name) {
|
||||
for(auto const &chunk : spec.chunks())
|
||||
if(chunk.is_none())
|
||||
undriven(name.c_str());
|
||||
undriven(name);
|
||||
}
|
||||
public:
|
||||
void process_queue()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue