Week - 4
Assignment-1

As soon as the model runs, machine enters into the 'start' state. Going further it checks whether the power supply is availbale or not. If it's present ,it will enter into the 'MACHINE_ACTIVE' super-state.
After entering inside this super-state, machine first of all checks the water-supply. If it's not present,machine will be in the same state and it will give the user output by blinking Water_Supply_LED as red which signals that water-supply is not available. If machine gets the water-supply,it will blink Water_Supply_LED as green and enters into the soaking state.It will do soaking for 200 sec before entering into the washing state.Then machine will do washing for 100 sec and enter into the next stage which is Rinsing.After Rinsing & Drying for 20 sec and 50 sec respectively, machine finally enters inside the Finish state which is indicated by blinking an Finished_LED as green.

Link : https://drive.google.com/file/d/1j0t5Pm1SBNpFpqDFutas9aF1LP3M99oa/view?usp=sharing
Assignment-2

As soon as the model runs,logic enters into the 'Engine_Start' state. When the vehicle starts moving,definitely it's going to start from 1st gear so logic enters inside Gear_1. Now,according to the voltage range provided logic will flip-flop to enter inside the Gear_2,Gear-3,Gear_4,Gear_5 & Gear1 back and forth on the basis of the input speed.User can see the Gear number on the display whenever the user varies the speed through slider.

I am running the model for infinite time and then changing the input with the help of slider.One can see the gear number in the Gear_Number display.
Link :https://drive.google.com/file/d/1bXhkUGPSao-MfOr1l6SsfC_HZmEI0OHH/view?usp=sharing