mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-08 15:13:24 +00:00
Added dict/pool.sort()
This commit is contained in:
parent
1cb4c925d0
commit
43951099cf
7 changed files with 80 additions and 50 deletions
|
@ -1137,6 +1137,8 @@ struct VerilogBackend : public Backend {
|
|||
}
|
||||
extra_args(f, filename, args, argidx);
|
||||
|
||||
design->sort();
|
||||
|
||||
*f << stringf("/* Generated by %s */\n", yosys_version_str);
|
||||
for (auto it = design->modules_.begin(); it != design->modules_.end(); ++it) {
|
||||
if (it->second->get_bool_attribute("\\blackbox") != blackboxes)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue