ScaleSim Accelergy Run Fixes#7
Conversation
added tk library for tinter
|
Hi @arjun289, thank you for the Accelergy integration pull request! Before we can merge it into the main branch, we have a few suggestions to improve the code:
Once these are updated, feel free to resubmit the pull request. Thanks again for your contribution! |
|
Are these fixes supposed to run with accelergy V4? Or still the old V3? Thanks! |
|
All the changes are for v3. Accelergy v4 can't be used standalone without Timeloop. |
Thank you very much Arjun. I'm still struggling with installing this stack.
|
|
Hi @arjun289 thanks a lot for opening the PR. This fixes the accelergy integration. I made some cleanups before the merge. Thanks @zishenwan for the review! |
Why?
The branch covering Accelergy integration is outdated. Also, there were a bunch of issues not allowing the runs to complete.
Additions
scalesim-accelergybranch.scale-sim-v3/rundir-accelergy/accelergy_input/components. The reason is that earlier, the generatedarchitecture.yamlfile had primitive components that were not functioning properly. This fix adds new custom components that allow the Accelergy part to run.scale-sim-v3/rundir-accelergy/preprocess.pyto generate the architecture keys in the right order so it doesn't raise any errors. Earlier, the keys were sorted by yaml dump that would cause dependencies to not be in the right order.fixes: #3
!! Note
One of the plugins being used here, https://github.com/Accelergy-Project/accelergy-aladdin-plug-in, also has a bug.
This will be fixed in the project but if you want to use it now. You can update the code in the plugin file.
/scale-sim-v3/accelergy/plugins/accelergy-aladdin-plug-in/aladdin_table.pyline 276-80. The comparator_interface dicts need to have one more key-value pair as shown belowThe PR should allow you to run latest ScaleSim with Accelergy v3.