mirror of
https://github.com/YosysHQ/yosys
synced 2026-07-20 22:25:49 +00:00
WIP migration to twine
This commit is contained in:
parent
54a3baa2de
commit
e71ed3007d
8 changed files with 49 additions and 55 deletions
|
|
@ -61,8 +61,8 @@ void RTLIL_BACKEND::dump_twines(std::ostream &f, const RTLIL::Design *design)
|
|||
return;
|
||||
f << stringf("twines\n");
|
||||
std::vector<TwineRef> ids;
|
||||
for (auto it = design->twines.backing.begin(); it != design->twines.backing.end(); ++it)
|
||||
ids.push_back(STATIC_TWINE_END + design->twines.backing.get_index(it));
|
||||
for (size_t idx = 0; idx < design->twines.backing.size(); ++idx)
|
||||
ids.push_back(STATIC_TWINE_END + idx);
|
||||
std::sort(ids.begin(), ids.end());
|
||||
for (TwineRef id : ids) {
|
||||
const Twine &n = design->twines[id];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue