Uart_sum gives wrong sum result

Greetings!
When I flash and run the bitstream uart_sum.bin for the uart_sum example using the micropython script, it gives the wrong result.
Following is a snipet of the output in Thonny. A similar image is also attached.

%Run -c $EDITOR_CONTENT

MPY: soft reboot
[shrike_flash] FPGA reset done
[shrike_flash] FPGA reset done
[shrike_fpga] Starting FPGA flash…
[shrike_fpga] flashing: uart_sum.bin
[shrike_flash] FPGA programming done.
1 + 2 = 225
2 + 3 = 4
regards,
Ranjit

Inorder to debug the issue, I made a small change in top.v , where the instead of sum being sent back, I loopback first the first number. The first number is getting loopbacked correctly. i.e. “Value” in the logs. Further, created a different binary which loopbacks the second number instead of sum. With this, the looped back value for num2 seems different.