Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 11/11/2012 in all areas

  1. 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
    1 point
×
×
  • Create New...