riscv-perf-model
riscv-perf-model copied to clipboard
Make files more organized: each unit should have own directory
As the model grows in size/usefulness each unit should really be in its own directory coupled with specific unit testing.
Is this still up? I would like to work on this. I was going through an open source cycle accurate perf model and catch this. I think this issue will be a good start to understand the codebase.
You're more than welcomed to take this. It does require the owner to create unit testing for each component, or at least the start of a unit test even if all it does is push instructions through.
For the CMake structure two suggested approaches:
- Each component is built a its own library (.a extension) and linked in to the final
olympia
binary - A top-level CMakeLists.txt file that creates a
libcore.a
file that's linked into the finalolympia
binary - Other idea?