The inverter PWM inputs are pulled high internally to approx. 15V, in which state the lower transistor is turned on. Pulling one of these inputs low turns on the upper transistor. The 'Blue Pill' board used discrete transistors in open collector configuration to pull the inverter PWM inputs low. The ULN2003 is a bank of open collector Darlington transistors.
GIVA and GIVB are generator currents, not motor. The A & B channels are copies of each otherThen the circuit for dual op amp receives the MG2 (GIVA and GIVB) inputs from inverter (15v p-p), and sends 0 - 3.3v signal to II1
You need to use one of MIV(A or B) and one of MIW(A or B); note how the letters, V & W, relate to the phases MVU & MWU.