I have to take the internal clock which is already generated in fpga and I have to give it to an output variable. How can ı get that internal clock with verilog code? someone told me that fpga board generate 100MHz internally. How can i get that clock signal to my verilog code ?
2 Answers
Your question ins't totally clear, but it sounds like you've got an internally generated clock on an fpga, which is not 100 MHz and you'd like to generate a 100 MHz clock from said internally generated clock? I have a hard time believing that you really have an internally generated clock within your fpga (I'll bet you have an external oscillator that is connected to your fpga). That stated almost all the fpgas (I'd bet all fpgas -- haven't heard of a modern one without) have some clock multiplier circuitry, which allows you to take a clock input and manipulate it (e.g. change frequency, phase, polarity, etc, etc). On xilinx fpgas this block is called a DCM and is easily configured via coregen. If you provide more specifics/clarity I'm sure people can help you get what you're looking for.