How are
(bit) stepgen.<chan>.phase-X made available as a pin with 7i76e hostmot2 built in stepgens?
Using setp hm2_7i76e.0.stepgen.00.step_type 7 (or

does not seem to give me the phase-N pins with halcmd show pin
The intent is control of a bi-polar stepper motor using 2 A3959 full bridge driver chips on an existing pcb.
This is what was in mind for new signals and .hal connections:
#Vref-A current
net XSA <= hm2.7i76.0.stepgen.00. phase-A
net XSA => hm2.7i76.0.stepgen.00.pin-xx-out
#Phase-1 Direction
net XSDIR <= hm2.7i76.0.stepgen.00.phase-B
net XSDIR => hm2.7i76.0.stepgen.00.pin-xx-out
#Vref-B Current
net XCB <= hm2.7i76.0.stepgen.00. phase-C
net XCB => hm2.7i76.0.stepgen.00.pin-xx-out
#Phase-2 Direction
net XCDIR <= hm2.7i76.0.stepgen.00.phase-D
net XCDIR => hm2.7i76.0.stepgen.00.pin-xx-out