Prоblem 1) Yоu аre designing lоgic for а bаttery system. The specification is that if the battery voltage is equal to or above 8 V the system uses variable V8 to turn on an LED indicating “the battery is fully charged, no action necessary”. If not and the voltage is equal to or above 4 V it uses variable V4 to turn on a different LED indicating that “the battery is partially charged, charge when convenient”. If not and the voltage is equal to or above 2 V it uses variable V2 to turn on a different LED indicating that “the battery has a low charged, charge immediately”. If not but the voltage is above 1 V it uses variable V1 to turn on a different LED indicating that “the battery is near dead, even charge immediately”. If not the voltage must be below 1 V, so uses variable V0 to turn on an LED indicating that “the battery is dead, even charging may not help, lots a luck”. This is background, the problem is described below. You don't have to worry about the messages, only need to set the values of V8, V4, V2, V1 and V0 described below. You only want it to turn on one LED at any one time, otherwise it will be confusing. V8, V4, V2, V1 and V0 will be 1 bit variables pin assigned to LEDs, but the pin assignment isn't part of the problem. We just need to assign V8, V4, V2, V1, and V0. Only one should be on at any time. Set V8 = True if the voltage Vin is equal or above 8 V Set V4 = True if the voltage is equal or above 4 V Set V2 = True if the voltage is equal or above 2 V Set V1 = True if the voltage is equal to 1 V Set V0 = True if otherwise Note that if V8 is true, V4-V2 are true also but we only want V8 to be set to true so that you only get that battery LED indication, and so on, a perfect use of a priority encoder Write a module which has a 4-bit input Vin, and 1 bit outputs V8, V4, V2, V1, and V0. Use priority and casez keywords to make a case statement to construct a priority encoder to set V8, V4, V2, V1, and V0 based on the information given. See the cheat sheet for the form of the statement. Show all work. If you submit multiple answers the problem will be counted wrong. For full credit indent each block in your procedural code. Use system Verilog, and use commands always_comb, or always_ff, do not use datatype reg use datatype logic. Write efficient succinct and well organized code for full credit.