Jump to content

Recommended Posts

Posted

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

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...