MATLAB: How to implement an asynchronous FIFO/data buffer in Simulink

asynchronous clocksHDL Codersimulink

Hello,
I am working on a model which will packetize data at rate A and occasionally send data at rate B, in which rate B is 3.125x faster than rate A. However, it's unclear to me how I can design my model in Simulink such that it can support rates A & B independently.
In other words, I want to implement the equivalent of an HDL FIFO such that the output & input sample times are not a clean ratio of N or 1/N.
Any suggestions would be greatly appreciated, thank you.
-Gilbert

Best Answer

Got around this issue by implementing an asynchronous FIFO outside of Simulink.
Related Question