A four-stage shift register is to be used to generate two sequences of length 7 and 15. A sequence of length 7 is generated when a control signal c is set to 1; when c is set to 0, a sequence of length 15 is generated. Write the VHDL code for the circuit.