PLD技术资料.ppt
《PLD技术资料.ppt》由会员分享,可在线阅读,更多相关《PLD技术资料.ppt(16页珍藏版)》请在三一办公上搜索。
1、(1),1,Using the MAX II ParallelFlash Loader with theQuartus II Software,May 2005,ver.1.0Introduction,Application Note 386With the density of FPGAs increasing,the need for larger configurationstorage is also increasing.If the user system already contains a commonflash interface(CFI)flash memory,it ca
2、n be utilized for the FPGAconfiguration storage.The MAX II parallel flash loader(PFL)feature inMAX II devices provides an easy way to program CFI flash memorydevices through the Joint Test Action Group(JTAG)interface,and thelogic to control configuration from the flash memory device to the AlteraFPG
3、A.Figure 1 shows the PFL feature.Figure 1.MAX II PFL FeaturePassive,JTAG,Serial,Interface,MAX II CPLD,Interface,AlteraFPGA,CommonFlashInterfaceCFI FlashMemory(1)Note to Figure 1:The Quartus II software version 5.0 supports Intel-based C3 CFI flash devices.Referto Table 1 for the list of supported de
4、vices.Future versions of the Quartus IIsoftware will support more types of CFI flash devices.,MAX II PFL,Two functions of the MAX II PFL feature are:,Programming the CFI flash device through the MAX II JTAGinterfaceControlling the configuration of the FPGA from the CFI flash dataFor the first functi
5、on,the MAX II device operates as the bridge betweenthe JTAG interface and the CFI flash memory parallel address/datainterface.Altera configuration devices support programming throughthe JTAG interface,allowing for in-system programming and updates.Altera Corporation,AN-386-1.0,Preliminary,2,Using th
6、e MAX II Parallel Flash Loader with the Quartus II SoftwareStandard flash memory devices,however,do not support the JTAGinterface and therefore do not support direct programming throughJTAG.With the MAX II device,you can use its JTAG interface to indirectlyprogram the flash memory.The MAX II JTAG bl
7、ock interfaces directlywith the logic array when in a special non-test JTAG mode.This modebrings the JTAG chain through the logic array instead of the MAX IIboundary scan cells.The PFL feature provides the JTAG interface logic toconvert the JTAG stream provided by the Quartus II software andprogram
8、CFI flash memory devices connected to the MAX II I/O pins.Figure 2 shows the MAX II device acting as the bridge to program theflash memory through the JTAG interface.Figure 2.Programming the Flash Memory through the JTAG Interface,JTAG,MAX II CPLD,Configuration Data,Interface,AlteraFPGA,PFLCommonFla
9、shInterfaceCFI FlashMemoryThe second function of the MAX II device is to control the configurationof Altera FPGAs.Unlike dedicated Altera configuration devices,the flashmemory device only stores configuration data and does not have thebuilt-in logic to control the FPGA configuration process.The PFLm
10、egafunction logic within the MAX II device determines when to startthe configuration process,reading the data from the flash memory andconfiguring the Altera FPGA accordingly.Figure 3 shows the MAX IIdevice as the configuration controller for the FPGA.Altera CorporationPreliminary,8,(1),(2),(3),3,Qu
11、artus II SupportFigure 3.FPGA Configuration with Flash Memory DataPassive,MAX II CPLD,Serial,InterfacePFLCommonFlashInterfaceCFI FlashMemory,AlteraFPGA,Quartus IISupport,The Quartus II software generates the MAX II PFL megafunction logic forthe programming bridge and configuration.User entry of SRAM
12、 ObjectFiles(.sof)and hexadecimal files(.hex)in the Quartus II software creates,the programming file for the flash memory.Table 1 shows the types offlash memory,data width,configuration mode,and file formatsupported.Future versions of the Quartus II software will support moretypes of CFI flash memor
13、y,data widths,configuration modes,and fileformats.Table 1.Flash Memory,Configuration Mode&File Format Supported by the PFL Feature in the Quartus IISoftware,Flash Memory SupportedManufacturer Device Name Density(Mbit),Data Width,ConfigurationMode(1),File Format(2),Intel,28F800C3,16 bit,Passive Seria
14、l,POF(3),28F160C328F320C328F640C3,163264,Notes to Table 1:Configuration of an Altera FPGA by the MAX II device through the PFL.Supported file format to program the MAX II device and the flash memory device.Programmer Object File(.pof).HEX file format is allowed for non-configuration data storage.Alt
15、era CorporationPreliminary,(1),4,Using the MAX II Parallel Flash Loader with the Quartus II SoftwareTable 2 shows the PFL megafunction logic element(LE)resource usagefor different density CFI flash memories.,Table 2.LE Usage for PFL Megafunction,Note(1),Flash SupportedDevice,CFI_8Mb,CFI_16Mb,CFI_32M
16、b,CFI_64Mb,EPM240EPM570EPM1270EPM2210,223238238238,227242242242,231246246246,235250250250,Note to Table 2:LE usage based on a compiled PFL megafunction design in the Quartus II software version 5.0.Page Mode ImplementationThe PFL allows the storage of configuration data up to a maximum ofeight diffe
17、rent pages in a CFI flash memory block.A single page is usedto configure a single FPGA chain that can contain more than one FPGA(i.e.,multiple SOFs can be stored in a single page).The start address foreach page resides on an 8-Kbyte boundary.The first valid start address is0 x000000,the next valid s
18、tart address must be an increment of 0 x2000.When converting the SOF(s)to a POF,you can either specify the start andend address for the page,specify only the start address,or allow theQuartus II software to automatically determine the address.The option bits sector stores the start address for each
19、page and theprogram done bits,indicating whether each page is successfullyprogrammed.You can store the option bits in the unused addresslocations in the flash memory.You need to specify the start address for theoption bit sector when converting the SOF(s)to the POF,as well as whencreating the PFL me
20、gafunction.This procedure is covered later in the“Instantiating the PFL Megafunction in the Quartus II Software”and“Converting the SOF(s)to a POF for the Flash Device”sections.Figure 4 shows the page mode and option bits implementation in the CFIflash memory.Altera CorporationPreliminary,(1),(2),5,I
21、nput/Output Signals for the PFLFigure 4.Page Mode&Option Bits Implementation in the Flash Memory8 BitsEnd Address(1)Option Bits(2)Configuration Data(Page 2)Configuration Data(Page 1)Page 2 Address+Program DonePage 1 Address+Program Done,Configuration Data(Page 0),Page 0 Address+Program Done,0 x00000
22、0Note to Figure 4:The end address depends on the density of the flash device.The following lists thedevice density together with the end address respectively:8 Mbits:0 x0FFFFF,16 Mbits:0 x1FFFFF,32 Mbits:0 x3FFFFF,and 64 Mbits:0 x7FFFFF.You specify the byte address location for the option bits secto
23、r.Bit 0 up to Bit 11 for the page start address are all zeros and are not storedas option bits.Figure 5 shows how the start address and program done bitfor each page is stored in the option bits sector.Figure 5.Page Start Address&Program Done Bit Stored as Option Bits,Bit 7.Bit 1,Bit 0,0X002001,Page
24、 Start Address 18:12Bit 7.Bit 0,ProgramDone,0X002000,Page Start Address 26:19,Input/OutputSignals for the,This section explains the input/output signals of the PFL megafunction.Figure 6 shows the PFL megafunction symbol.,PFLAltera CorporationPreliminary,f,Input,6,Using the MAX II Parallel Flash Load
25、er with the Quartus II SoftwareFigure 6.PFL Megafunction SymbolTable 3 describes the functions of the PFL signals and specifies theexternal pull-up resistor required for the configuration pins.For pull-up information on configuring pins for specific Altera FPGAfamilies,refer to the Configuration Han
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- PLD 技术资料
链接地址:https://www.31ppt.com/p-2248771.html