150RX/TXShared4.0006,00016150RX/TX16Shared4,1006,200500125(4)RX/TX/RefShared4.1006200500125(4Ref/TxShared4.2006400160150RX/TXNotestotable1-4.Referto"ClockingOptions"onpage3-7formoreinformationabouttheseoptions(2)Otherparameters(BARconfigurations,etc.)varythealutandLogicRegisterutilizationnumbersbyapproximately+/-200(3)Figuresfor-3speedgradedevicesonly(4)WhenusingtheSharedRx/Tx/RefandSharedRef/Txoptions,theuserinterfacefrequencyislimitedtoexactlythehtfrequencydividedbyTable1-5showsperformanceanddeviceutilizationfortheHyperTransportMegaCorefunctioninStratixandStratixGXdevicesTable1-5.HyperTransportMegaCoreFunctionPerformanceinStratixandStratixGXDevicesUserInterfacefmaxParametersUtilizationHTLinkfMAXMHz)MHZ)RXRXSpeedGradePostedNon-PostedResponseClockingOptionLEsM4KBuffersBuffersBuffers)(2Blocks.5-66Sharedrx/tx/ref1240010073)100734448888SharedRef/Tx7,60014400400100{3)100(3)Sharedrxtx7,90016400400>125>100Sharedrxtx8.900125>100168SharedRx/T×Ref9,400124004001003)100316Sharedref/ix9.500144001003)10073)16Sharedrx/x9.700400125Notestotable1-5:(1)RefertoClockingOptions"onpage3-7formoreinformationabouttheseoptions(2)Otherparameters(BARconfigurationsetc.)varytheLEutilizationbyapproximately+/-200LES(3)WhenusingtheSharedRx/Tx/RefandSharedRef/Txoptions,theuserinterfacefrequencyislimitedtoexactlythehTfrequencydividedbyfourHyperTransportMegaCoreFunctionUserGuideCMarch2009AlteraCorporationA吉RA2.GettingStartedDesignFlowToevaluatetheHyperTransportMegaCorefunctionusingtheOpenCorePlusfeature,includethesestepsinyourdesignflowObtainandinstalltheHyperTransportMegaCorefunctionTheHyperTransportMegaCorefunctionispartoftheMegaCoreIPLibrary,whichisdistributedwiththeQuartusiisoftwareanddownloadablefromthealterawebsitewww.altera.comoForsystemrequirementsandinstallationinstructions,refertoQuartusIIInstallationLicensingforWindowsandLinuxWorkstationsontheAlterawebsiteatwww.altera.com/literature/lit-qts.ispFigure2-1showsthedirectorystructureafteryouinstalltheHyperTransportMegaCorefunction,whereistheinstallationdirectory.ThedefaultinstallationWindowsisC:altera;onLinuxitislopt/alteraFigure2-1.DirectoryStructureInstallationdirectorypContainstheAlteraMegaCoreIPLibraryandthird-partyIPcoresalteraContainstheAlteraMegaCoreIPLibrarycommonContainssharedcomponentshtContainstheHyperTransportHyperTransportMegacorefunctionfilesanddocumentationdocContainsthedocumentationfortheHyperTransportMegaCorefunctionlibContainsencryptedlower-leveldesignfilesexampleContainsthedesignexamplefortheHyperTransportMegaCorefunction2.CreateacustomvariationoftheHyperTransportMegaCorefunction3.Implementtherestofyourdesignusingthedesignentrymethodofyourchoice4.UsetheIPfunctionalsimulationmodeltoverifytheoperationofyourdesignoFormoreinformationaboutIpfunctionalsimulationmodels,refertotheSimulatingAlteraIPinThird-PartySimulationToolschapterinvolume3oftheQuartusIIHandbook5.UsetheQuartusIIsoftwaretocompileyourdesignCMarch2009AlteraCorporationHyperTransportMegaCoreFunctionUserGuide2-2Chapter2:GettingStartedMegaCoreFunctionWalkthroughIgYoucanalsogenerateanOpenCorePlustime-limitedprogrammingfile,whichyoucanusetoverifytheoperationofyourdesigninhardware6.PurchasealicenseforthehypertransportMegaCorefunctionAfteryouhavepurchasedalicensefortheHypertransportmegaCorefunctionfollowtheseadditionalsteps1.Setuplicensing2.GenerateaprogrammingfilefortheAlteradevice(s)onyourboard3.ProgramtheAlteradevice(s)withthecompleteddesignMegaCoreFunctionWalkthroughThiswalkthroughexplainshowtocreateacustomvariationusingtheAlteraHyperTransportIPToolbenchandtheQuartusIIsoftware,andsimulatethefunctionusinganipfunctionalsimulationmodelandthemodelsimsoftwarewhenyouarefinishedgeneratingyourcustomvariationofthefunction,youcanincorporateitintoⅴouroverallprojectIeIPToolbenchallowsyoutoselectonlylegalcombinationsofparameters,andwarnsouofanyinvalidconfigurationsInthiswalkthroughyoufollowthesestepsCreateaNewQuartusIIProjectaLaunchtheMegaWizardPlug-inManager■Step1:ParameterizeaStep2:SetUpSimulation■Step3:Generate■SimulatethedesignTogenerateawrapperfileandIpfunctionalsimulationmodelusingdefaultvalues,omittheproceduredescribedin"Step1:Parameterizeonpage2-5CreateaNewQuartusllProjectCreateanewQuartusIIprojectwiththeNewProjectWizard,whichspecifiestheworkingdirectoryfortheproject,assignstheprojectname,anddesignatesthenameofthetop-leveldesignentityTocreateanewproject,performthefollowingsteps1.OntheWindowsStartmenu,selectPrograms>Altera>QuartusIItostarttheQuartuslIsoftware.Alternatively,youcanusetheQuartusIIWebeditionsoftware2.IntheQuartusIIwindow,ontheFilemenu,clickNewProjectWizard.Ifyoudidnotturnitoffpreviously,theNewProjectWizardIntroductionpageappears3.OntheNewProjectWizardIntroductionpage,clickNextHyperTransportMegaCoreFunctionUserGuideoMarch2009AlteraCorporation-IMDN开发者社群-imdn.cn"> 150RX/TXShared4.0006,00016150RX/TX16Shared4,1006,200500125(4)RX/TX/RefShared4.1006200500125(4Ref/TxShared4.2006400160150RX/TXNotestotable1-4.Referto"ClockingOptions"onpage3-7formoreinformationabouttheseoptions(2)Otherparameters(BARconfigurations,etc.)varythealutandLogicRegisterutilizationnumbersbyapproximately+/-200(3)Figuresfor-3speedgradedevicesonly(4)WhenusingtheSharedRx/Tx/RefandSharedRef/Txoptions,theuserinterfacefrequencyislimitedtoexactlythehtfrequencydividedbyTable1-5showsperformanceanddeviceutilizationfortheHyperTransportMegaCorefunctioninStratixandStratixGXdevicesTable1-5.HyperTransportMegaCoreFunctionPerformanceinStratixandStratixGXDevicesUserInterfacefmaxParametersUtilizationHTLinkfMAXMHz)MHZ)RXRXSpeedGradePostedNon-PostedResponseClockingOptionLEsM4KBuffersBuffersBuffers)(2Blocks.5-66Sharedrx/tx/ref1240010073)100734448888SharedRef/Tx7,60014400400100{3)100(3)Sharedrxtx7,90016400400>125>100Sharedrxtx8.900125>100168SharedRx/T×Ref9,400124004001003)100316Sharedref/ix9.500144001003)10073)16Sharedrx/x9.700400125Notestotable1-5:(1)RefertoClockingOptions"onpage3-7formoreinformationabouttheseoptions(2)Otherparameters(BARconfigurationsetc.)varytheLEutilizationbyapproximately+/-200LES(3)WhenusingtheSharedRx/Tx/RefandSharedRef/Txoptions,theuserinterfacefrequencyislimitedtoexactlythehTfrequencydividedbyfourHyperTransportMegaCoreFunctionUserGuideCMarch2009AlteraCorporationA吉RA2.GettingStartedDesignFlowToevaluatetheHyperTransportMegaCorefunctionusingtheOpenCorePlusfeature,includethesestepsinyourdesignflowObtainandinstalltheHyperTransportMegaCorefunctionTheHyperTransportMegaCorefunctionispartoftheMegaCoreIPLibrary,whichisdistributedwiththeQuartusiisoftwareanddownloadablefromthealterawebsitewww.altera.comoForsystemrequirementsandinstallationinstructions,refertoQuartusIIInstallationLicensingforWindowsandLinuxWorkstationsontheAlterawebsiteatwww.altera.com/literature/lit-qts.ispFigure2-1showsthedirectorystructureafteryouinstalltheHyperTransportMegaCorefunction,whereistheinstallationdirectory.ThedefaultinstallationWindowsisC:altera;onLinuxitislopt/alteraFigure2-1.DirectoryStructureInstallationdirectorypContainstheAlteraMegaCoreIPLibraryandthird-partyIPcoresalteraContainstheAlteraMegaCoreIPLibrarycommonContainssharedcomponentshtContainstheHyperTransportHyperTransportMegacorefunctionfilesanddocumentationdocContainsthedocumentationfortheHyperTransportMegaCorefunctionlibContainsencryptedlower-leveldesignfilesexampleContainsthedesignexamplefortheHyperTransportMegaCorefunction2.CreateacustomvariationoftheHyperTransportMegaCorefunction3.Implementtherestofyourdesignusingthedesignentrymethodofyourchoice4.UsetheIPfunctionalsimulationmodeltoverifytheoperationofyourdesignoFormoreinformationaboutIpfunctionalsimulationmodels,refertotheSimulatingAlteraIPinThird-PartySimulationToolschapterinvolume3oftheQuartusIIHandbook5.UsetheQuartusIIsoftwaretocompileyourdesignCMarch2009AlteraCorporationHyperTransportMegaCoreFunctionUserGuide2-2Chapter2:GettingStartedMegaCoreFunctionWalkthroughIgYoucanalsogenerateanOpenCorePlustime-limitedprogrammingfile,whichyoucanusetoverifytheoperationofyourdesigninhardware6.PurchasealicenseforthehypertransportMegaCorefunctionAfteryouhavepurchasedalicensefortheHypertransportmegaCorefunctionfollowtheseadditionalsteps1.Setuplicensing2.GenerateaprogrammingfilefortheAlteradevice(s)onyourboard3.ProgramtheAlteradevice(s)withthecompleteddesignMegaCoreFunctionWalkthroughThiswalkthroughexplainshowtocreateacustomvariationusingtheAlteraHyperTransportIPToolbenchandtheQuartusIIsoftware,andsimulatethefunctionusinganipfunctionalsimulationmodelandthemodelsimsoftwarewhenyouarefinishedgeneratingyourcustomvariationofthefunction,youcanincorporateitintoⅴouroverallprojectIeIPToolbenchallowsyoutoselectonlylegalcombinationsofparameters,andwarnsouofanyinvalidconfigurationsInthiswalkthroughyoufollowthesestepsCreateaNewQuartusIIProjectaLaunchtheMegaWizardPlug-inManager■Step1:ParameterizeaStep2:SetUpSimulation■Step3:Generate■SimulatethedesignTogenerateawrapperfileandIpfunctionalsimulationmodelusingdefaultvalues,omittheproceduredescribedin"Step1:Parameterizeonpage2-5CreateaNewQuartusllProjectCreateanewQuartusIIprojectwiththeNewProjectWizard,whichspecifiestheworkingdirectoryfortheproject,assignstheprojectname,anddesignatesthenameofthetop-leveldesignentityTocreateanewproject,performthefollowingsteps1.OntheWindowsStartmenu,selectPrograms>Altera>QuartusIItostarttheQuartuslIsoftware.Alternatively,youcanusetheQuartusIIWebeditionsoftware2.IntheQuartusIIwindow,ontheFilemenu,clickNewProjectWizard.Ifyoudidnotturnitoffpreviously,theNewProjectWizardIntroductionpageappears3.OntheNewProjectWizardIntroductionpage,clickNextHyperTransportMegaCoreFunctionUserGuideoMarch2009AlteraCorporation - IMDN开发者社群-imdn.cn">
登录
首页 » Others » altera公司IP核使用手册.PDF

