So, I modified a simple MAC design to use TLM FIFOs instead of SC Signals. I'm using clocked threads for the concurrent methods. For some reason, SystemC thinks I'm using the wrong form of wait, as evidenced by the warning message:
Info: (I804) /IEEE_Std_1666/deprecated: all waits except wait() and wait(N)
are deprecated for SC_CTHREAD, use an SC_THREAD instead
I don't understand why this is the case. If you grep for "wait" over my code files, you'll see that I'm using the wait() method, as advised:
$ grep -n wait *.h *.cpp
mac.h:32: wait();
mac_tb.h:34: wait();
mac_tb.h:56: wait();
Am I doing something wrong here? Is there a fix for this?
I've attached the design to this forum post.
mac_sc_cthread.zip