an548电子信息外文资料翻译原件.pdf
《an548电子信息外文资料翻译原件.pdf》由会员分享,可在线阅读,更多相关《an548电子信息外文资料翻译原件.pdf(14页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、? November 2008Altera CorporationAN 548: Nios II Compact Configuration System for CycloneIIIAN-548-1.0? November 2008AN 548: NiosII Compact ConfigurationSystem for Cyclone IIIIntroductionThis application note discusses how you can use a Nios? II processor based configuration system in your design to
2、 actively manage one or more configurations from commodity flash. You can reduce the cost and simplify your FPGA based embedded system design by eliminating the need for an external configuration controller. You can use various configuration schemes with Altera Cyclone? III FPGAs. These schemes incl
3、ude active serial (AS), active parallel (AP), passive serial (PS), fast passive parallel (FPP), and Joint Test Action Group (JTAG). You can configure the Cyclone III devices using one of these schemes, depending on the device densities and package options. Active configuration allows an intelligent
4、controller within the FPGA (such as the Nios II processor) to perform configuration while passive configuration relies upon an external controller (a microprocessor, Complex Programmable Logic Device (CPLD) or EPCS configuration device) to configure the FPGA.The example design demonstrates the use o
5、f the AP configuration scheme and Cyclone III remote system upgrade feature for reconfiguration purposes. To enable the design to fit easily into your existing system, it is optimized to achieve the smallest possible utilization of FPGA resources and software code footprint. You can easily adapt thi
6、s design to any existing design to add reconfiguration capability to the application. fFor more information on other configuration schemes, refer to the Configuring Cyclone III Devices chapter in volume 1 of the Cyclone III Device Handbook .Active Parallel (AP) Configuration SchemeIn the AP configur
7、ation scheme, Cyclone III devices read configuration data via the parallel interface, which configures their SRAM cells. This scheme is referred to as active because the FPGA device controls the configuration interface. Depending on the available package options, some of the smaller Cyclone III devi
8、ces do not support the AP configuration scheme. Table 1 shows which combinations of Cyclone III family devices and package options support the AP configuration scheme.Table1. Active Parallel (AP) Configuration Scheme Supported by Cyclone III Devices (Part 1 of 2)DevicePackage Options (Note 1)E144M16
9、4Q240F256F324F484F780U256U484EP3C5NONON/ANON/AN/AN/ANON/AEP3C10NONON/ANON/AN/AN/ANON/AEP3C16NONONONON/AYESN/ANOYESEP3C25NON/ANONOYESN/AN/ANON/AEP3C40N/AN/ANON/AYESYESYESN/AYESEP3C55N/AN/AN/AN/AN/AYESYESN/AYESPage 2IntroductionAN 548: Nios II Compact Configuration System for CycloneIII? November 2008
10、Altera CorporationThe AP configuration scheme uses a parallel flash memory for storing configuration data. The flash memory provides a fast interface to access configuration data, mainly due to the parallel data bus. Since a flash memory has an inexpensive memory per cost ratio, it is feasible to st
11、ore multiple configuration images in a single flash. This is useful when the application requires switching between a default factory image and application images. To enable the AP configuration scheme for your Quartus? II design, perform the following steps in the Quartus II software:1.On the Assig
12、nments menu, click Device .2.On the Device page, click Device and Pin Options.3.Click the Configuration tab and select Active Parallel under the Configuration scheme list. 4.Click OK .fFor more information on Cyclone III AP configuration scheme, refer to the Configuring Cyclone III Devices chapter i
13、n volume 1 of the Cyclone III Device Handbook .Cyclone III Remote System Upgrade FeatureCyclone III devices that support active configuration schemes have dedicated built-in remote system upgrade circuitry. This circuitry allows you to upgrade the system from remote locations through a communication
14、 interface. You can add a factory image and multiple application images to your product. The factory image is a user-defined fall-back, or safe configuration that administers remote updates in conjunction with the dedicated circuitry. The application images implement user-defined functionality in th
15、e target Cyclone III device. You can include the default application image functionality in the factory image. For example, by using remote system upgrade feature, you can update one of the application images stored in the flash memory of the embedded product through an Ethernet connection. After th
16、e update is complete, you can initiate a reconfiguration cycle to use the newly updated configuration image. The dedicated remote system upgrade circuitry detects any errors that occur during or after this cycle. If an error occurs, the remote system upgrade circuitry causes the device to automatica
17、lly revert to the factory image. The factory image then performs error processing and recovery. While error processing functionality is limited to the factory configuration, both factory and application configurations can download and store remote updates and initiate system reconfiguration. EP3C80N
18、/AN/AN/AN/AN/AYESYESN/AYESEP3C120N/AN/AN/AN/AN/AYESYESN/AN/ANote to Table 1:(1)N/A indicates that the device is not available with the specific package option.Table1. Active Parallel (AP) Configuration Scheme Supported by Cyclone III Devices (Part 2 of 2)DevicePackage Options (Note 1)E144M164Q240F25
19、6F324F484F780U256U484Example DesignPage 3? November 2008Altera CorporationAN 548: Nios II Compact Configuration System for CycloneIIIWhen the AP configuration scheme is powered up with remote system upgrade feature, the Cyclone III device loads the configuration image stored in the flash memory at o
20、ffset of 0 x010000 (for 16-bit word addressing) or 0 x020000 (for 8-bit byte addressing). A default factory image is stored at this address so that the device is configured with this design once the configuration is powered up.To use the remote system upgrade feature for your design, perform the fol
21、lowing steps in the Quartus II software:1.On the Assignments menu, click Device .2.On the Device page, click Device and Pin Options.3.Click the Configuration tab and select Remote under the Configuration modelist. 4.Click OK .fFor more information on Cyclone III remote system upgrade feature, refer
22、to the Remote System Upgrade With Cyclone III Devices chapter in volume 1 of the Cyclone III Device Handbook .Example DesignThis section demonstrates a compact example design that uses remote system upgrade feature with the AP configuration scheme for reconfiguration. To maintain its compactness, th
23、e design contains minimal number of SOPC Builder components. This design is targeted to the Cyclone III FPGA Starter Kit and the Nios II Embedded Evaluation Kit (NEEK), which uses the EP3C25 device. However, the design can be fitted into the smallest Cyclone III device that supports AP configuration
24、 scheme, which is the EP3C16 device (refer to Table 1).Example Design HardwareFigure 1 shows the block diagram of this example design. Figure 1. Block Diagram of Nios II Compact Configuration Example DesignJTAG Debug ModuleOn-chip Memory (RAM) JTAG-UART Nios II/e CoreRESET_NCLK 50BUTTON 0-3ADDR 1-23
25、DATA 0-15READ_NWRITE_NSELECT_NLED 0-1PLLSystem IDTristate BridgeCFI FlashControllerRemoteUpdateControllerPush Button PIOLED PIOPage 4Example DesignAN 548: Nios II Compact Configuration System for CycloneIII? November 2008Altera CorporationThis design uses Nios II/e “ economy ” processor. The Nios II
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- an548 电子信息 外文 资料 翻译 原件
限制150内