Presentation is loading. Please wait.

Presentation is loading. Please wait.

1 © NOKIA 18-10-2005 A Process Model of Developing Micro- code for a Network Processor 18.10.2005 Jani Koski Author: Jani Koski Supervisor: Prof. Raimo.

Similar presentations


Presentation on theme: "1 © NOKIA 18-10-2005 A Process Model of Developing Micro- code for a Network Processor 18.10.2005 Jani Koski Author: Jani Koski Supervisor: Prof. Raimo."— Presentation transcript:

1 1 © NOKIA 18-10-2005 A Process Model of Developing Micro- code for a Network Processor 18.10.2005 Jani Koski Author: Jani Koski Supervisor: Prof. Raimo Kantola Instructor: M.Sc Marko Lohjala

2 2 © NOKIA 18-10-2005 Contents Introduction to the study Network device Network Processor (NP) Micro code for NP Why research was made Research problem How to make micro code? Micro code SW process? Research method Search best SW model from literature Let’s take to account the nature of Micro code, environment, etc => case study Case study Project analysis NP analysis Micro code analysis The result

3 3 © NOKIA 18-10-2005 Network device Network Processor (NP)

4 4 © NOKIA 18-10-2005 Network Processor (NP) Micro code

5 5 © NOKIA 18-10-2005 Why research was made Previously micro code was done by Agere Systems But also the Nokia had knowledge to produce the micro code Faster SW integration if Nokia produce the micro code it selves? Nokia did not have any process for producing APP550 specific micro code

6 6 © NOKIA 18-10-2005 Research problem QIn what level “micro code SW process” should be investigated? QSchedule of micro code SW process? When to implement micro code? QHow to implement micro code to support HW-test? QThe nature of micro code? How does it differ from traditional coding? QHow do we test micro code? What tools do we have? QCan we reuse some generic SW process models using literature?

7 7 © NOKIA 18-10-2005 Answers (Q1) QIn what level should question “micro code SW process?” be investigated? AThe level is Generic micro code SW process model. AIt means that we will find different generic SW process models (e.g. Spiral model, Water Fall model) from literature and approach our question from academic point of view. AWe avoid “copy-paste” method and existing Nokia SW process models are not used ATo choose best model from literature we need information about nature of Micro code.

8 8 © NOKIA 18-10-2005 Answers (Q2) QSchedule of micro code SW process? When to implement micro code? Somewhere middle of HW and SW schedule? AHW must get some preliminary version from micro code to make their HW tests (HW MT). Without micro code it is not possible. ASchedule is most likely following: simulation Test board (e.g. Hydra) Test version to support HW test Final version

9 9 © NOKIA 18-10-2005 Answers (Q2) cont. QHow to map the micro code SW process to our HW milestone? AWe have different kind of SW to be integrated: OS, SW, Micro code AFor micro code at least four different “versions” can be identified: 1. Preliminary micro code version 1 test with simulator 2. Preliminary micro code version 2 test with test board 3. Preliminary micro code version 3 to support HW test 4. Final micro code version 4 with all feature support simulation Test board (e.g. Hydra) Test version to support HW test Final version

10 10 © NOKIA 18-10-2005 Answers (Q3) QHow to implement micro code to support HW-test? AWe need some input from HW group to make sufficient first version from micro code to HW group. AAfter knowing requirements we can implements micro code.

11 11 © NOKIA 18-10-2005 Answers (Q4) QThe nature of Micro code? How does it differ from traditional coding (like C, C++, Java) or does it differ at all? AYes, micro code differs from traditional coding. If we compare e.g. to C language and SW done with that, micro code is: o Usually less code lines than in C => no big resources needed o Available memory is usually small  Big micro code software not possible  Available memory can not be used as in C (we have no pointers). o Instruction set smaller than in C o Same code editors can be used (emacs, UltraEdit) o Micro code can be simulated with simulator (SPA if APP is used) o Note that there are different versions of APP and simulators! o Debugging is different (and difficult) in micro code ( printf(“Hello world”); is not possible).

12 12 © NOKIA 18-10-2005 Answers (Q4) cont. QThe nature of Micro code? How does it differ from traditional coding (like C, C++, Java) or does it differ at all? AYes, micro code differs from traditional coding. If we compare e.g. to C language and SW done with that, micro code is (APP): o Real time programming o In micro code we have only very limited time to use per received cell or PDU o In micro code we may have dynamic changing code (using searching trees). Trees are usually modified by some host processor. o Micro code compiler gives similar kind of warning and error than e.g. gcc.

13 13 © NOKIA 18-10-2005 Answers (Q5) QHow do we test micro code? What tools do we have? AHW can not be ready if it is not verified by HW MT (HardWare Module Testing). HW MT needs some preliminary micro code for testing. But how do we create micro code if we can not test that in some HW?  Chicken-Egg problem ABecause we do not have HW ready for testing we need simulator. Usually manufacturer can offer a simulator for their NP (e.g. SPA for APP). But simulator may have some SW bugs and we can not be 100% sure that micro code is really working.  We could use also “test boards” that include the real NP (delivered by manufacturer). E.g Agere’s Hydra. AWhen our HW is ready we will continue testing with that.  Testing equipment needed! (e.g. packet generator etc.)  Simulator can be still used.

14 14 © NOKIA 18-10-2005 Answers (Q6) QCan we reuse some generic SW process models using literature? AGeneric SW process models from literature AOther SW process models. AAgility methods in SW process models.

15 15 © NOKIA 18-10-2005 Choosing the SW process AGeneric SW process models from literature : 1. Water fall model is too heavy process model for micro code. It produce lot of documentation and it’s applicable for big process 2. Evolution model is a good model for producing complex SW. SW is produced iterative but that will cause lot of updates to documentation. The biggest disadvantage is poor SW architecture caused by this model. 3. Component model uses old SW as much as possible. This leads SW design where SW components are very generic. However, the result is usually big SW because code is not optimized.

16 16 © NOKIA 18-10-2005 Choosing the SW process AOther SW process models: 1. Prototyping is very useful model for example finding out critical capacity questions 2. RUP (Rational Unified Process) is a combination of Water fall, Evolution Component models 3. Formal models is based on mathematical forms 4. 4 GT models are higher level tools for generating code 5. “Code and fix” –model is a poor model 6. Spiral model is a model for minimizing risks

17 17 © NOKIA 18-10-2005 Choosing the SW process AAgility methods in SW process models: 1. XP (Extreme Programming) was used as a main model for micro code 2. RAD (Rapid Application Development) is developed from 4 GT models

18 18 © NOKIA 18-10-2005 XP-model Based on iteration Pair programming For small projects (e.g. about 2-12 programmers) Promotes team work Stresses customer satisfaction (e.g. other project) Customer is part of the process Developers, managers and customers are working together Design unit test case before coding Automatic testing

19 19 © NOKIA 18-10-2005 The Micro code SW process documentation DB Micro code design documentation Micro code requirement documentation Host processor interface specification HW test specificationProduct requirement specification

20 20 © NOKIA 18-10-2005 Detailed micro code SW process

21 21 © NOKIA 18-10-2005 Conclusion Feature IP QoS was implemented by using the micro code SW process Micro code SW process works but is it efficient? Requires measurements later (out of this thesis) Component model was used but XP model is dominating Pair programming in XP model may face some problems. E.g cultural and behavioural problems

22 22 © NOKIA 18-10-2005 Questions? Comments? Any new ideas? Thank you!


Download ppt "1 © NOKIA 18-10-2005 A Process Model of Developing Micro- code for a Network Processor 18.10.2005 Jani Koski Author: Jani Koski Supervisor: Prof. Raimo."

Similar presentations


Ads by Google