Tried adding control logic to determine when the jpeg function has valid data.
Was trying to control  after left_r,  sam_r,  and right_r have been read from ram.
Code generates a bit file but when running "python top_level_mod_ram.py"
I get the following error.

in line 64 assert self.total_dut_output != 0
AssertionError