Въведение
Notlongago,AlteraofficiallylaunchedtheNiosIIseriesof32-bitRISCembeddedprocessors.TheNiosIIseriesofsoft-coreprocessorsareAltera'ssecond-generationFPGAembeddedprocessors.Itsperformanceexceeds200DMIPS,anditonlycosts35centstoimplementinAlteraFPGAs.Altera'sStratix,StratixGX,StratixII,andCycloneseriesFPGAsfullysupportNiosIIprocessors,andfutureFPGAdeviceswillalsosupportNiosII.
SinceAlteralaunchedthefirst16-bitNiosprocessorin2000,ithasdeliveredmorethan13,000Niosdevelopmentkits,andNioshasbecomethemostpopularsoft-coreprocessor.ThenewlylaunchedNiosIIseriesadoptsabrand-newarchitectureandhasahigherlevelofefficiencyandperformancethanthefirst-generationNios.Comparedwiththefirstgeneration,theNiosIIcoreoccupieslessthan50%ofFPGAresourcesonaverage,andthecomputingperformancehasdoubled.
Серията NiosII включва 3 продукта, а именно: NiosII/f(бърз)-най-висока производителност на системата,средно използване на FPGA;NiosII/s(стандартен)-висока производителност,ниско използване на FPGA;NiosII/e(икономичен)-ниска производителност,най-ниско използване на FPGA.Тези 3 продукта имат основни структурни единици от 32-битов процесор-32-битов размер на инструкции,32-битови данни и адрес -битови регистри с общо предназначение и 32 външни източника на прекъсване; използвайки същата архитектура на набор от инструкции (ISA), 100% съвместима с двоичен код, дизайнерите могат да променят процесора според промените в системните изисквания и да избират най-доброто решение, което отговаря на производителността и разходите, без да се отразява на съществуващата инвестиция в софтуер.
Inparticular,theNiosIIseriessupportstheuseofdedicatedcommands.Thededicatedinstructionisahardwaremoduleaddedbytheuser,whichaddsanarithmeticlogicunit(ALU).Userscancreateupto256dedicatedinstructionsforeachNiosIIprocessorusedinthesystem,whichallowsdesignerstofine-tunethesystemhardwaretomeetperformancegoals.ThededicatedinstructionlogicisthesameastheNiosIIinstructionitself.Itcanfetchvaluesfromuptotwosourceregistersandoptionallywritetheresultbacktothetargetregister.Atthesametime,theNiosIIseriessupportsmorethan60peripheraloptions.Developerscanchoosetherightperipheralsandgetthemostsuitablecombinationofprocessors,peripheralsandinterfaceswithouthavingtopayforsiliconfunctionsthatarenotusedatall.
TheNiosIIseriescanmeettheneedsofanyapplicationof32-bitembeddedmicroprocessors.Customerscantransplantthefirst-generationNiosprocessordesigntoacertainNiosIIprocessor.AlterawillsupportexistingFPGAsforalongtime.Thefirst-generationNiosprocessorintheseries.Inaddition,Alteraprovidesaone-clickmigrationoptionthatcanbeupgradedtotheNiosIIseries.NiosIIprocessorscanalsobeimplementedinHardCopydevices,andAlteraalsoprovidesASICtransplantationforsystemsbasedonNiosIIprocessors.
TheNiosIIprocessorhasacompletesoftwaredevelopmentkit,includingacompiler,integrateddevelopmentenvironment(IDE),JTAGdebugger,real-timeoperatingsystem(RTOS)andTCP/IPprotocolstack.ThedesignercanusetheSOPCBuildersystemdevelopmenttoolintheAlteraQuartusIIdevelopmentsoftwaretoeasilycreateadedicatedprocessorsystem,andcanaddthenumberofNiosIIprocessorcoresaccordingtotheneedsofthesystem.
TheNiosIIsoftwaredevelopmenttoolcanbeusedtobuildsoftwarefortheNiosIIsystem,thatis,one-clickautomaticgenerationofadedicatedC/C++operatingenvironmentsuitableforsystemhardware.NiosIIintegrateddevelopmentenvironment(IDE)providesmanysoftwaretemplatestosimplifyprojectsettings.Inaddition,theNiosIIdevelopmentkitincludestwothird-partyreal-timeoperatingsystems(RTOS)-MicroC/OS-II(Micrium),NucleusPlus(ATI/Mentor)andTCP/IPprotocolstackfornetworkapplications.
Foralongtime,thereasonwhyAlterahasbeenpursuingtheembeddedprocessorstrategyisthatastheapplicationofASICdevelopmentisincreasinglytroubledbycosts,OEMsareincreasinglyturningtoFPGAstobuildtheirownsystems.Mostofthesesystemsrequireaprocessor,andAlteraprovidesdesignerswithflexibleembeddedprocessorsolutionsoptimizedforFPGAsthatcanmeettheneedsofthe16-bitand32-bitembeddedprocessormarket.Itisestimatedthatby2007,themarketvaluewillreach11billionUSdollars.
Theadvantageofusingsoft-coreprocessorsinFPGAsoverhard-coresisthathard-coreimplementationshavenoflexibilityandusuallycannotusethelatesttechnology.Asthesystembecomesmoreadvanced,solutionsbasedonstandardprocessorswillbeeliminated,whilesolutionsbasedonNiosIIprocessorsareconstructedbasedonHDLsourcecode,whichcanbemodifiedtomeetnewsystemrequirementsandavoidthefateofbeingeliminated.ByimplementingtheprocessorasanHDLIPcore,developerscanfullycustomizetheCPUandperipheralstoobtainaprocessorthatjustmeetstheneeds.
Характеристика
TheNios®IIseriesofembeddedprocessorsarespeciallyoptimizedfortheintegratedapplicationsofAltera®FPGAsandProgrammableSystem-on-Chip(SOPC).Table1detailsthecharacteristicsoftheNiosIIsoft-coreembeddedprocessorseries.Formoregeneralinformation,pleaserefertotheNiosIIintroductionpage.
Таблица 1. Характеристики на серията вградени процесори Nios II
Представено описание
Процес и инструменти за проектиране
DetailsofhardwaredevelopmenttoolsonthispageListedthedevelopmenttoolsusedtobuildtheNiosIIprocessorhardwaresystem.
SoftwaredevelopmenttoolsThispageprovidesinformationabouttheNiosIIintegrateddevelopmentenvironment(IDE),whichisanintegrateddevelopmentenvironmentwidelyusedbydevelopers,includingediting,compiling,anddebuggingapplicationsoftware..
DevelopmentkitAlteraanditspartnersprovidealargenumberofdevelopmentboardkitsthatusetheNiosIIseriesofembeddedprocessors.
System-leveldesignflowAltera’sSOPCBuildertoolprovidestheabilitytoquicklybuildSOPCsystems.ThisarchitecturecanincludeoneorseveralCPUs,providememoryinterfaces,peripheraldevices,andsysteminterconnectionlogic.system.
Архитектура и характеристики
NiosIIprocessorcoreNiosIIprocessorseriesconsistsofthreedifferentcores,whichcanflexiblycontrolcostandperformance,thushavingawiderangeofapplications.
JTAGdebuggingmoduleTheJTAGdebuggingmoduleprovidestheon-chipcontrol,debuggingandcommunicationfunctionsoftheNiosIIprocessorthrougharemotePChost.ThisisaverycompetitivefeatureoftheNiosIIprocessor.
UserinstructionsDeveloperscanaddhardwaretotheNiosIICPUcoretoperformcomplexcomputingtasksandprovideaccelerationalgorithmsforsoftwarewithtighttimingrequirements.
PeripheralsandinterfacesTheNiosIIdevelopmentkitincludesasetofstandardperipheralequipmentlibraries,whichcanbeusedfreeofchargeinAltera'sFPGA.
Avalon™SwitchedBusTheAvalonSwitchedBusimplementsnetworkconnectionsbetweenprocessors,peripherals,andinterfacecircuits,andprovideshigh-bandwidthdatapaths,multiplechannels,andreal-timeprocessingcapabilities.AvalonswitchingbuscanbeautomaticallygeneratedbycallingSOPCBuilderdesignsoftware.
Ресурси за проектиране
NiosIIprocessorsupportNiosIIprocessorsupportpageprovidesavarietyofinformationhelpfultoNiosIIdesigners,includinglicenses,downloads,andreferencedesigns,Documentation,onlinedisplayandcommonproblems.
EmbeddedProcessorSolutionCenterTheEmbeddedProcessorSolutionCenterprovidesalotofinformationtohelpdevelopersimplementsystemdesignsusingAltera'sembeddedprocessors.Theavailableinformationincludesdevicesupport,softwaredevelopmenttools,peripheralequipmentandinterfaces,training,technicalsupportandmaterials.
NiosrenewalinformationTheNiosIIdevelopmentkitincludesaone-yearupgradelicensefortheCPU,peripherals,andembeddedsoftwaredevelopmenttools.(ThisdoesnotincludeQuartus®IIsoftwareupgrades.)CustomerscanorderadditionalinformationincludingNiosIIprocessorupgradeseachyearthroughtheNiosrenewalprogram.
NiosIIEmbeddedProcessorQuestionsandAnswersPageThispageprovidesfrequentlyaskedquestionsandanswersaboutAlteraNiosIIseriesembeddedprocessors.
TheexcellentcharacteristicsofStratix®IIdevicesandNiosIIprocessorseriesStratixIIdevicestructurecombinedwithNiosIIembeddedprocessorseriesprovideunparalleledprocessingcapabilitiestomeettheneedsofnetwork,communication,datasignalprocessing(DSP)application,massstorageandotherhighbandwidthsystemapplicationrequirements.
ThecombinationoftheexcellentfeaturesofStratixdevicesandNiosIIprocessorseriesStratixFPGAstructureandNiosIIembeddedprocessorprovideshighprocessingpowertomeettheneedsofhigh-bandwidthsystemapplications.
Cyclone™devicesandNiosIIprocessorseriesuseNiosIIembeddedprocessorseriesinCyclonedevices,reducingcosts,increasingflexibility,andprovidinglow-costdiscretemicroprocessorsinprice-sensitiveapplicationenvironmentsThedeviceprovidesanidealsubstitute.