1. Write the VHDL description for the 5421 code to BCD encoder using a conditional signal assignment statement.
2. A combinational circuit is to be designed to generate the quotient from the division of any number from 49 to 63 by 7. Write the VHDL code for the circuit.