Jump to content

ehsanullah

Members
  • Posts

    2
  • Joined

  • Last visited

Reputation Activity

  1. Like
    ehsanullah reacted to apfitch in Error:<E109> complete binding failed: port not bound:   
    Hi,
    your code's confusing.
    You seem to be mixing up port binding and assigning to channels. You don't need the module "my_mod" at all, as far as I can see.
    Also I can't see how you're generating any stimulus.
    Finally, you haven't shown sc_main.
    But the error message is saying

    SC_MODULE(my_mod){ sc_in_clk clk; sc_in<bool>d; [color=#ee82ee]sc_out<bool> q;[/color]
    port q is not bound.
    You might want to look at our website tutorial, http://www.doulos.com/knowhow/systemc/tutorial/, for a basic introduction.
    Also I would recommend using SystemC 2.3.0 if you've got a choice,
    regards
    Alan
×
×
  • Create New...