The circuit won't work. The top part of the h-bridge must be driven with a high side driver. I posted a design for a cpld based stepper several years ago. I've attached the schematic. You can copy the power section and modify it for your drive.