SteveF Posted September 18, 2019 Report Share Posted September 18, 2019 Hello, I am trying to create a TLM Initiator that includes an external function. The idea is that a test program can be implemented in the external file and thus replaced with other programs as required. The test program calls function X defined in the initiator module. if I add the function in line i.e. void test_prog { .... } it works properly However if I put it in an external file with a function declaration for X and include this in the SC_MODULE I get. error <module_name>::X cannot be overloaded. Any feedback on this would would be greatly appreciated. Thanks, Steve Quote Link to comment Share on other sites More sharing options...
Eyck Posted September 19, 2019 Report Share Posted September 19, 2019 Without concete code it is hard to give any advise. But it looks like that you redeclare a member function of your original module. BR 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.