Well i am new with systemC and working for the first time on it...
I have tried to implement a basic D Flip Flop circuit. The aim is to connect two D-Flip Flop in series to form a Johnson counter. (But right now i am trying to test only 1 flip flop)
The code is as follows:
d1 = new dff("My_dff");
But when i run this program in sc_main it gives port binding error. what is wrong with the port binding?... and also please tell me that is the correct port binding method in systemC. I am using systemc v 2.1.
The error message is as follows..
Error:<E109> complete binding failed: port not bound: port 'TEST_UNIT.My_dff.port_2' <sc_out>
In file: ....\systemc-2.1.v1\src\sysc\communication\sc_port.cpp196
Please help me to resolve this problem..
thanks in Advance.