rdaly525 / coreir

BSD 3-Clause "New" or "Revised" License
101 stars 24 forks source link

Update C-API for record to use deterministic order #985

Closed leonardt closed 3 years ago

leonardt commented 3 years ago

Possible fix for https://github.com/phanrahan/magma/pull/920#discussion_r580838423

Before, this was iterating over a std::map which is not ordered. This changes it to use the getFields API which should return the same order for the fields.