How to do even and odd
In mux and verlog
By quarter
Operation 1: Check input if even or odd This operation will be activated after the user enters the value of 00 for the control bits Even: display the letter É on the lower 7-seg display, and divide the value of A by 2 Odd: Display the letterO on the lower 7-seg display, and multiply the value of A by 3 cco The system must check the input A(6 bits): newer7.sea .display, end dwde the value of A by 2 and display the binary result on the LEDS in order. 2 Odd: Display the letter o on the lower 7-seg display, and multiply the value of A by 3 In this part you must use cascaded adders to solve this problem. ROM or truth table Example and display the binary result on the LEDs in order. will not be accepted. A-110100 e Result A is Even so letter E will be displayed on the 7-Seg display and the result to the LEa wlt x o t7 lpy ane LEDs will be\'011010
IMAGINE IS NOT UPLOADED CORRECTLY AND YOU ASKED ABOUT THE QUARTER FUNCTION FOR MUX
so when we are dealing with MUX its nothing but 1:2 or 2:4 and to find QUARTER for even number is dividing a number into two equal halfs and if it is ODD number then every odd number can be divide into some even number plus 1.so the mux is also verified
SO WHEN WE ARE USING QUARTER IN VERILOG ITS MAIN APPLICATION IS A VENDING MANCHINE
HERE IAM POSTING THE CODE FOR THAT