101InnovationDriveSanJose,CA95134(408)544-7000:3.0.0DocumentDate:January2005Copyright©2005AlteraCorporation.Allrightsreserved.Altera,TheProgrammableSolutionsCompany,thestylizedAlteralogo,specificdevicedes-ignations,andallotherwordsandlogosthatareidentifiedastrademarksand/orservicemarksare,unlessnotedotherwise,thetrademarksandservicemarksofAlteraCorporationintheU.S.andothercountries.Allotherproductorservicenamesarethepropertyoftheirrespectiveholders.Al-teraproductsareprotectedundernumerousU.S.andforeignpatentsandpendingapplications,maskworkrights,andcopyrights.AlterawarrantsperformanceofitssemiconductorproductstocurrentspecificationsinaccordancewithAltera'sstandardwarranty,butreservestherighttomakechangestoanyproductsandservicesatanytimewithoutnotice.Alteraassumesnoresponsibilityorliabilityarisingoutoftheap-plicationoruseofanyinformation,product,orservicedescribedhereinexceptasexpresslyagreedtoinwritingbyAlteraCorporation.Alteracustomersareadvisedtoobtainthelatestversionofdevicespecificationsbeforerelyingonanypublishedin-formationandbeforeplacingordersforproductsorservices.iiDSPBuilderVersion3.0.0AlteraCorporationDSPBuilderReferenceManualPreliminaryJanuary2005MNL-DSPBLDR-2.0AlteraCorporationiiiJanuary2005ContentsAboutThisManual................................................................................viiRevisionHistory.....................................................................................................................................viiHowtoContactAltera...........................................................................................................................viiTypographicConventions....................................................................................................................viiiChapter1.AltLabLibraryIntroduction............................................................................................................................................1–1BusProbeBlock.....................................................................................................................................1–1DeviceProgrammerBlock....................................................................................................................1–2HDLSubSystemBlock..........................................................................................................................1–3HILBlock................................................................................................................................................1–6NodeBlock.............................................................................................................................................1–9QuartusIIGlobalProjectAssignmentBlock...................................................................................1–10QuartusIIPinoutAssignmentBlock................................................................................................1–11SignalCompilerBlock..........................................................................................................................1–13SignalCompilerDataWidthPropagation...................................................................................1–17TappedDelayLine....................................................................................................................1–18ArithmeticOperation...............................................................................................................1–19SignalCompilerClockAssignment..............................................................................................1–22DSPBuilderReportFile.................................................................................................................1–26SignalTapIIAnalysisBlock...............................................................................................................1–28SignalTapIIDesignFlow..............................................................................................................1–28SignalTapIINodes.........................................................................................................................1–33SignalTapIITriggerConditions..................................................................................................1–33SubSystemBuilderBlock....................................................................................................................1–34VCDSinkBlock.....................................................................................................................................1–36Chapter2.ArithmeticLibraryIntroduction............................................................................................................................................2–1BarrelShifterBlock................................................................................................................................2–1BitLevelSumofProductsBloc