Altera Cyclone III FPGA Starter Kit Скачать руководство пользователя страница 23

Altera Corporation 

Core Version a.b.c variable

4–3

April 2007

Cyclone III FPGA Starter Kit User Guide

Measuring Power on the Cyclone III Starter Board

1

To obtain the power (P) in milliwatts, measure <

Measured 

Voltage

> (the voltage across the sense resistors at JP6 or JP3) in 

mV and calculate the nominal power using the equation:

P = 100 x <

Measured Voltage

> x <

Supply Voltage

>

where <

Supply Voltage

> is 1.2 V for JP6 and 2.5 V for JP3.

Advance through the various button options as outlined in 

Table 4–2

Notice how current increases as frequency and resource usage increase. 

You can also measure the I/O power consumed by measuring the voltage 
across sense-resistor JP3 when Button 4 is pressed and held. Because this 
2.5-V power rail is shared with other devices, there is a nominal 100 mW 
that must be subtracted from the calculated I/O power to obtain the 
FPGA I/O power.

The number of I/O pins used is controlled by the resource state (shown 
in 

Tables 4–2

 and 

4–3

). For each increment in resources, 16 additional I/O 

pins are added (see 

Table 4–4

).

Similarly, the toggle-frequency of these I/O pins is set by the overall 
design frequency (see 

Table 4–1

).

Changing the Design Example

The source code for the Cyclone III power design example is also 
provided so you can use it as a starting point for your own measurements. 
The number of outputs can be adjusted by changing parameter 
NUM_OUTPUTS_PER_STAMP. The default is 16, which for four resource 
percentage steps equates to 16 x 4 = 64.

The appropriate pins to be used as outputs are pre-assigned to the HSMC 
connector J1. If you would like to look at more than the 76 I/Os available 
on J1, you need to make the appropriate pin assignments.

Table 4–4. I/O Pin & Resource State

LED4/LED3

Number of I/O Pins

00

16

01

32

10

48

11

64

Содержание Cyclone III FPGA Starter Kit

Страница 1: ...101 Innovation Drive San Jose CA 95134 www altera com Cyclone III FPGA Starter Kit User Guide Document Date April 2007...

Страница 2: ...pyrights Altera warrants performance of its semiconductor products to current specifications in accordance with Altera s standard warranty but reserves the right to make changes to any products and se...

Страница 3: ...ment Board Control Panel Setup Development Board Setup 2 1 Requirements 2 2 Powering Up the Development Board 2 2 Control Panel Setup 2 2 FPGA Configuration 2 3 Control Panel Start 2 4 Chapter 3 Using...

Страница 4: ...era Corporation My First FPGA Design Tutorial Contents Chapter 5 Appendix Programming the Configuration Flash Device Overview 5 1 Creating a Flash Programmable POF File 5 1 Programming the Flash Devic...

Страница 5: ...ra com products devkits altera kit cyc3 starter html Revision History The table below displays the revision history for the chapters in this user guide How to Contact Altera For the most up to date in...

Страница 6: ...Title References to sections within a document and titles of on line help topics are shown in quotation marks Example Typographic Conventions Courier type Signal and port names are shown in lowercase...

Страница 7: ...ided as a starting point for test designs so users can get up and running quickly This user guide addresses the following topics How to set up power up and verify correct operation of the development...

Страница 8: ...altera com buy devices buy devices html For Cyclone III Orcad symbols www altera com support software download pcb pcbpcb_index html For Nios II 32 bit embedded processor solutions www altera com tech...

Страница 9: ...Use this icon to launch the Windows style development kit GUI or view the documentation The Cyclone III FPGA Starter Kit installation program creates a directory structure for the installed files Fig...

Страница 10: ...II Embedded Design Suite package also found in the Altera Design Software Suite The Nios II soft core embedded processor runs on Altera FPGAs Some of the reference designs included in this development...

Страница 11: ...firm that the board is operating correctly See Figure 2 1 Figure 2 1 Cyclone III Development Board Layout and Components 1 Mbyte SSRAM U5 DC Power Input J2 Power Switch SW1 16 Mbyte Parallel Flash U6...

