PrincetonUniversity / ILAng

A Modeling and Verification Platform for SoCs using ILAs
https://bo-yuan-huang.gitbook.io/ilang/
MIT License
75 stars 18 forks source link

switch to unordered_map to model memory in ILAtor #221

Open LeeOHzzZ opened 2 years ago

LeeOHzzZ commented 2 years ago

For preciese memory modeling in ILAtor, this commit use unordered_map instead of map to reduce the access time complexity from O(logN) to O(1) on average.

Test with HLSCNN-ILA, and an average of 30% execution time reduction is observed.