Hi,
I am extremely new to circuits and stuff (this is my first semester) and my teacher wants us to make a clock divider with d-flip-flops and 4:1 mux. I honestly have now idea what a clock divider is. I understand DFFs a little and i know how to write a 4:1 mux in vhdl, i just don't know how to implement them to make a clock divider. Here are the instructions:
"Construct a Selectabel Clock Divider with possible divide choices of 2, 4, 8 and 16. This should take 4 D-Flip-Flops with each Q output going into a 4:1 Mux. Create A VHDL model for the clock divider. Within this file, you will use structural VHDL to instantiate the four DFFs and wire them up in a clock divider configuration. Within this file also create the 4 to 1 mux using behavioral VHDL."
Like I said i really have no clue where to start. Our book doesn't have much on clock dividers and we haven't been over them in class. Any help, VHDL code or anything else would be great.
Thanks!
I am extremely new to circuits and stuff (this is my first semester) and my teacher wants us to make a clock divider with d-flip-flops and 4:1 mux. I honestly have now idea what a clock divider is. I understand DFFs a little and i know how to write a 4:1 mux in vhdl, i just don't know how to implement them to make a clock divider. Here are the instructions:
"Construct a Selectabel Clock Divider with possible divide choices of 2, 4, 8 and 16. This should take 4 D-Flip-Flops with each Q output going into a 4:1 Mux. Create A VHDL model for the clock divider. Within this file, you will use structural VHDL to instantiate the four DFFs and wire them up in a clock divider configuration. Within this file also create the 4 to 1 mux using behavioral VHDL."
Like I said i really have no clue where to start. Our book doesn't have much on clock dividers and we haven't been over them in class. Any help, VHDL code or anything else would be great.
Thanks!