VHDL integer to unsigned cast cost
Yes, you can certainly perform two conversions in a single statement. They would synthesize to wires. BUT your code snippet has state-dependent behavior that would be lost if you combined the conversions. There's something going on with pwm_counter that you haven't told us about. If that state-dependent behavior is necessary then you will need a register to hold the intermediate value, integrator_inter_uns.