yupferris / kaze

An HDL embedded in Rust.
Apache License 2.0
194 stars 9 forks source link

Same name for instances, memories and registers #29

Open jdonszelmann opened 3 years ago

jdonszelmann commented 3 years ago

This one is a little more complex than the previous one. The problem is that these values were stored in a vector inside the module, However, I propose (implementation with this PR) to convert these vectors to maps to make lookup of these names O(1).