3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-08-03 09:50:24 +00:00

look at all those chickens

This commit is contained in:
Emil J. Tywoniak 2024-06-13 14:27:11 +02:00
parent 8bdcc6987b
commit 61cf4b6fb6
15 changed files with 48 additions and 42 deletions

View file

@ -45,7 +45,8 @@ struct setunset_t
}
};
static void do_setunset(dict<RTLIL::IdString, RTLIL::Const> &attrs, const std::vector<setunset_t> &list)
template <typename SmellsLikeDict>
static void do_setunset(SmellsLikeDict &attrs, const std::vector<setunset_t> &list)
{
for (auto &item : list)
if (item.unset)