ManikantaAllam Posted October 20, 2023 Report Share Posted October 20, 2023 Hi seniors. My question is regarding a C++ concept. Not directly SystemC. I am dealing with a set of SystemC Template classes (Nvidia's MatchLib Library). The classes here use template-based parameter initialization instead of a constructor. I am writing a simulation framework using the elements from this library. I need to do a lot of looping through some parsing structures during instantiations and port mappings - runtime deduction of values. I have concerns about moving those parameters from the templates to the constructors - I am not thinking of this as a solution. So, is there any solution to these kinds of situations? Thank you so much in advance! PS: I'm not thinking of printing the code either now! 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.