manuelselva Posted July 1, 2016 Report Share Posted July 1, 2016 Hi all, In the context of a very large hardware design simulated in SystemC, we faced some issues with the large footprint of our simulator. After deep and long memory profiling we identified a potential large memory optimization by removing the unique names of each sc_object. To assess the footprint saving coming from this optimization, we tweaked the Accellera kernel implementation to remove unique name generation for objects having an automatically generated name (such as signals) and also we removed the check for name uniqueness. The results were good, in the sense that we were able to save around 17 percent of the total memory footprint for a simulation counting more 3.000.000 of sc_objects. So my questions are the following ones. Why does the SystemC standard requires (page 124) that "Each sc_object shall have a unique hierarchical name reflecting its position in the object hierarchy" ? I guess this is only for debug purposes, right ? Would it be possible to have a runtime option allowing the Accellera kernel implementation to disable this "debugging" feature for in "production" simulators ? Thank you for any answers and comments you may have on this topic, ----- Manu PS: this work has been recently published at under the title "Speed And Accuracy Dilemma In NoC Simulation: What about Memory Impact?" and will be available soon. Quote Link to comment Share on other sites More sharing options...
guyguy333 Posted July 4, 2016 Report Share Posted July 4, 2016 Hi manuelselva, This is really helpful, as we are in the middle of re-working the central name server for the upcoming CCI standard, so thank you for your feedback. We will vestige some different options and see if we can’t make this better for large simulations. Guillaume Quote Link to comment Share on other sites More sharing options...
manuelselva Posted July 13, 2016 Author Report Share Posted July 13, 2016 Hi Guillaume, Thank you for the reply and the information. Please let us know the progresses you are making on this topic. ---- Manu Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.