1 / 20

INTELLECTUAL PROPERTY RE-USE IN EMBEDDED SYSTEM CO-DESIGN: AN INDUSTRIAL CASE STUDY

INTELLECTUAL PROPERTY RE-USE IN EMBEDDED SYSTEM CO-DESIGN: AN INDUSTRIAL CASE STUDY. E. Filippi, L. Lavagno, L. Licciardi, A. Montanaro, M. Paolini, R. Passerone, M. Sgroi, A. Sangiovanni-Vincentelli. Centro Studi e Laboratori Telecomunicazioni S.p.A., Italy.

nyla
Download Presentation

INTELLECTUAL PROPERTY RE-USE IN EMBEDDED SYSTEM CO-DESIGN: AN INDUSTRIAL CASE STUDY

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. INTELLECTUAL PROPERTY RE-USEIN EMBEDDED SYSTEM CO-DESIGN: AN INDUSTRIAL CASE STUDY E. Filippi, L. Lavagno, L. Licciardi, A. Montanaro, M. Paolini, R. Passerone, M. Sgroi, A. Sangiovanni-Vincentelli Centro Studi e Laboratori Telecomunicazioni S.p.A., Italy Dipartimento di Elettronica - Politecnico di Torino, Italy EECS Dept. - University of California, Berkeley, USA

  2. OUTLINE INTRODUCTION THE POLIS CO-DESIGN METHODOLOGY IP INTEGRATION INTO THE CO-DESIGN FLOW THE TARGET DESIGN: THE ATM VIRTUAL PRIVATE NETWORK SERVER RESULTS CONCLUSIONS

  3. NEEDS FOR EMBEDDED SYSTEM DESIGN EASY DESIGN SPACE EXPLORATION EARLY DESIGN VALIDATION CODESIGN METHODOLOGY AND TOOLS HIGH DESIGN PRODUCTIVITY HIGH DESIGN RELIABILITY INTELLECTUAL PROPERTY LIBRARY

  4. THE POLIS EMBEDDED SYSTEM CO-DESIGN ENVIRONMENT HW-SW CO-DESIGN FOR CONTROL-DOMINATED REAL-TIME REACTIVE SYSTEMS • AUTOMOTIVE ENGINE CONTROL, COMMUNICATION PROTOCOLS, APPLIANCES, ... DESIGN METHODOLOGY • FORMAL SPECIFICATION: ESTEREL, FSMS • TRADE-OFF ANALYSIS, PROCESSOR SELECTION, DELAYED PARTITIONING • VERIFY PROPERTIES OF THE DESIGN • APPLY HW AND SW SYNTHESIS FOR FINAL IMPLEMENTATION • MAP INTO FLEXIBLE EMULATION BOARD FOR EMBEDDED VERIFICATION

  5. THE POLIS CODESIGN FLOW GRAPHICAL EFSM ESTEREL … FORMAL VERIFICATION COMPILERS CFSMs HW SYNTHESIS SW SYNTHESIS PARTITIONING SW ESTIMATION HW ESTIMATION HW/SW CO-SIMULATION PERFORMANCE / TRADE-OFF EVALUATION LOGIC NETLIST SW CODE + RTOS CODE PHYSICAL PROTOTYPING

  6. TM Frame Sync. SCRAMBLER Sample DESCRAMBLER Sample SCRAMBLER SDH CELINE DISCRETE COSINE TRANSFORM A TMFIFO CELINE VITERBI DECODER CIDGEN REED SOLOMON DECODER REED SOLOMON LQM ENCODER SORTCORE ARBITER UT OPIA MPI LEVEL 2 UT OPIA SRAM_INT LEVEL 1 VERCOR UPCO/DPCO C2W AC A TM-GEN MC68K Fast Packet V ideo & Switching Multimedia S O F T L I B R A R Y • LIBRARY OF CUSTOMIZABLE IP SOFT CORES • APPLICATION AREAS: • FAST PACKET SWITCHING (ATM, TCP/IP) • VIDEO AND MULTIMEDIA • WIRELESS COMMUNICATION SOURCE CODE: RTL VHDL TM MODULES HAVE: MEDIUM ARCHITECTURAL COMPLEXITY HIGH RE-USABILITY HIGH PROGRAMMABILITY DEGREE REASONABLE PERFORMANCE

  7. TM • INTEGRATION OF THE IN THE POLIS DESIGN FLOW GOALS • ASSESSMENT OF POLIS ON A TELECOM SYSTEM DESIGN • CASE STUDY: ATM VIRTUAL PRIVATE NETWORK SERVER A-VPN SERVER

  8. CASE STUDY: AN ATM VIRTUAL PRIVATE NETWORK SERVER WFQ SCHEDULER CLASSIFIER CONGESTION CONTROL (MSD) ATM OUT TO XC (155 Mbit/s) ATM IN FROM XC (155 Mbit/s) SUPERVISOR DISCARDED CELLS

  9. CRITICAL DESIGN ISSUES • TIGHT TIMING CONSTRAINTS FUNCTIONS TO BE PERFORMED WITHIN A CELL TIME SLOT (2.72 ms FOR A 155 Mbps FLOW) ARE: • PROCESS ONE INPUT CELL • PROCESS ONE OUTPUT CELL • PERFORM MANAGEMENT TASKS (IF ANY) • FREQUENT ACCESS TO MEMORY TABLES THAT STORE ROUTING INFORMATION FOR EACH CONNECTION AND STATE INFORMATION FOR EACH QUEUE

  10. TX INTERFACE ATM 155 Mbit/s SHARED BUFFER MEMORY RX INTERFACE LOGIC QUEUE MANAGER INTERNAL ADDRESS LOOKUP ALGORITHM ADDRESS LOOKUP MEMORY SUPERVISOR VC/VP SETUP AGENT DESIGN IMPLEMENTATION • DATA PATH: • 7 VIP LIBRARYTM MODULES • 2 COMMERCIAL MEMORIES • SOME CUSTOM LOGIC (PROTOCOL TRANSLATORS) • CONTROL UNIT: • 25 CFSMs • VIPTM LIBRARY MODULES • HW/SW CODESIGN MODULES • COMMERCIAL MEMORIES

  11. TX INTERFACE LQM INTERFACE ATM 155 Mbit/s SHARED BUFFER MEMORY RX INTERFACE MSD TECHNIQUE CELL EXTRACTION LOGIC QUEUE MANAGER INTERNAL ADDRESS LOOKUP VIRTUAL CLOCK SCHEDULER ALGORITHM REAL TIME SORTER ADDRESS LOOKUP MEMORY SUPERVISOR INTERNAL TABLES VC/VP SETUP AGENT ALGORITHM MODULE ARCHITECTURE

  12. BUFFER MANAGER SUPERVISOR UPDATE_ TABLES QUEUE_STATUS ^IN_THRESHOLD ^IN_EID ^IN_QUID ^IN_BW OP ^IN_CID ADD_DELN ^IN_FULL QUERY_QUID READY PUSH_QUID POP_QUID ALGORITHM ^PTI CID ^FIFO_OCCUPATION lqm_arbiter2 supervisor QUERY PUSH POP RESSEND ACCEPTED msd_technique extract_cell2 collision_detector GRANT_ ARBITER_ SC_2 GRANT_ ARBITER_ SC_1 state arbiter_sc POP_SORTER TOUT_FROM_SORTER QUID_FROM_SORTER READ_SORTER quid arbiter_sorter last COMPUTED_ VIRTUAL_ TIME_2 COMPUTED_ VIRTUAL_ TIME_1 GRANT_ ARBITER_ SORTER_2 REQUEST_ ARBITER_ SORTER_2 bandwidth space_controller threshold INSERT sorter COMPUTED_OUTPUT_TIME full READ WRITE

  13. POLIS HW CODESIGN MODULE PROTOCOL TRANSLATOR MODULE TM POLIS SW CODESIGN MODULE POLIS SW/HW INTERFACE PROTOCOL TRANSLATOR MODULE TM IP INTEGRATION POLIS EVENTS AND VALUES MODULE SPECIFIC INTERFACE PROTOCOL

  14. MODULE SIZE I II HW MSD TECHNIQUE 180 SW SW HW 85 CELL EXTRACTION HW 95 HW VIRTUAL CLOCK SCHEDULER HW REAL TIME SORTER 300 HW HW 33 HW ARBITER #1 HW ARBITER #2 34 SW SW 37 HW ARBITER #3 HW 75 HW LQM INTERFACE SUPERVISOR 120 SW SW DESIGN SPACE EXPLORATION • CONTROL UNIT • Source code: 1151 ESTEREL lines • Target processor family: MIPS 3000 (RISC) • FUNCTIONAL VERIFICATION • Simulation (PTOLEMY) • SW PERFORMANCE ESTIMATION • Co-simulation (POLIS VHDL model generator) • RESULTS • 544 CPU clock cycles per time slot •  200 MHz clock frequency PROCESSOR FAMILY CHANGED (MOTOROLA PowerPCTM )

  15. DESIGN VALIDATION • VHDL co-simulation of the complete design • Co-design module code generated by POLIS • Server code: ~ 14,000 lines • VIP LIBRARYTM modules: ~ 7,000 lines • HW/SW co-design modules: ~ 6,700 lines • IP integration modules: ~ 300 lines • Test bench code: ~ 2,000 lines • ATM cell flow generation • ATM cell flow analysis • Co-design protocol adapters

  16. MODULE FFs CLBs I/Os GATES MSD TECHNIQUE 66 106 114 1,600 CELL EXTRACTION 26 35 66 564 VIRTUAL CLOCK SCHEDULER 77 71 95 1,280 REAL TIME SORTER 261 731 52 10,504 ARBITER #1 9 7 9 114 ARBITER #2 10 7 10 127 ARBITER #3 16 9 17 159 LQM INTERFACE 20 39 27 603 PARTITION I 409 892 120 13,224 PARTITION II 443 961 256 14,228 CONTROL UNIT MAPPING RESULTS

  17. MODULE FFs CLBs I/Os GATES UTOPIA RX INTERFACE 120 251 37 16,300 140 265 43 16,700 UTOPIA TX INTERFACE 247 332 31 5,380 LOGIC QUEUE MANAGER 87 96 82 1,700 ADDRESS LOOKUP ADDRESS CONVERTER 14 13 17 240 PARALLELISM CONVERTER 46 31 47 480 DATAPATH TOTAL 658 1001 47 42,000 DATA PATH MAPPING RESULTS

  18. WHAT DO WE NEED FROM POLIS ? • IMPROVED RTOS SCHEDULING POLICIES AVAILABLE NOW: • ROUND ROBIN • STATIC PRIORITY NEEDED: • QUASI-STATIC SCHEDULING POLICY • BETTER MEMORY INTERFACE MECHANISMS AVAILABLE NOW: • EVENT BASED (RETURN TO THE RTOS ON EVENTS GENERATED BY MEMORY READ/WRITE OPERATIONS) NEEDED: • FUNCTION BASED (NO RETURN TO THE RTOS ON EVENTS GENERATED BY MEMORY READ/WRITE OPERATIONS)

  19. WHAT ELSE DO WE NEED FROM POLIS ? • MOST WANTED: EVENT OPTIMIZATION EVENT DEFINITION  INTER-MODULE COMMUNICATION PRIMITIVE BUT: • NOT ALL OF THE ABOVE PRIMITIVES ARE ACTUALLY NECESSARY • UNNECESSARY INTER-MODULE COMMUNICATION LOWERS PERFORMANCE • SYNTHESIZABLE RTL OUTPUT SYNTHESIZABLE OUTPUT FORMAT USED: XNF PROBLEM: COMPLEX OPERATORS ARE TRANSLATED INTO EQUATIONS • DIFFICULT TO OPTIMIZE • CANNOT USE SPECIALIZED HW (ADDERS, COMPARATORS…)

  20. CONCLUSIONS HW/SW CODESIGN TOOLS PROVED HELPFUL IN REDUCING DESIGN TIME AND ERRORS • CODESIGN TIME = 8 MAN MONTHS • STANDARD DESIGN TIME = 3 MAN YEARS POLIS REQUIRES IMPROVEMENTS TO FIT INDUSTRIAL TELECOM DESIGN NEEDS • EVENT OPTIMIZATION + MEMORY ACCESS + SCHEDULING POLICY EASY IP INTEGRATION IN THE POLIS DESIGN FLOW FURTHER IMPROVEMENTS IN DESIGN TIME AND RELIABILITY

More Related