Jump to content

Gautham

Members
  • Content Count

    2
  • Joined

  • Last visited

  1. The notification was getting lost. Thanks for the reply.
  2. Hi all, I have a project which has a many modules. In one of the modules there is a producer and a consumer. I synced them using an event. Producer event1.notify() Consumer wait(event1); This seems to be not working. Now I tried using sc_fifo sc_fifo<int> notifyFifo(1) Producer notifyFifo->write(dummy); Consumer: dummy = notifyFifo->read() This is working. I also tried putting wait after signal in producer and commenting out the consumer wait Producer event1.notify() wait(event1); This also does not work. As the producer is getting stuck in wait. Verified by inserting print statements. Did anyone face a similar issue?
×
×
  • Create New...