OK, now I know what to do

write fifo write when ivalid, read whenever dram ready.
read fifo write whenever dram ready, write when dvi wants to read