mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-24 01:25:33 +00:00
Warnings
This commit is contained in:
parent
0379a8b287
commit
6297d3763d
1 changed files with 6 additions and 1 deletions
|
@ -49,6 +49,8 @@ struct ReconstructBusses : public ScriptPass {
|
|||
}
|
||||
}
|
||||
if (!valid_index) {
|
||||
log_warning("Invalid net name %s\n", prefix.c_str());
|
||||
log_flush();
|
||||
continue;
|
||||
}
|
||||
|
||||
|
@ -62,9 +64,12 @@ struct ReconstructBusses : public ScriptPass {
|
|||
break;
|
||||
}
|
||||
}
|
||||
if (end == prefix.begin())
|
||||
if (end == prefix.begin()) {
|
||||
// Last _ didn't mean there was another _
|
||||
log_warning("Invalid net name %s\n", prefix.c_str());
|
||||
log_flush();
|
||||
continue;
|
||||
}
|
||||
std::string no_bitblast_prefix;
|
||||
std::copy(prefix.begin(), end, std::back_inserter(no_bitblast_prefix));
|
||||
wire_groups[no_bitblast_prefix].push_back(wire);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue