What are the warning / error messages reported? Normally, the project won't compile if Comparator's terminals are not connected.
I tested by placing an IDAC component in the design and incrementing the IDAC code in the main loop. I could see the TIA output changing. Please find the project attached.