Jump to content

Yasmin

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by Yasmin

  1. @Andy Goodrich Okay, that makes sense. I'm aware of how to use SC_THREADs but I didn't know that TLM fifos were incompatible with clocked threads. Thank you for the help.
  2. 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
×
×
  • Create New...