Jump to content

Error: (E115) sc_signal<T> cannot have more than one driver:


Recommended Posts

Posted

Hi every one,

 

I got this error in my simulator:

 

Error: (E115) sc_signal<T> cannot have more than one driver:
 signal `NoC.signal_213936' (sc_signal)
 first driver `NoC.Tile[00][00].Router.rxProcess' (sc_method_process)
 second driver `NoC.Tile[00][00].Router.txProcess' (sc_method_process)
In file: ../../../../src/sysc/communication/sc_signal.cpp:137
In process: NoC.Tile[00][00].Router.txProcess @ 0 s
 

 

I know the reason of the error that the same signal is connected to two outports at the same module but in diffrent process. the problem is: as you can see from the signal number I have many signal and I need your help to track this signal and fix the problem please?

 

thanks

 

Ammar

Posted

Your NOC module has indeed many signals.  Hopefully, they are already organized as arrays, which you can replace by using appropriate sc_vectors, which can take an explicit name (prefix).  As a general recommendation, you should consider to give your channels an explicit name to ease debugging of such errors.

 

A simpler solution is probably to look at the two processes (txProcess, rxProcess) in your Router module.  If the problem would be the duplicate binding of a single signal to multiple output ports, the error should have been reported during elaboration already.  Instead, the error is raised during simulation, where both processes try to write to the same signal, most likely through the same (in)out port. This should be local enough to find manually.

 

hth,
  Philipp

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...