3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-24 01:25:33 +00:00

Use set for strpool_attribute to maintain ordering, but keep some backwards compatibility

This commit is contained in:
Akash Levy 2025-03-05 03:28:19 -08:00
parent 3a67468860
commit 8117ab228e
4 changed files with 16 additions and 2 deletions

View file

@ -26,7 +26,6 @@
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <set>
#include "simplemap.h"
@ -157,7 +156,7 @@ struct TechmapWorker
}
std::string orig_cell_name;
std::set<string> extra_src_attrs = cell->get_strpool_attribute(ID::src);
pool<string> extra_src_attrs = cell->get_strpool_attribute(ID::src);
orig_cell_name = cell->name.str();
for (auto tpl_cell : tpl->cells())