Страница 12: ...the development board perform the following steps 1 Ensure that the on off switch SW1 is in the OFF position up 2 Connect the USB Blaster cable from the host computer to the USB Blaster port on the de...

Страница 13: ...lopment board should be powered up and working FPGA Configuration Before using the control panel configure a corresponding circuit in the Cyclone III FPGA by downloading the CIII_Control_Panel sof con...

Страница 14: ...on the Program Configure box to select the added file 5 Click Start to download the selected configuration file to FPGA Control Panel Start To start the control panel perform the following step v To l...

Страница 15: ...anel To perform the appropriate actions the command controller communicates with the controller of the targeted board input output I O device You can perform the following actions with the control pan...

Страница 16: ...ou can only control 2 of the LEDs through the control panel Figure 3 1 Control Panel Window for LED Controls DDR SDRAM SSRAM Controller and Programmer You can perform the following types of memory rea...

Страница 17: ...desired location in the Random Access boxes and write the hex data to be written Click Write 3 To read the contents of a location enter the address in the Random Access boxes Click Read Sequential Wr...

Страница 18: ...ecifying the number of bytes 4 Click Load DDR SDRAM Content to a File to initiate the transaction 5 Specify the destination file in the pop up Windows dialog box Flash Memory Programmer Using the cont...

Страница 19: ...ead write operation with a byte of data from to the flash memory perform the following steps 1 Click the FLASH tab Figure 3 3 and type the data in the Random Access boxes Figure 3 3 Control Panel Flas...

Страница 20: ...es to write in the Length box 1 To load the entire file turn on File Length without specifying the number of bytes 5 Click Write a File to FLASH to initiate the transaction 6 Specify the source file i...

Страница 21: ...ter board has only four buttons and four LEDs interaction with the board is minimal as defined below Table 4 1 describes the functionality of the four input buttons that control the power example Tabl...

Страница 22: ...28 132 97 Total PLLs 1 4 25 Measuring Power The design example can be located by default in kit install Examples CIII_Power_Demo Configure the FPGA with the SOF found in the directory 1 The input cloc...

Страница 23: ...W that must be subtracted from the calculated I O power to obtain the FPGA I O power The number of I O pins used is controlled by the resource state shown in Tables 4 2 and 4 3 For each increment in r...

Страница 24: ...4 4 Core Version a b c variable Altera Corporation Cyclone III FPGA Starter Kit User Guide April 2007 Measuring Power...

Страница 25: ...you may want to replace this factory default configuration with your own This appendix describes how to reprogram the Intel P30 flash device Creating a Flash Programmable POF File After Quartus II com...

Страница 26: ...ert Programming Files Window 2 Make the following settings Programming File Type Programmer Object File POF Mode Active Parallel Configuration Device CFI_128MB File Name Type the name of the flashable...

Страница 27: ...tion Flash Device Figure 5 2 Input File to Convert 4 Click Add File 5 Choose the SOF file you want to convert and click OK 6 Highlight SOF Data again 7 Click Properties The SOF Data Properties window...

Страница 28: ...t User Guide April 2007 Creating a Flash Programmable POF File Figure 5 3 SOF Data Properties 1 Flash address 0x20000 is the default starting address from which the Cyclone III device starts loading c...

Страница 29: ...filename When the Quartus II software finishes converting the file you can use the converted POF to program the on board parallel flash device 1 The Quartus II software also generates a MAP file which...

Страница 30: ...elect Flash Device 6 Click OK 7 In the Programmer highlight the CFI_128MB device 8 Click Change File from the button list to the left of the programming file area 9 Select the converted POF that you g...

Страница 31: ...e Programmer loads the special flash programming hardware into the FPGA which allows the Programmer to communicate with the flash device The Programmer sends the POF to the flash device via the flash...

Страница 32: ...Guide April 2007 Programming the Flash Device 12 Turn the Cyclone III Starter Board off and then on again When the board powers up the Cyclone III device configures with your design from the on board...

Отзывы: