'Write simultaneously two mesochronous inputs into a single port sram

I am trying to figure out a method how to write simultaneously two inputs into a single port SRAM module.

The two inputs have the same clock frequency but different phase. The worst scenario is that the data changes at each cycle so I can't use a simple buffer to keep the values with a cycle delay when the other inputs write to the SRAM.

I was thinking using an asynchronous fifo but i can't use handshake signals because the data arrives continuously.

Can you suggest any other method??



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source