hello
please help mw to add a counter that will stop at 10 and here is the exaxt words from the proffesor
" The dispense state turn the dispense signal on to activate a stepper motor that issimulated on the red LEDR lights.Again, state machines are used for this part. Make sure to add a counter to count a number of steps (i.e. 10) before it stops. Otherwise, your vending machine will have a flaw dispensing soda to the whole population of UNT for 35 cents. A real stepper motor is connected to the board through the global IO pin (GPIO "
Unfortunately it uses the non-IEEE std_logic_arith and std_logic_unsigned packages, which are Synopsys packages. The IEEE package is numeric_std. You will have to modify the types to make it correct for numeric_std, but I'll leave that as an exercise for the student.