Best results to date
Using the following Constants
constant LEFT_ADDR_C             : natural   := 0;  -- Process RAM from this address ...
constant SAM_ADDR_C             : natural   := 1;  -- Process RAM from this address ...
constant RIGHT_ADDR_C             : natural   := 2;  -- Process RAM from this address ...
jpeg-2000-test/fast_clk_jpeg
python pc_top_level_mod_ram.py
the local jpeg compares okay with results computed using jpeg.v
1 1 2 2
1 0 318 318
0 0 80 80
0 1 240 240
The retrieve ram data is okay 0x00a3 0x00a0 0x009b
The sum_r is 00a3 + 00a0 + 009b =  1DE = 478

1 1 1 2 2 478 0x00a3 0x00a0 0x009b 0x0003 0x2001 0b1 0b1
1 1 0 318 318 478 0x00a3 0x00a0 0x009b 0x0003 0x2001 0b1 0b1
1 0 0 80 80 478 0x00a3 0x00a0 0x009b 0x0003 0x2001 0b1 0b1
1 0 1 240 240 478 0x00a3 0x00a0 0x009b 0x0003 0x2001 0b1 0b1