13
Performed by: Yevgeny Safovich 307015578 Yevgeny Zeldin 304649031 Instructor: Yevgeni Rifkin תתתת תתתתתתת תתתתתתת תתתתתתh speed digital systems laboratory תתתת- תתתתתתת תתתתתתתת תתתתתת תתתתתתת תתתתתת תתתתTechnion - Israel institute of technology department of Electrical Engineering In-depth DSP QA 2002 תתת)תתתת( תתתתת1

Performed by: Yevgeny Safovich307015578 Yevgeny Zeldin304649031 Instructor: Yevgeni Rifkin המעבדה למערכות ספרתיות מהירות High speed digital systems laboratory

Embed Size (px)

Citation preview

Page 1: Performed by: Yevgeny Safovich307015578 Yevgeny Zeldin304649031 Instructor: Yevgeni Rifkin המעבדה למערכות ספרתיות מהירות High speed digital systems laboratory

Performed by: Yevgeny Safovich 307015578Yevgeny Zeldin 304649031

Instructor: Yevgeni Rifkin

High speed digital systems laboratoryהמעבדה למערכות ספרתיות מהירות

הטכניון - מכון טכנולוגי לישראל

הפקולטה להנדסת חשמל

Technion - Israel institute of technologydepartment of Electrical Engineering

In-depth DSP QA

סמסטר )חורף( שנה 20021

Page 2: Performed by: Yevgeny Safovich307015578 Yevgeny Zeldin304649031 Instructor: Yevgeni Rifkin המעבדה למערכות ספרתיות מהירות High speed digital systems laboratory

BackgroundHigh speed digital systems laboratoryהמעבדה למערכות ספרתיות מהירות

2

• Cosmic waves influences on DSP

• Bits reversal in transistors because of radiation

• Any DSP module might be corrupted

• Malfunctioning localization

• General approach to DSP QA

Page 3: Performed by: Yevgeny Safovich307015578 Yevgeny Zeldin304649031 Instructor: Yevgeni Rifkin המעבדה למערכות ספרתיות מהירות High speed digital systems laboratory

Project goalHigh speed digital systems laboratoryהמעבדה למערכות ספרתיות מהירות

3

• Develop testing environment

• Host PC used by an operator to:• Run the tests• Present results analysis

• Connection of host PC to DSP to:• Load “active” testing routines• Perform “passive” tests to verify proper functioning of standalone modules

• Localization of failures

Page 4: Performed by: Yevgeny Safovich307015578 Yevgeny Zeldin304649031 Instructor: Yevgeni Rifkin המעבדה למערכות ספרתיות מהירות High speed digital systems laboratory

Blocks Diagram High speed digital systems laboratoryהמעבדה למערכות ספרתיות מהירות

4

CPUoControl Registerso6 ALUso32 A data path registerso32 B data path registers

CPUoControl Registerso6 ALUso32 A data path registerso32 B data path registers

GeneraloPLLoInterrupt controlleroBoot configuration

GeneraloPLLoInterrupt controlleroBoot configuration

Peripherals

oEMFIAoEMFIBoMcBSP0oMcBSP1oMcBSP2oUtopiao3 TimersoHPIoGPIO

Peripherals

oEMFIAoEMFIBoMcBSP0oMcBSP1oMcBSP2oUtopiao3 TimersoHPIoGPIO

Buseso)E(DMAoPeripheral bus

Buseso)E(DMAoPeripheral bus

Internal

Memory/

CacheoL2 cacheoL1 cache

Internal

Memory/

CacheoL2 cacheoL1 cache

Page 5: Performed by: Yevgeny Safovich307015578 Yevgeny Zeldin304649031 Instructor: Yevgeni Rifkin המעבדה למערכות ספרתיות מהירות High speed digital systems laboratory

Boundaries and Specifications High speed digital systems laboratoryהמעבדה למערכות ספרתיות מהירות

5

3 main optional approaches:

1. Internal tests of the DSP – self test)executing a test program(

1. External tests – access DSP modules form outside to read/write data

2. Mixture of above

3’rd option selected for: Reliability, Complexity, Speed

Page 6: Performed by: Yevgeny Safovich307015578 Yevgeny Zeldin304649031 Instructor: Yevgeni Rifkin המעבדה למערכות ספרתיות מהירות High speed digital systems laboratory

6

Covered modulesHigh speed digital systems laboratoryהמעבדה למערכות ספרתיות מהירות

6

• PeripheralsEMFIA, EMFIB, McBSP0, McBSP1, McBSP2, Utopia, 3 Timers,

HPI, GPIO

• Buses(E)DMA, Peripheral bus, Internal Memory/Cache, L2 cache

• CPUControl Registers, 6 ALUs, 32 A registers, 32 B registers

• GeneralPLL, Interrupt controller, Boot configuration

Page 7: Performed by: Yevgeny Safovich307015578 Yevgeny Zeldin304649031 Instructor: Yevgeni Rifkin המעבדה למערכות ספרתיות מהירות High speed digital systems laboratory

7

Uncovered modules, limitations High speed digital systems laboratoryהמעבדה למערכות ספרתיות מהירות

6

CacheL1 cache – tested as integral part of CPU

PeripheralsPCITCPVCP

Page 8: Performed by: Yevgeny Safovich307015578 Yevgeny Zeldin304649031 Instructor: Yevgeni Rifkin המעבדה למערכות ספרתיות מהירות High speed digital systems laboratory

8

Solution architecture High speed digital systems laboratoryהמעבדה למערכות ספרתיות מהירות

6

DSP6416

Control Program

90%

Page 9: Performed by: Yevgeny Safovich307015578 Yevgeny Zeldin304649031 Instructor: Yevgeni Rifkin המעבדה למערכות ספרתיות מהירות High speed digital systems laboratory

9

Solution architecture )cont.(High speed digital systems laboratoryהמעבדה למערכות ספרתיות מהירות

6

• An external PC computer• Execute/Control the tests• Present the analyzed results

• Direct connection from host computer to DSP• PCI cards to emulate peripheral interfaces (+device drivers)

• UTOPIA master• McBSP master• EMIFA• EMIFB

Page 10: Performed by: Yevgeny Safovich307015578 Yevgeny Zeldin304649031 Instructor: Yevgeni Rifkin המעבדה למערכות ספרתיות מהירות High speed digital systems laboratory

10

Solution architecture )cont.(High speed digital systems laboratoryהמעבדה למערכות ספרתיות מהירות

6

• “Passive tests” – external cross tests by host PC(Using host PC)

• “Active tests” – loading test routines to DSP• The program will be executed on internal CPU• The inputs will be taken from internal memory• The results will be written to internal memory• The outputs will be retrieved by the host PC through HPI

• To get most reliable result cross tests will be used(multiple units groups will be used for same tests)

Page 11: Performed by: Yevgeny Safovich307015578 Yevgeny Zeldin304649031 Instructor: Yevgeni Rifkin המעבדה למערכות ספרתיות מהירות High speed digital systems laboratory

11

AssumptionsHigh speed digital systems laboratoryהמעבדה למערכות ספרתיות מהירות

6

• L1 cache will not be tested separately

•A failure in major DSP modules cancels all next tests – such as:• L1 cache• internal memory• HPI• DMA

• Failure of HPI cancels all next tests )single direct access interface(

Page 12: Performed by: Yevgeny Safovich307015578 Yevgeny Zeldin304649031 Instructor: Yevgeni Rifkin המעבדה למערכות ספרתיות מהירות High speed digital systems laboratory

12

Open IssuesHigh speed digital systems laboratoryהמעבדה למערכות ספרתיות מהירות

6

• Direct communication between host PC and all DSP peripherals

• Most of the active tests should be written in assembler

• Most functions involve multiple modules)Especially in “active tests”(

• Slave ports – no cross connections

• DMA buffer – no direct access

• Error correction in peripherals – find a way to “corrupt data”

Page 13: Performed by: Yevgeny Safovich307015578 Yevgeny Zeldin304649031 Instructor: Yevgeni Rifkin המעבדה למערכות ספרתיות מהירות High speed digital systems laboratory

13

ScheduleHigh speed digital systems laboratoryהמעבדה למערכות ספרתיות מהירות

6

• 15/08/02 Feasibility and requirements study

Design algorithms for testing of all modules except peripheralsDesign algorithms for testing of all peripheralsDesign global architecture

• 15/09/02 Intermediate report

Development of the control programDevelopment of the tests routines running on the host PCDevelopment of the tests routines running on the DSPFinal integration

• 31/10/02 Final report