assert(false) report "testfall war ein error (passt)";
end if;
else
- assert ((op3 = to_signed(testmatrix(i).expected,CBITS)) and (opM = to_signed(testmatrix(i).om,CBITS)))
- report "" & cinteger'image(testmatrix(i).o1) &
+ if not((op3 = to_signed(testmatrix(i).expected,CBITS)) and (opcode /= ALU_DIV or opM = to_signed(testmatrix(i).om,CBITS))) then
+ assert(false) report "" & cinteger'image(testmatrix(i).o1) &
" " & integer'image(to_integer(signed(opcode))) &
" " & cinteger'image(testmatrix(i).o2) &
" /= " & integer'image(to_integer(op3)) &
" -- erwartet: " & cinteger'image(testmatrix(i).expected) &
" ( " & cinteger'image(testmatrix(i).om) & " ) ";
- if not((op3 = to_signed(testmatrix(i).expected,CBITS)) and (opM = to_signed(testmatrix(i).om,CBITS))) then
checkall := false;
end if;
end if;