The carry flag value is not as expected for some cases. For instance, with the following trigger input, since r1 > r3, carry flag should be reset, but it is actually being set.
Issue location: rtl/verilog/mor1kx_execute_alu.v
Triggering input:
//set r1=00020000 and r3=00002000
l.sub r4,r1,r3
Expected output:
Carry flag = 0
mor1kx output:
Carry flag = 1
Please check this bug.
The text was updated successfully, but these errors were encountered:
The carry flag value is not as expected for some cases. For instance, with the following trigger input, since r1 > r3, carry flag should be reset, but it is actually being set.
Issue location: rtl/verilog/mor1kx_execute_alu.v
Triggering input:
//set r1=00020000 and r3=00002000
l.sub r4,r1,r3
Expected output:
Carry flag = 0
mor1kx output:
Carry flag = 1
Please check this bug.
The text was updated successfully, but these errors were encountered: