mirror of https://github.com/YosysHQ/yosys.git
Build fixes for VS 2015
This commit is contained in:
parent
fa535c0b00
commit
74702b04c2
|
@ -93,6 +93,7 @@ struct AttrmvcpPass : public Pass {
|
|||
|
||||
for (auto cell : module->selected_cells())
|
||||
for (auto &conn : cell->connections())
|
||||
{
|
||||
if (driven_mode) {
|
||||
if (cell->input(conn.first))
|
||||
for (auto bit : sigmap(conn.second))
|
||||
|
@ -102,6 +103,7 @@ struct AttrmvcpPass : public Pass {
|
|||
for (auto bit : sigmap(conn.second))
|
||||
net2cells[bit].insert(cell);
|
||||
}
|
||||
}
|
||||
|
||||
for (auto wire : module->selected_wires())
|
||||
{
|
||||
|
|
|
@ -1170,9 +1170,10 @@ struct FlattenPass : public Pass {
|
|||
worker.flatten_do_list.erase(mod->name);
|
||||
}
|
||||
} else {
|
||||
for (auto mod : vector<Module*>(design->modules()))
|
||||
for (auto mod : vector<Module*>(design->modules())) {
|
||||
while (worker.techmap_module(design, mod, design, handled_cells, celltypeMap, false)) { }
|
||||
}
|
||||
}
|
||||
|
||||
log("No more expansions possible.\n");
|
||||
|
||||
|
|
Loading…
Reference in New Issue