- if op1_var < op2_var then
- div_calc_done2_int <= '1';
- quo_next <= to_signed(0,CBITS);
- aktdiv_int_next <= op1_var;
+ -- anmerkung: xst (xilinx) kann folgende zeile nicht uebersetzen
+ -- > if op1 = to_signed(-2147483648, CBITS) then
+ -- darum folgende schreibweise ->
+ if op1 = x"80000000" then
+ -- so ziemlich das boeseste was passieren kann
+ done_intern <= '1';
+ op3_next <= to_signed(-214748364,CBITS);
+ opM_next <= to_signed(8,CBITS);
+ elsif (op1_var < op2_var) then
+ done_intern <= '1';
+ op3_next <= to_signed(0,CBITS);
+ opM_next <= op1_var;