Xilinx Pico Blaze Frequency Generator Скачать руководство пользователя страница 3

Frequency Generator for the Spartan-3E Starter Kit 3

Design Overview

This design converts the Spartan-3E Starter Kit into a reasonably accurate frequency generator covering the nominal range 1Hz to 100MHz. The design 

allows you to attempt generation of higher frequencies to allow you to experiment with the maximum performance of the Spartan device on your board. The 

rotary control is used to edit the frequency displayed on the upper line of the LCD display and the corresponding frequency will then be output on the SMA 

connector (J17) as well as the stake pin J4-IO12. Internally to the device the frequency range is twice that provided externally (nominally up to 200MHz).

As well as providing the basic instructions to use the frequency counter, this document provides details of the Direct Digital Synthesis (DDS) techniques used 

in the design such that the can be transplanted into your own designs. PicoBlaze is used to provide the human interface and perform so high precision 

calculations which are passed to a simple but high performance (200MHz) frequency synthesizer formed from pure hardware and two Digital Clock Managers 

(DCMs). The lower line of the LCD display provides the information passed from PicoBlaze to the hardware which means that you can use this design with 

your board to determine the exact values required to implement a fixed frequency synthesizer without requiring PicoBlaze, the knob and LCD display. On this 

board the technique provides a convenient alternative to fitting a special oscillator in the IC16 socket and it may proves a cost effective solution for many real 

product applications too.

As well as the source design files, a compiled 

configuration bit file is provided which you can 

immediately download into the Spartan 

XC3S500E device on your board. To make this 

task really easy the first time, unzip all the files 

provided into a directory and then…. 

double click on 

‘install_frequency_generator.bat’

Assuming you have the Xilinx software installed, 

your board connected with the USB cable and 

the board powered (don’t forget the switch), 

then this should open a DOS window and run 

iMPACT in batch mode to configure the 

Spartan-3E with the design.

Load it now – it only takes 30 seconds!

It is recommended that you try this to become 

familiar with what the design does (operating 

instructions on the next page).

Output Frequency provided on 

SMA socket

Frequency display

(top line) 

50MHz Reference 

Crystal Oscillator

LEDs indicate 

frequency 

editing mode

Spartan XC3S500E

Press and rotate knob 

to set frequency

DDS control values 

(bottom line) 

J4-IO9

Phase 

Accumulator 

Test Point

J4-IO12

Copy of Output 

Frequency

Содержание Pico Blaze Frequency Generator

Страница 1: ...Frequency Generator for Spartan 3E Starter Kit Ken Chapman Xilinx Ltd 18th July 2006 Rev 1 With special thanks to Peter Alfke and Alireza Kaviani...

Страница 2: ...iable for any loss of data lost profits cost or procurement of substitute goods or services or for any special incidental consequential or indirect damages arising from the use or operation of the des...

Страница 3: ...to the hardware which means that you can use this design with your board to determine the exact values required to implement a fixed frequency synthesizer without requiring PicoBlaze the knob and LCD...

Страница 4: ...ck line under the digit in the top line Edit digit value mode Press and release knob to toggle between frequency editing modes Edit cursor position mode In this mode rotating the knob to the left or r...

Страница 5: ...frequency version Number of occupied Slices 172 out of 4 656 3 Number of Block RAMs 1 out of 20 5 DCMs 2 out of 4 50 Total equivalent gate count for design 91 537 PicoBlaze makes extensive use of the...

Страница 6: ...included with the reference design as it is provided with PicoBlaze download Please visit the PicoBlaze Web site for your free copy of PicoBlaze assembler JTAG_loader and documentation www xilinx com...

Страница 7: ...ecimal so the output from the phase accumulator is 9 5MHz a period of approximately 105ns That means that the accumulator synthesizes one output cycle for approximately 21 cycles of the 200MHz clock f...

Страница 8: ...led 3 led 2 led 1 led 0 led 7 output_ports rotary_a rotary_press rotary_b lcd_rs lcd_e lcd_rw lcd 7 6 lcd 6 lcd 5 lcd 4 lcd 7 lcd 6 lcd 5 lcd 4 bidirectional LCD data rotary_press_in See reference de...

Страница 9: ...cycles 200MHz 8 cycles 200MHz This waveform shows what happens when you try to synthesize a 12 4125MHz clock using the phase accumulator There is clearly 5ns of cycle to cycle jitter in this situatio...

Страница 10: ...ynthesis process and this is reflected by a distinct 12 5MHz component which is 45dB above the noise floor The zoomed plot shows how the fundamental covers only a narrow bandwidth keeping in mind that...

Страница 11: ...mode you must accept that it does NOT maintain phase lock as it does in all other normal modes More significantly the output frequency is the average of the input frequency which means there will oft...

Страница 12: ...tay balanced because we are unable to freeze completely due to other influences on us and the need to breath etc 12 5MHz Fundamental 5MHz division 10dB division 1MHz division 10dB division 3rd Harmoni...

Страница 13: ...mming File Then right click and select Properties to open the Process Properties box 2 The Process Properties box should open with the General Options being shown otherwise select General Options on t...

Страница 14: ...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 200...

Отзывы: