I had a doubt if we use two clocks for transmitting the data in FIFO and read clock is 5x times slower then the write clock or vice versa what actual happens and how FIFO will work if we are using one clock frequency for writing and different clock frequency for the read and how write data and read will synchronize . can anyone please explain me briefly about this scenario and if you explain with an example it will be helpful for me.
My question is not regarding UVM sorry I mistakenly put that I am asking question regarding to the module design of FIFO. In FIFO design they used one clock frequency to write data into FIFO and one clock frequency to read data from FIFO. Please explain me how synchronization happens between read and write.
there is no problem if the read/write address(pointer) is encoded with gray code, even if there is big frequency difference cross the two clock domain, because every time the write/read pointer is synchronized to another domain, there is only one bit may change.