rdaly525 / coreir

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

Revert sorting logic #878

Closed leonardt closed 4 years ago

leonardt commented 4 years ago

It turns out it's already using lexicographical ordering, so the sorting logic based on name is unecessary. The issue was that magma was generating names using arithmetic ordering (e.g. "module8", "module9", "module10") which meant that once we hit module10 and beyond, they would move in front of the previous modules.