mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-23 14:23:41 +00:00
Fix new lines
This commit is contained in:
parent
dd00b92c9f
commit
cff65067cb
1 changed files with 5 additions and 5 deletions
|
@ -36,12 +36,12 @@ struct SplitfanoutWorker
|
||||||
SplitfanoutWorker(Module *module) : module(module), sigmap(module)
|
SplitfanoutWorker(Module *module) : module(module), sigmap(module)
|
||||||
{
|
{
|
||||||
// Add nodes to topological sorter for all selected cells
|
// Add nodes to topological sorter for all selected cells
|
||||||
log("Making toposort nodes for module %s...", log_id(module));
|
log("Making toposort nodes for module %s...\n", log_id(module));
|
||||||
for (auto cell : module->selected_cells())
|
for (auto cell : module->selected_cells())
|
||||||
toposort.node(cell->name);
|
toposort.node(cell->name);
|
||||||
|
|
||||||
// Build bit_drivers_db
|
// Build bit_drivers_db
|
||||||
log("Building bit_drivers_db...");
|
log("Building bit_drivers_db...\n");
|
||||||
for (auto cell : module->cells()) {
|
for (auto cell : module->cells()) {
|
||||||
for (auto conn : cell->connections()) {
|
for (auto conn : cell->connections()) {
|
||||||
if (!cell->output(conn.first)) continue;
|
if (!cell->output(conn.first)) continue;
|
||||||
|
@ -53,7 +53,7 @@ struct SplitfanoutWorker
|
||||||
}
|
}
|
||||||
|
|
||||||
// Build bit_users_db and add edges to topological sorter
|
// Build bit_users_db and add edges to topological sorter
|
||||||
log("Building bit_users_db and adding edges to toposort...");
|
log("Building bit_users_db and adding edges to toposort...\n");
|
||||||
for (auto cell : module->cells()) {
|
for (auto cell : module->cells()) {
|
||||||
for (auto conn : cell->connections()) {
|
for (auto conn : cell->connections()) {
|
||||||
if (!cell->input(conn.first)) continue;
|
if (!cell->input(conn.first)) continue;
|
||||||
|
@ -71,7 +71,7 @@ struct SplitfanoutWorker
|
||||||
}
|
}
|
||||||
|
|
||||||
// Build bit_users_db for output ports
|
// Build bit_users_db for output ports
|
||||||
log("Building bit_users_db for output ports...");
|
log("Building bit_users_db for output ports...\n");
|
||||||
for (auto wire : module->wires()) {
|
for (auto wire : module->wires()) {
|
||||||
if (!wire->port_output) continue;
|
if (!wire->port_output) continue;
|
||||||
SigSpec sig(sigmap(wire));
|
SigSpec sig(sigmap(wire));
|
||||||
|
@ -84,7 +84,7 @@ struct SplitfanoutWorker
|
||||||
}
|
}
|
||||||
|
|
||||||
// Sort using the topological sorter
|
// Sort using the topological sorter
|
||||||
log("Sorting using toposort...");
|
log("Sorting using toposort...\n");
|
||||||
toposort.analyze_loops = false;
|
toposort.analyze_loops = false;
|
||||||
toposort.sort();
|
toposort.sort();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue