版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
1、SW Quality: essential for NXPpresentation for Bits&Chips 2008, Eindhoven, 9 October 2008Kees Lepoeter, NXP product manager IP & SW QualityV3, 15 September 2008August 2008 CONFIDENTIALSWTC, june 2008 2 2 2Outline Introducing NXP SemiconductorsTrendsSW Quality: do we have an issue?Current init
2、iatives in NXPSW Quality landscapeSW CertificationConclusionsAugust 2008 CONFIDENTIALSWTC, june 2008 3NXP SemiconductorsSpin-out of Royal Philips Electronics Semiconductor DivisionTop-10 global supplier with Sales of $ 6.32 Bln (2007*)31,000 employees / 6,000 engineersInvesting $1.4 Bln in R&D a
3、nnually (2007*)5,700+ patent families More than 26 R&D centers in 12 countriesParticipation in over 100 standardization bodies and consortia*) These figures include the Mobile & Personal Business which is largely part of the ST NXP Wireless JV since August 2, 2008August 2008 CONFIDENTIALSWTC
4、, june 2008 4TrendsInnovation and time-to-market determine margins Winner takes it allGrowing software complexity in silicon industry Including increasing amount of 3rd party SWGrowing % of IC returns due to software failures Can lead to project delay, cost of non-quality or unsatisfied customersHig
5、h quality drive from customers High quality requirements especially from the Automotive industry Requesting TS16949, Zero Defect, MISRA, Automotive Spice, Use of advanced tooling at customer site to check incoming software E.g. QAC, Coverity, Klocwork, August 2008 CONFIDENTIALSWTC, june 2008 5Exampl
6、es from Automotive industryPrevention of SW problem (un-initialized memory) in Car Radio chip Estimated cost in case of recall: 5 million Cars x 100$ / car Fortunately this could be solved by SW workaroundAutomotive customers require Quality Agreement signed SW quality agreement needed as prerequisi
7、te for new businessVery high quality requirementsAutomotive Spice level 3 (CMMi like, but more strict)MISRA, metrics, review suppliers, PR support guarantees, etc.If these requirements are not met, product is not acceptedAugust 2008 CONFIDENTIALSWTC, june 2008 6What is this ?/* Woooops. */#define RL
8、C_MOD_N_COMPARE(_n1, _n2, _b1, _b2, _N) ( (_n1) = (_n2) ? 0 : (_b1) = (_b2) ? (_n1)-(_n2) : (_b1) = (_n1) & (_b1) (_n2) | (_b1) = (_n2) & (_b1) (_n2) & (_b1) (_n1) ? (_n1) -(_n2) : (_n1) (_n2) ? -(_n2) + (_N) - (_n1) : (_n1) + (_N) - (_n2) )August 2008 CONFIDENTIALSWTC, june 2008 7Explan
9、ationThis is a C macroThis macro belongs to one of the key NXP products This macro contained (at least) one bugThe effect of this bug has troubled a large NXP customer recentlyAfter a waste of time of several people in integration and development teams, two full days of analysis from an architect ha
10、ve been necessary to discover the root cause of the issue (signedness issue) and then the bugIt appeared that this bug was related to a MISRA violation, and could have been prevented if Static Code Analysis would have been applied: NXP Rule QL3:MISRA.12.9 The unary minus operator shall not be applie
11、d to an expression whose underlying type is unsigned.August 2008 CONFIDENTIALSWTC, june 2008 8 8 8Outline Introducing NXP SemiconductorsTrendsSW Quality: do we have an issue?Current initiatives in NXPSW Quality landscapeSW CertificationConclusionsAugust 2008 CONFIDENTIALSWTC, june 2008 9HumanResourc
12、esMethods& ToolsArchitectureProcess Enabling dimensionReference Model to address SW topicsTimeToMarketBudget &BusinessModelsProductSpecification & QualityProject dimensionHumanResourcesMethods& ToolsArchitectureProcess Enabling dimensionReference ModelHow do enabling technologies inf
13、luence SW quality?Process Mature process condition for (SW) quality CMMi / DisciplineArchitecture Excellent, but simple design is key to high quality (SW) productMethods & Tools Landscape of methods & tools to verify specification, design and implementation quality Focus of this presentation
14、August 2008 CONFIDENTIALSWTC, june 2008 10Currently running initiatives1.NXP-wide deployment & management attentionMISRA-C Coding guidelinesNXP dashboard with SW Quality metricsExpert reviews e.g. w.r.t. SW architecture and Project managementRequirements coverage and traceabilityTest/decision co
15、veragePost-release Defect Density2.Enablers and pilotsSW Design Environment based on EclipseStandardized configuration mgt approachDiversity Management ready for roll-outRoot cause analysis of problem reportsFormal methods3.Research topicsModel driven engineeringAugust 2008 CONFIDENTIALSWTC, june 20
16、08 11Static Code analysis in NXP Deployed at all SW development teams in NXP that develop software in C The following standards and tools are being introduced: MISRA coding standardsindustry standard, widely used and accepted in the embedded system domain QAC static code analysis toolthis will check
17、 the SW for MoReUse/MISRA compliance TICS quality database and reporting infrastructureAugust 2008 CONFIDENTIALSWTC, june 2008 12MISRA Code Quality Levelsas defined within NXP1: Undefined Behaviour2: Dangerous Constructs3: Hard to Debug4: Maintainability Issues5: Good Practices6: Advisory MISRA Rule
18、sFocus on elimination ofLevel-1 and 2violationsLevel-5 is equivalent tofull MISRAcomplianceAugust 2008 CONFIDENTIALSWTC, june 2008 13Next step: Introduce Advanced Static Code CheckerRationale New generation of Static Code Analysis tools has emerged in the past years These tools are known to be very
19、effective in finding actual bugs in the SW such as memory corruption and locking errors. Some can also detect security vulnerabilities Customers such as Samsung use these tools as incoming inspectionApproach Select preferred tool for NXP (evaluation currently ongoing) Assess applicability for bug hu
20、nting, data & control flow analysis, security rules checking, MISRA compliance checking Deploy in 2009August 2008 CONFIDENTIALSWTC, june 2008 14Metrics related to SW QualityCentrally collected Source Lines of Code MISRA compliance McCabes Cyclomatic complexityCentrally collected (being introduce
21、d ) Test coverage / Decision coverage Requirements coverage Post-release Defect DensityLocal NXP initiatives Compiler warnings Dead code and Code duplication Code reviews PR/CR statusAugust 2008 CONFIDENTIALSWTC, june 2008 151515Outline Introducing NXP SemiconductorsTrendsSW Quality: do we have an i
22、ssue?Current initiatives in NXPSW Quality landscapeSW CertificationConclusionsAugust 2008 CONFIDENTIALSWTC, june 2008 16Zero-Defect SW Methods Landscapeversion 1.6, 26 August 2008Already addressedProposed extensionSoftwareDevelopmentLifecycleRequirementsDesign & Verification MethodsFormal Analys
23、isduring run-timeCodingTestingDesignResourceUsage & LeakanalysisCodeGenerationModelCheckingRequirementManagement,Engineering&TraceabilityModeling: UML Model Driven Engineering Domain Spec Languages Formal MethodsArchitectureGuidelinesCompilationWarningsanalysisCoding Rulesanalysis(MISRA)Data
24、 & ControlFlow analysisRun-Time /Security RulesanalysisSystem Testing:Requirements,Load & StressUnit Testing:Code Coverage& SpecsIntegration Testing:Interoperability & InterfacesEnablers: Diversity, Build & Config. Mgt, SWDE, Debugging, Automation, CMMi & TMMi, DfX/SW reviews
25、, Numetrics, .Reverse Engineering / Model Extraction /SW DocumentationTimingAnalysis(on SoC)Not done(centrally)Legend:Human factorCode reviewsAugust 2008 CONFIDENTIALSWTC, june 2008 17SW certificationPlan is to certify SW before it is used in NXP products, as part of the Design-for-Excellence program in NXPCertification based on expert review including data collection for: SW code quality (e.g. code reviews, static code analysis) Test Quality (e.g. test coverage, test effort) Test results (e.g. # of new PRs (almost) 0, customer test results) Release quality
溫馨提示
- 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 2024預(yù)制板購(gòu)銷合同
- 2025年度瓷磚研發(fā)中心實(shí)驗(yàn)室建設(shè)與運(yùn)營(yíng)合同3篇
- 2025年度危險(xiǎn)化學(xué)品儲(chǔ)存安全管理承包合同4篇
- 2025年度智能物流中心建設(shè)與運(yùn)營(yíng)管理合同4篇
- 2025年度商業(yè)地產(chǎn)租賃代理服務(wù)合同模板4篇
- 2024物業(yè)項(xiàng)目策劃2024委托代理合同
- 2025年度醫(yī)療器械代生產(chǎn)加工合同范本4篇
- 2025年度特殊用途車牌租賃與押金管理協(xié)議4篇
- 2025年度展會(huì)現(xiàn)場(chǎng)安保及應(yīng)急預(yù)案服務(wù)合同3篇
- 2024鐵路鋼軌鋪設(shè)及維護(hù)工程協(xié)議細(xì)則
- 勞動(dòng)合同續(xù)簽意見(jiàn)單
- 大學(xué)生國(guó)家安全教育意義
- 2024年保育員(初級(jí))培訓(xùn)計(jì)劃和教學(xué)大綱-(目錄版)
- 河北省石家莊市2023-2024學(xué)年高二上學(xué)期期末考試 語(yǔ)文 Word版含答案
- 企業(yè)正確認(rèn)識(shí)和運(yùn)用矩陣式管理
- 分布式光伏高處作業(yè)專項(xiàng)施工方案
- 陳閱增普通生物學(xué)全部課件
- 檢驗(yàn)科主任就職演講稿范文
- 人防工程主體監(jiān)理質(zhì)量評(píng)估報(bào)告
- 20225GRedCap通信技術(shù)白皮書
- 燃?xì)庥邢薰究蛻舴?wù)規(guī)范制度
評(píng)論
0/150
提交評(píng)論