altera公司IP核使用手册.PDF

于 2020-12-05 发布
0 258
下载积分: 1 下载次数: 1

代码说明:

altera公司IP核使用手册,对于学习EDA技术的学生或工程师有用A吉RAContentsChapter 1. About this MegaCore FunctionRelease informat1-1Device Family Support···Introduction.··········FeaturesOpen core plus evaluation1-3Performance···Chapter 2. Getting StartedDesign Flow衡·鲁·,看·,音番2-1Megacore Function walkthrough2-2Create a New quartus II Pi2-2Launch the mega Wizard Plug-in ManagerStep 1: Parameterize2-5Step 2: Set Up SimulationStep 3: Generate..,2-11Simulate the design2-13Compile the design2-13Pa Device2-14Set Up Licensing2-15ppend the license to yourdat file2-15Specify the License File in the Quartus II Software...2-15Example Simulation and Compilation..2-16Example quartus Ii project2-16Example simulation with Test Vectors,,,,,,2-16Chapter 3. SpecificationsyperTransport Technology Overview1HT SyStems3-2HT Flow ControlHyper Transport MegaCore Function SpecificationPhysical InterfaceSynchronization and alignment ...Protocol interfClocking Options.......HyperTransport Mega Core Function Parameters and HT Link Performance3-10Signals3-14CSR Module...3-31OpenCore plus time-Out BehaviorAppendix A. ParametersIntroduction鲁鲁鲁A-1Parameter listsDevice Family and Read Only registers···········,,,,,,,,,,A-1Base Address Registers番鲁,A-2Clocking OptionsA-3Advanced settingso March 2009 Altera corporationHyperTransport MegaCore Function User GuideAppendix B. Stratix Device Pin AssignmentsIntroductionB-1GuidelinesAppendix C. Example designGeneral descriptionAdditional informationRevision historyInto-lHow to Contact alteraInfo-1Typographic Conventions ..........Info-2Hyper Transport MegaCore Function User Guideo March 2009 Altera CorporationA吉RA1. About this MegaCore FunctionRelease InformationTable 1-1 provides information about this release of the Hyper Transport Mega CoretfunctioTable 1-1. Hyper Transport Mega Core Function Release InformationitenlDescription∨ ersion9.0Release dateMarch 2009Ordering codeIP-HTProduct ID(s)0098Vendor iD(s)6AF7Altera verifies that the current version of the quartus@ll software compiles theprevious version of each MegaCore function. Any exceptions to this verification arereported in the Mega Core lP Library release Notes and Errata. Altera does not verifycompilation with Mega Core function versions older than one releaseDevice Family SupportMegaCore functions provide either full or preliminary support for target Alteradevice families:Full support means the Mega Core function meets all functional and timingrequirements for the device family and may be used in production designsa Preliminary support means the Mega Core function meets all functionalrequirements, but may still be undergoing timing analysis for the device family;itmay be used in production designs with cautionTable 1-2 shows the level of support offered by the Hyper Transport MegaCorefunction for each of the altera device familiesTable 1-2. Device Family SupportDevice FamilySupportHard Copy Stratix@FullStratixFulStratix IIFulStratix‖GXPreliminaryStratix GXOther device familiesNo supportC March 2009 Altera CorporationHyperT ransport Mega Core Function User Guide1-2Chapter 1: About this MegaCore FunctionIntroductionIntroductionThe Hyper Transport Mega Core function implements high-speed packet transfersbetween physical(PhY) and link-layer devices, and is fully compliant with theHyperTransport l/O Link Specification, Revision 1.03. This Mega Core function allowsdesigners to interface to a wide range of Hyper TransportTm technology(hT)enableddevices quickly and easily, including network processors, coprocessors, videochipsets, and ASICsFeaturesThe Hyper Transport Mega Core function has the following features8-bit fully integrated hT end-chain interfacePacket-based protocolDual unidirectional point-to-point linksUp to 16 Gigabits per second(Gbps)throughput(8 Gbps in each direction)200, 300, and 400 MHz DDR links in Stratix and Stratix GX devices200, 300, 400, and 500 MHz ddr links in Stratix II and Stratix II GX devicesLow-swing differential signaling with 100-Q2 differential impedanceHardware verified with Hyper fransport interfaces on multiple industry standardprocessor and bridge devicesFully parameterized mega core function allows flexible, easy configurationFully optimized for the altera stratix Il, Stratix, Stratix GX, and Stratix II GXevice famillesApplication-side interface uses the Altera AtlanticTM interface standardManages Hr flow control, optimizing performance and ease of useIndependent buffering for each HT virtual channelAutomatic handling of ht ordering rulesStalling of one virtual channel does not delay other virtual channels(subject toorderingFlexible parameterized buffer sizes, allowing customization depending onsystem requirementsUser interface has independent interfaces for the HT virtual channels, allowingindependent user logic designCyclic redundancy code(crc) generation and checking to preserve data integrityIntegrated detection and response to common HT error conditions■ CRC errorsEnd-chain errorsFully integrated HT configuration space includes all required configuration spaceregisters and HT capabilities list registersHyper Transport MegaCore Function User Guideo March 2009 Altera CorporationChapter 1: About this MegaCore FunctionPerformance32-bit and 64-bit support across all base address registers bars)automatically handles all csr space accessesVerilog HDL and VHdL simulation supportOpen Core Plus EvaluationWith the Altera free Open Core Plus evaluation feature, you can perform the followingSimulate the behavior of a mcgafunction(Altera MegaCore function or AMPPmegafunction) within your systema Verify the functionality of your design, as well as quickly and easily evaluate itssize and speedGenerate time-limited device programming files for designs that includeMegaCore functionsProgram a device and verify your design in hardwareYou only need to purchase a license for the Mega Core function when you arecompletely satisfied with its functionality and performance and want to take yourdesign to productiono For more information about Open Core Plus hardware evaluation using theHyperTransport MegaCore function, refer to"Open Core Plus Time-Out Behavior"onpage 3-40 and AN 320: Open Core Plus Evaluation of megafunctionsPerformanceThe Hyper Transport Mega Core function uses 20 differential I/O pin pairs and 2single-ended I/O pins, requiring 42 pins total. Table 1-3 through Table 1-5 showtypical performance and adaptive look-up table (alut) or logic element (LE)usagefor the HyperTransport MegaCore function in Stratix II GX, Stratix IL, Stratix, andStratix GX devices respectively, using the Quartus@ II software version 7.1Table 1-3 shows the maximum supported data rates in megabits per second(Mbps)by device family and speed gradeTable 1-3. Maximum Supported Hyper Transport Data Rates (Note 1)Speed GradeDevice Family-36Stratix ll GX devices 1000 Mbps 1000 Mbps 800 MbpsNA(2)N/A(2NA(2)Stratix devices1000 Mbps 1000 Mbps 800 Mbps N/A(2)NA(2)NA(2)Stratix devicesN/A(2N/A(2)00 Mbps 800 Mbps 600 Mbps400 MbpsFlip-Chip packagesStratix devicesNA(2)NA(2)NA(2)600 Mbps400 Mbps400 Mbps(Wire Bond packagesStratix GX devicesN/A(2) N/A(2)800 Mbps 800 Mbps 600 Mbps N/A(2)Notes to table 1-3(1)Rates are per interface bit. Multiply by eight to calculate the uni-directional data rate of an 8-bit inter face(2) Devices ot this speed grade are not ottered in this device familyC March 2009 Altera CorporationHyperTransport Mega Core Function User GuideChapter 1: About this MegaCore FunctionPerformanceTable 1-4 shows performance and device utilization for the Hyper TransportMegaCore function in Stratix II and Stratix II GX devicesTable 1-4. Hyper Transport Mega Core Function Performance in Stratix ll and Stratix ll GX DevicesParametersMemoryUserRXCombinationalHT Link InterfacePosted Non-Posted Response ClockingALUTSLogicfMAX(MHz) MAx(MHz)Buffers BuffersBuffers Option(12)Registers M4K M512 ( 3)3)Shared3.5005200120500125(4RX/TX/Ref35005200500Ref/x8Shared36005400160500>150RX/TXShared4.0006,00016150RX/TX16Shared4,1006,200500125(4)RX/TX/RefShared4.1006200500125(4Ref/TxShared4.2006400160150RX/TXNotes to table 1-4.Refer to " Clocking Options "on page 3-7 for more information about these options(2 )Other parameters(BAR configurations, etc. )vary the alut and Logic Register utilization numbers by approximately +/-200(3)Figures for -3 speed grade devices only(4) When using the Shared Rx/Tx/Ref and Shared Ref/Tx options, the user interface frequency is limited to exactly the ht frequency divided byTable 1-5 shows performance and device utilization for the Hyper TransportMegaCore function in Stratix and Stratix GX devicesTable 1-5. Hyper Transport Mega Core Function Performance in Stratix and Stratix GX DevicesUser Interface fmaxParametersUtilizationHT Link fMAX MHz)MHZ)RXRXSpeed GradePosted Non-Posted Response Clocking Option LEsM4KBuffers BuffersBuffers)(2 Blocks.5-66Shared rx/tx/ref1240010073)100734448888Shared Ref/Tx 7, 60014400400100{3)100(3)Shared rxtx7,90016400400>125>100Shared rxtx8.900125>100168Shared Rx/T×Ref9,400124004001003)100316Shared ref/ ix9.500144001003)10073)16Shared rx/x9.700400125Notes to table 1-5:(1)Refer to Clocking Options"on page 3-7 for more information about these options(2 )Other parameters( BAR configurations etc. )vary the LE utilization by approximately +/-200 LES(3 )When using the Shared Rx/Tx/ Ref and Shared Ref/Tx options, the user interface frequency is limited to exactly the hT frequency divided by fourHyper Transport MegaCore Function User GuideC March 2009 Altera CorporationA吉RA2. Getting StartedDesign FlowTo evaluate the HyperTransport Mega Core function using the Open Core Plus feature,include these steps in your design flowObtain and install the HyperTransport Mega Core functionThe HyperTransport Mega Core function is part of the MegaCore IP Library, which isdistributed with the Quartus ii software and downloadable from the altera websitewww.altera.como For system requirements and installation instructions, refer to Quartus II InstallationLicensing for Windows and Linux Workstations on the Altera website atwww.altera.com/literature/lit-qts.ispFigure 2-1 shows the directory structure after you install the HyperTransportMegaCore function, where is the installation directory. The default installationWindows is C: altera ; on Linux it islopt/alteraFigure 2-1. Directory StructureInstallation directorypContains the Altera MegaCore IP Library and third-party IP coresalteraContains the Altera MegaCore IP LibrarycommonContains shared componentshtContains the Hyper Transport Hyper Transport Megacore function files and documentationdocContains the documentation for the Hyper Transport MegaCore functionlibContains encrypted lower-level design filesexampleContains the design example for the Hyper Transport Mega Core function2. Create a custom variation of the Hyper Transport Mega Core function3. Implement the rest of your design using the design entry method of your choice4. Use the IP functional simulation model to verify the operation of your designo For more information about Ip functional simulation models, refer to the SimulatingAltera IP in Third-Party Simulation Tools chapter in volume 3 of the Quartus II Handbook5. Use the Quartus II software to compile your designC March 2009 Altera CorporationHyperT ransport Mega Core Function User Guide2-2Chapter 2: Getting StartedMega Core Function WalkthroughIg You can also generate an Open Core Plus time-limited programming file,which you can use to verify the operation of your design in hardware6. Purchase a license for the hypertransport Mega Core functionAfter you have purchased a license for the Hyper transport mega Core functionfollow these additional steps1. Set up licensing2. Generate a programming file for the Altera device(s)on your board3. Program the Altera device(s)with the completed designMegaCore Function WalkthroughThis walkthrough explains how to create a custom variation using the AlteraHyper Transport IP Toolbench and the Quartus II software, and simulate the functionusing an ip functional simulation model and the modelsim software when you arefinished generating your custom variation of the function, you can incorporate it intoⅴ our overall projectIe IP Toolbench allows you to select only legal combinations of parameters, and warnsou of any invalid configurationsIn this walkthrough you follow these stepsCreate a New Quartus II Projecta Launch the MegaWizard Plug-in Manager■Step1: Parameterizea Step 2: Set Up Simulation■Step3: Generate■ Simulate the designTo generate a wrapper file and Ip functional simulation model using default values,omit the procedure described in"Step 1: Parameterizeon page 2-5Create a New Quartus ll ProjectCreate a new Quartus II project with the New Project Wizard, which specifies theworking directory for the project, assigns the project name, and designates the nameof the top-level design entityTo create a new project, perform the following steps1. On the Windows Start menu, select Programs> Altera> Quartus II tostart the Quartus lI software. Alternatively, you can use the Quartus II Web editionsoftware2. In the Quartus II window, on the File menu, click New Project Wizard. If you didnot turn it off previously, the New Project Wizard Introduction page appears3. On the New Project Wizard Introduction page, click NextHyper Transport MegaCore Function User Guideo March 2009 Altera Corporation

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • VC++ 四种进间通信的完整实例
    VC++ 四种进程间通信的完整实例。MFC绝佳教程。
    2020-12-01下载
    积分:1
  • 全国电子设计大赛电源类学习规划
    全国电子设计大赛电源类学习规划,详细编写了电源类入门和深入学习的知道方向
    2020-12-10下载
    积分:1
  • 利用Hilbert变换提取信号瞬时特征的算法实现
    研究了在工程中如何通过算法来实现利用 Hilbert 变换提取信号的瞬时特征。深入地分析了如何利用数值微分法提高提取瞬时频率特征的精度。最后,给出了一种可行的算法,并通过实验验证了这种方法可以在工程中有效地提取信号的瞬时频率特征。84微机发展第13卷①H(x)=y;H(x)=y;(i=0,1,…n)(j=0,1(11)②在每个小区间/x1,x1+17i=0,1,…,n-1)上由相关定理知:当划分的小区间的长度趋于零时H(x)是三次多项式。s(x)及其一至三阶导数分别一致收敛到f(x)及其一至可以写出分段三次 Hermite插值函数的分段表达式:三阶导数。所以用三次样条插值函数去近似表达用离散值(x)=(1+2x-x过+)2v;+表示的原函数,具有较高的可靠性。3)两种插值的比较挨尔米特 Hermite插值较三次样I-i,1+2条插值具有较好的稳定性与收敛性,但它只能休让各段曲线在连接点上的连续性,而不能保证整条曲线在这些点上y+1Ditl的光滑性。而有时不仅要求曲线连续,而且要求曲线的曲X/(i=0,18)率也连续即要求分段插值函数具有连续的一阶导数,埃H(x)的导数为尔米特 Hermite插值此时就不能满足上述要求6次样条插值较埃尔米特 Hermite插值具有较好的H(x光滑程度,用三次样条插值函数求数值导数比用埃尔米特+2(x-x2(xHermite插值可靠性大,但计算比较复杂,二者的区别见图h2yV+17, h(i-0,12)三次样条插值。已知函数y=f(x)在区间/a,b上的n+1个节点上的值y=f(x;)(i=0,1,…m),求插值函数s(x),使(i=0,1图4 Hermite插值与三次样条插值的比较图2在每个小区间x,x+1(=0.1.…n-1)上利用埃尔米特 Hermite插值得到的2FSK信号的瞬时s(x是三次多项式,记为s(x频率见图5,利用二次样条插值得到的该信号的瞬时频率③3(x)在la,b/上二阶连续可徵。见图6。数s(x)称为f(x)的三次样条插值函数可以利用节点处的二阶导数值为参数,也可以利用节点处的导数值为参数求三次样条插值涵数的表达式。若利用节点处的一阶导数值为参数,求得的三次样条插值函数的表达式为(x)=M-1x-x-)36 h6 hMihi5 DEMeN5a亩pai66hx∈[x;,x+17,b-x+1-x,S"(x)=M图5由 Hermite插值提取图6由三次样条插值提取(j=0,1的2FSK信号的瞬时频率的2FSK信号的瞬时频率对s(x)进行求导,利用S(x)在节点处一阶导数连从图5、图6可以看出利用三次样条插值得到的瞬时续的性质结合边界条件求解出参数M,把求得的参数代频率可以准确反映出信号具有的的摒时频率特征而利用入公式(10),即得三次样条插值函数的s(x)分段表示式。埃尔米特 Hermite插值得到的瞬时频率与信号具有的瞬s;(x)的导数为时频率特征不符。这是因为利用数值微分法求瞬时频率插值以后喫进行求导。三次样条插值函数具有连续的二阶M2 hiM; 2 hj导数,因而具有较好的光滑程度,符合求导条件,所以可以J+1-h(M2+1-M/)准确求出信号的瞬时频率;而埃尔米特 Hernite插值.不够光滑,虽能保证插值多项式收敛于原函数,但不能保证插x Elx,x;+1 h,=xi+I-x, S(xj )=M;值多顷式的导数收敛于原函数的导数,所以求得的值与信o1994-2010ChinaAcademicJournalElectronicPublishingHouse.Allrightsreservedhttp://www.cnki.net第6期刘慧婷等:利用 Hilbert变提取信号瞵时特征的算法实现号实际的瞬时频率值不符。实验结果和理论分析结果是(1) Hilbert变换只能近似应用于窄带信号,即形如纹的(t)=a(1)cosu+6(1)),其中>>B(B为信号带2.3.3结论宽)的信号。但实际应用中,存在许多非窄带信号, Hilbcrt利用数值微分法求瞬时频率ω(t)的步骤可以归纳变换对这些信号无能为力为:首先通过三次样条插值得到分段多项式p(1),(2)对于任意给定时刻,通过 Hilbert变换运算后的结pp(抄);然后分别对分段多项式p(t),Pp()关于变量t果只能存在一个频率值,即只能处理任何时刻为单一频率进行求导,得到pd(,ppd(t);最后求出每一时刻t所对的信号。这显然不合理,因为在实东中同一信号会含有多应的导数值,即求得t(t,u(t)。再把求得的值代入公种频率成分式(6)就完成了提取瞬时频率ω(1)的过程。求解结果见(3)对信号进行 Hilbert变换时,信号的两端会出现严图7重的端点效应。提取某些信号瞬时特征所得的瞬时频率在局部出现了负数,端点效应是造成负频率的一个原因而端点效应可以通过利用特征波对原有数据序列进行延拓的方法来解决,具体解决办法将在今后讨论。尽管目前出现了EMD担论4,其目的是将不满足Hibt变换的信号进行分解得到若干个IMF( intrinsic mode function),然后进行 Hilbert运算,达到提取信号瞬时特征的目的。该理论开辟了信号处理的新空间。但它还不够成熟还需喫进一步的完善和研究图7利用数值微分法提取信号的瞬时频率特征参考文献从图7可以看出,以三次烊条指值进行的数值微分可[]黄长蓉. Hilbert变换及其应用[J].成都气象学院学报以准确岀提取岀信号的瞬时频率特征。199,14(3):273-276.[2]杨小牛,楼A义,徐建良.软件无线电原理与应用[M].北3结束语京:电子工业出版社,2001在工程中, Hilbert变换使得我们对短信号和复杂信号[3]丁丽妤.数值计算方法[M].北京:北京理工大学出版社,的摒时特征的提取成为可能特别是对瞬时频率特征提1997取,在工程中具有十公重要的意义。文中讨论的利用三次[4] Huang N e. The empirical mode decomposition and the hilbert样条插值进行数值徵分以提取瞬时特征的方法是可行的,spectrum for nonlinear and nor stationary time series anal ysis但还存在着如下问题。[].Proc.R.soc.Lond.A,1998,454:903-995(上接第81页)218994。例22(x)=(1-2siny=223101075一般的(A算法计算了120代,求到的最大值为454176.219。154370083改进的α算法计算了34代,求到的最大值为1048575.875。改进后的αA算法收敛速度(指迭代次数)比一般GA算法几乎快了一个数量级,精度也提高了不少,特别是例2的最大值提高一倍多,速度提高这么快是未曾料到的y=74958参考文献+4X Axl Thla[1]陈国良.遗传算法及其应用[M]·北京:人民邮电出版社,图2函数2的图像1996一般GA算法计算了20代,求到的最大值为[2]袁亚湘,孙文瑜.最优化理沦与方法[M]北京:科学出版社,19991.218983[3]张铃,张钹·遗传算法杋理的硏究[J]·软件学报,改进(A算法计算了5代,求到的最大值为2000,11(7):945952o1994-2010ChinaacAdemicJournalElectronicPublishingHouse.Allrightsreservedhttp://www.cnki.net
    2020-12-05下载
    积分:1
  • 图像去雾代码集合
    若干除雾算法的集合,有matlab程序也有c++程序,采用暗原色先验算法、暗原色先验改进算法及图像增强算法进行图像除雾
    2020-12-04下载
    积分:1
  • web前端课设计以及报告,jquery+js+css+html
    web前端课程设计,jquery+js+css+html,实现基本前台所有界面,
    2020-12-06下载
    积分:1
  • SAR成像算法MATLAB仿真.rar
    【实例简介】关于SAR成像算法仿真的MATLAB源程序,包含RD算法、CS算法、wk算法等~可作为入门及之后的开发之用~具有重要的参考意义~
    2021-11-28 00:36:56下载
    积分:1
  • 基于landsat8利用水体指数提取海岸线
    基于landsat8影响,利用归一化水体指数在envi和arcgis平台提取海岸线
    2020-11-28下载
    积分:1
  • 基于STM32F103ZET6的HCSR04的超声波测距并用LCD显示
    利用STM32单片机驱动HCSR04超声波测距模块,并增加蜂鸣器报警装置和LCD显示装置。LCD实时显示测距仪和被测物之间的距离信息并用点阵表示。距离过近则蜂鸣器报警。
    2020-11-28下载
    积分:1
  • 三维激光点云las数据
    一段城市道路的车载激光点云las数据,包含路面、路灯、树木、建筑物、车辆等地物,可用作点云数据处理的实验数据。
    2021-05-06下载
    积分:1
  • NURBS曲线MATLAB绘制
    NURbs曲线绘制,通过MATLAB绘制NUrbs曲线
    2021-05-06下载
    积分:1
  • 696518资源总数
  • 106148会员总数
  • 10今日下载