Jump to content

Error E124 sc_export instance not bound


Recommended Posts

Hello Forum,

 

I get the error:

 

WARN    SystemC                    -        0.0/000: Error: (E124) sc_export instance not bound to interface at end of construction: export 'top.cpu.PV.export_0' (sc_export)
WARN    SystemC                    -        0.0/000:   In file: /space/sw/vista/vista_4.1.0/generic/include/../CPP/systemc230/sysc/impl/communication/sc_export.cpp:141
 

But, I have no clue as to which socket/port/etc. is the problem. 

"top.cpu.PV" is the instance, but there is no object inside named "export_0" or even "export".  I assume the "export" names are generated by TLM/SystemC.

 

How can I find which TLM or other port is causing the issue?  It seems quite puzzling.

 

Thanks,

-Mike

Link to comment
Share on other sites

If you're using TLM, I guess you've instanced a socket. That socket consists of an export and a port combined in one object.

If it's a standard initiator socket, then you need normally to bind it to *this so that the backward interface is bound.

 

You can give the socket an explicit name by supplying a constructor argument, which might help with debugging,

 

regards

Alan

Link to comment
Share on other sites

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...