Assignment 1:Project Assignment: You are required to design an energy meter based on CPLD (Complex Programmable Logic Device) that will smartly disconnect the supply when sufficient amount of energy units are consumed. The device needs to be programmed using VHDL computing language. The meter should be encoded using 3 DPDT switches' that will allow the meter to run for a sufficient amount of charges as below:
• 100 - 10 units
• 101 - 20 units
• 111 - 50 units and so on....
.• Design the appropriate Architecture for the project and give the necessary VHDL code
Assignment 2: VHDL code implementation for rotating Stepper Motor (Unipolar) in both clockwise and counter - clock wise direction