Need help with a final project for my Digital Systems Design class. We are balancing a ball inside of a long rectangular prism. At the end of the prism is an ultrasonic sensor (Ultrasonic Ranging Module HC - SR04) to monitor the distance of the ball from the sensor. So, the ball will be centered and balanced when the distance to the ball is half of the length of the prism. The prism is being controlled by an arm, attached to a digital servo motor (DS3225mg). We are programming a NEXYS A7 board (XC7A100T-1CSG324C) in Vivado using Verilog. We were given starter code for the project, but I find it very confusing. I need help understanding the starter code and finishing it!