pradeep.vrr Posted April 18, 2015 Report Share Posted April 18, 2015 Hello all, I am trying to bind 'inout' port named sda in two different modules in a top module. But it is showing the below error when I am executing it. Error: (E109) complete binding failed: port not bound: port '_top_.sr0.port_5' (sc_in) Please find the top module and the two submodules in the attachment. Thank you. sr_design.txt sr_slave.txt top_sr_main.txt Quote Link to comment Share on other sites More sharing options...
apfitch Posted April 18, 2015 Report Share Posted April 18, 2015 You haven't bound port addr of sr0, regards Alan Quote Link to comment Share on other sites More sharing options...
pradeep.vrr Posted April 19, 2015 Author Report Share Posted April 19, 2015 Hi Alan ,I am using an "inout port" between transmitter and receiver . I am connecting the ports between Tx and Rx in the top module using sc_signal. It is throwing an error "sc_signal can not have more than one driver" . I have updated the source code in my earlier post .Thank you:) Quote Link to comment Share on other sites More sharing options...
apfitch Posted April 19, 2015 Report Share Posted April 19, 2015 Yes, sc_signal can't be used like that. If you want to have multiple drivers you'll have to use sc_signal_resolved and probably sc_inout_resolved as well. Have a look at the Language Reference Manual (which you can download free via the Accellera website), regards Alan karandeep963 1 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.