what is the purpose of a latch? how many flip-flops are required to implement a 16 bit register? what is the purpose of the vhdl attribute statement in the code snippet shown? how will we test the functionality of the gated d latch in this lab? suppose you are given a 100-mhz signal how will you generate a 50-mhz and 25-mhz clock signal