Xilinx Frequency Generator manual Exercises, Experiments and Suggestions

Page 14

Exercises, Experiments and Suggestions

Here are some exercises, experiments and suggestions for you to consider based on this reference design. Although several are specific to the Spartan- 3E Starter Kit, most are portable to your own boards and designs where I hope you will find the design concept useful.

Turn it off!

Probably the best way to convince yourself that the frequency aligned mode of the DCM is really doing something special is to turn it off (remove the special BITGEN option) and then look at the output waveform on an oscilloscope particularly at frequencies >50MHz.

How fast is yours?

The PicoBlaze controller does not limit the upper frequency that you can enter to see how high the frequency is that your board can generate. Hint 1 – Although the display supports up to 999MHz, the largest valid value you can enter is 212.499999MHz because this sets N=0FFFFFEA. Hint 2 – The output from the second DCM is always divided by at least 2 before it reaches the output pin, so internally a clock can be faster.

Hint 3 – As you increase the frequency you will reach the limit of I/O performance. Experiment with increasing output drive strengths and FAST slew rates.

Save Oscillators and Save $

This reference design could be the way to save money by replacing a set of different crystal oscillators required to support multiple standards etc. This design together with the board allows you to directly try the output with your own products and see if it works for you. The plots shown in this document clearly show that the final output has very low cycle to cycle jitter compared with the output from a phase accumulator DDS circuit. However, it is also shown that the output still has some additional frequency components as it tracks the average frequency. In some applications this will have no effect whilst others may find it an issue. Some applications can actually benefit from the partial spread spectrum effect (i.e. reduced EMC).

Fixed Frequency Modules

If you know which frequencies you require, then reduce the design to a phase accumulator driven by a constant ‘N’, the DCMs and a fixed counter divider (no multiplexer).

Hint – If you still operate the phase accumulator at 200MHz, then use the supplied design on the board to calculate your ‘N’ and ‘D’ values for you. Hint – Remember to share the 200MHz fast clock between several phase accumulators to save DCMs.

Accurate Measurements

If you have access to superior measurement equipment, then measure the frequency generator output for yourself and observe the tracking nature of the output. Be careful not to confuse I/O and PCB effects with what you are attempting to measure using such good equipment.

Simple Frequency Measurements using the Spartan-3E Starter Kit

Create a fixed frequency version of the design for a frequency of your choice. Then insert that module into the reference design called ‘PicoBlaze Frequency Counter for the Spartan-3E Starter Kit Board’ in place of one of the existing sources so that you can observe the output frequency.

Hint – The output frequency should be correct, but you should be observing a variation above and below as the DCM tracks the average frequency value.

Design Throttling

This term is given to the concept of changing the frequency depending on the demands of an application over time. This is a way to save power since power consumption is directly proportional to operating frequency. The frequency aligned mode allows you to switch between frequencies without causing glitches and you can prove this with the design provided.

Hint – Increasing ‘CCount’ (read notes in ‘frequency_generator.vhd’) will provide very smooth but relatively slow rates of change in frequency.

Frequency Generator for the Spartan-3E Starter Kit 14

Image 14
Contents Frequency Generator Limitations Double click on ‘installfrequencygenerator.bat’ Design OverviewOperating Instructions Edit cursor position modeEdit digit value mode Fpga Editor view PicoBlaze Design SizeMAP report Design Files Direct Digital Synthesis DDS Circuit Diagram ×16PicoBlaze Circuit Diagram On the LCDPhase Accumulator Waveforms Phase Accumulator Spectrum 12.5MHz Harmonic Fundamental 12.4125MHz FundamentalPhase Accumulator Final Output WaveformsFinal Output Spectrum 12.5MHz Fundamental 12.4125MHz Fundamental ±1.3MHzSetting DCM Frequency Aligned Mode Exercises, Experiments and Suggestions

Frequency Generator specifications

The Xilinx Frequency Generator is a versatile and robust solution designed for a variety of applications requiring precise frequency generation and control. This device capitalizes on Xilinx's proven technology in programmable logic, enabling engineers to implement custom frequency generation schemes tailored to specific application needs.

One of the main features of the Xilinx Frequency Generator is its flexible frequency range. It supports a wide spectrum of frequencies, making it suitable for applications in telecommunications, aerospace, automotive, and industrial automation. The ability to generate frequencies from kilohertz to gigahertz opens up possibilities for diverse scenarios, such as clock generation, signal synthesis, and modulation tasks.

Another significant characteristic of this frequency generator is its programmability. Leveraging Xilinx's FPGA architecture, users can easily configure and program the frequency generator to meet changing requirements. This programmability allows for rapid prototyping and design iterations, enabling engineers to achieve optimal configurations with minimal downtime.

The device also employs advanced phase-locked loop (PLL) technology, ensuring excellent stability and low phase noise. PLLs enable the generation of output frequencies that are phase-coherent with an input signal, which is critical for applications requiring precise synchronization. This feature is especially beneficial in communication systems, where accurate timing and frequency stability are essential.

Furthermore, the Xilinx Frequency Generator supports multiple output formats, including sinusoidal, square, and triangle waves. This versatility in signal output enhances its usability across different applications, allowing for easy integration into existing systems.

Another innovative aspect of this frequency generator is its integration with Xilinx's software tools, such as Vivado and ISE. These tools facilitate the design, simulation, and implementation of frequency generation strategies, enhancing productivity and ensuring robustness in design processes.

In addition, the frequency generator's power efficiency is noteworthy. By employing cutting-edge low-power design techniques, it reduces energy consumption without compromising performance, making it an ideal choice for battery-powered or energy-sensitive applications.

All in all, the Xilinx Frequency Generator exemplifies cutting-edge technology in frequency generation, offering flexible configuration, excellent stability, and user-friendly integration, making it a compelling choice for engineers across various industries seeking a reliable frequency generation solution.