swldstn Posted December 14, 2015 Report Share Posted December 14, 2015 Fairly new to systemc and I get the message "Error (E112) get interface failed: port is not bound: port 'Instance1.SubInstance.port_name' (sc_object) .... I've already named my ports at the top of SC_CTOR so I know what port but can understand why it thinks i not bound because to my untrained eye it looks like it is. Its just a port, brought, all the way up to the top level where I have sc_signal<bool> west_enable; sc_signal<bool> east_enable; and tx_module tx_west("WEST_TX") tx_west.i_enable(west_enable); I have an east and west and the east has the same declaration but does not yield an error. It maybe only because it doesn't get by this error to show me the next. Code compiles fine with zero errors of course. How can I debug this further? Quote Link to comment Share on other sites More sharing options...
apfitch Posted December 15, 2015 Report Share Posted December 15, 2015 Don't look at the top level, look at Instance1.SubInstance (or perhaps in Instance1). The error isn't complaining about the top level, it's complaining about the code inside Instance1. regards Alan Quote Link to comment Share on other sites More sharing options...
Philipp A Hartmann Posted December 15, 2015 Report Share Posted December 15, 2015 It looks quite strange to me that the error message states (sc_object) as the kind() info of the unbound port. If the port in question is a "regular" port, it should report (sc_port) or something more specialized than that. Do you use some special/user-defined port here? /Philipp 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.