Hi, I am building a module to generate pixels and output to a juypter notebook via VDMA. When running the verilog on verilator and icarus simulations, i get expected results. However, when I run the notebook and call readframe on VDMA, i do not get the expected image. However, i get the expected image split - so the expected image is almost split vertically and one portion which is meant to be on the right is on the left - as the image i get is a snapshot taken between 2 frames.
When i call readframe via the notebook, the amount the frame shifts by changes. The longer i wait, the greater the shifting of frames.
What is the cause of this and what might be a fix?