the project now generates a bit file
python pc_top_level_mod_ram.py

1 1 1 -3 -3 633 0x00a3 0x009b 0x009b 0x0003 0x2001 0b1 0b1
1 1 0 313 313 633 0x00a3 0x009b 0x009b 0x0003 0x2001 0b1 0b1
1 0 0 75 75 633 0x00a3 0x009b 0x009b 0x0003 0x2001 0b1 0b1
1 0 1 235 235 633 0x00a3 0x009b 0x009b 0x0003 0x2001 0b1 0b1
the jpeg is computed okay
left is okay
the sam is not okay
right okay
sum_r is okay.