Hi all,
I created two modules with interfaces as below:
M1 : sc_port<sc_fifo_out_if<T>, 0> a
M2 : sc_port<sc_fifo_in_if<T>, 0> a2;
I have a third module which is also my top module i.e M3 and tried binding M1 output to M2 input to create a communication channel. I have tried using sc_fifo<T> but it doesn't work.
How do I bind M1 output to M2 input inside M3 module?
Please not that T is a struct.
Thanks