1

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
  • 3
    This may be better-suited for electronics.stackexchange.com. Commented May 27, 2013 at 10:37
  • 1
    It could help if you tell us what is your board, what FPGA you are using. Your question is also not clear what you exactly asking, getting a locally generated clock is as easy as just connecting the output of the block that creates the clock to the clock input of your design, but if you want to generate a different frequency, then it depends on the type of FPGA you have and the input frequency of your clock before creating the 100MHz to be generated. Commented May 28, 2013 at 10:17

2 Answers 2

1

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.

Sign up to request clarification or add additional context in comments.

Comments

0

You can use the PLL module (which you generate through FPGA synthesis tool). Here this PLL can take 1 input CLOCK and can able to produce upto 5 OUTPUT clock. Now you assign any of the output clock signal to your main design(i,e. DUT)

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.