mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-28 11:25:53 +00:00
Smallfixes to reconstruct busses to use logger and ignore blackboxes
This commit is contained in:
parent
2b4e175698
commit
60d7723a64
1 changed files with 3 additions and 1 deletions
|
@ -47,6 +47,8 @@ struct ReconstructBusses : public ScriptPass {
|
|||
log("Running reconstructbusses pass\n");
|
||||
log_flush();
|
||||
for (auto module : design->modules()) {
|
||||
if (module->get_bool_attribute("\\blackbox"))
|
||||
continue;
|
||||
log("Creating bus groups for module %s\n", module->name.str().c_str());
|
||||
log_flush();
|
||||
// Collect all wires with a common prefix
|
||||
|
@ -104,7 +106,7 @@ struct ReconstructBusses : public ScriptPass {
|
|||
}
|
||||
log("Found %ld groups\n", wire_groups.size());
|
||||
if (wire_groups.size() == 0) {
|
||||
std::cout << "No busses to reconstruct. Done." << std::endl;
|
||||
log("No busses to reconstruct. Done.\n");
|
||||
continue;
|
||||
}
|
||||
log("Creating busses\n");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue