dsp switch digital systems laboratory winter 2002-2003

26
Presenting: Yaron Yagoda Kobi Cohen DSP SWITCH Digital Systems Laboratory Winter 2002-2003 Superviso r: Isaschar Walter Semester A final Presentatio

Upload: makoto

Post on 16-Jan-2016

44 views

Category:

Documents


0 download

DESCRIPTION

DSP SWITCH Digital Systems Laboratory Winter 2002-2003. Semester A final Presentation. Presenting: Yaron Yagoda Kobi Cohen. Supervisor: Isaschar Walter. PROJECT GOALS. Adjusting hardware architecture according to specific signal processing software dataflow. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: DSP SWITCH Digital Systems Laboratory Winter 2002-2003

Presenting:

Yaron Yagoda

Kobi Cohen

DSP SWITCHDigital Systems Laboratory

Winter 2002-2003

Supervisor:IsascharWalter

Semester A final Presentation

Page 2: DSP SWITCH Digital Systems Laboratory Winter 2002-2003

PROJECT GOALS

A. Adjusting hardware architecture according to specific signal processing software dataflow.

B. Designing and implementing a flexible topology of communication(using the McBSP Protocol) between several DSPs and the PC.

Page 3: DSP SWITCH Digital Systems Laboratory Winter 2002-2003

Problem Description

DSP

DSP DSP

DSP

Hardware complexity of O(N^2)

Page 4: DSP SWITCH Digital Systems Laboratory Winter 2002-2003

GENERAL DESCRIPTION

DSP

DSP

PCI CORE

PCI BUS

DSP

DSP-GUI

-DRIVERALTERA

FLEX 10KE

Switch Matrix

Page 5: DSP SWITCH Digital Systems Laboratory Winter 2002-2003

BLOCK DIAGRAM

DSP

ALTERA

FPGAPCI

CORE

McBSP PROTOCOL

PCI BUS

DSP

DSP

DSP

Page 6: DSP SWITCH Digital Systems Laboratory Winter 2002-2003

BLOCK DIAGRAM )for pipelined connection)

DSP

ALTERA

FPGAPCI

CORE

McBSP PROTOCOL

PCI BUS

DSP

DSP

DSP

Page 7: DSP SWITCH Digital Systems Laboratory Winter 2002-2003

ALTERA DEVELOPMENT CARD

Page 8: DSP SWITCH Digital Systems Laboratory Winter 2002-2003

McBSP PIN DESCRIPTION

Pin I/O Description

CLKR O Receive clock

CLKX O Transmit clock

DR I Received serial data

DX O Transmitted serial data

FSR I Receive frame synchronization

FSX O Transmit frame synchronization

Page 9: DSP SWITCH Digital Systems Laboratory Winter 2002-2003

McBSP SIGNALS

Page 10: DSP SWITCH Digital Systems Laboratory Winter 2002-2003

FPGA STRUCTURE

Pci core

LocalSide

application

Page 11: DSP SWITCH Digital Systems Laboratory Winter 2002-2003

The Local Side Application

The Switch Matrix

MainControl

Dx

Fx

Dr

clkr

clkx

Fr

DSPsFROM

PCICORE

Page 12: DSP SWITCH Digital Systems Laboratory Winter 2002-2003

CONTROL STRUCTURE

TO PCI

CORE

Main Control

Read Enablesignals

Read StructuresConfiguration

Write StructuresConfiguration

PC read

PC write

Page 13: DSP SWITCH Digital Systems Laboratory Winter 2002-2003

Main Control

The Main control unit has the following

three main tasks:

1. Configuration of the connections between the DSPs.

2. Writing data to a chosen McBSP port.

3. Reading data from a chosen McBSP port.

Page 14: DSP SWITCH Digital Systems Laboratory Winter 2002-2003

THE SWITCH MATRIX

The configuration determines for each DSP where to write its data, whether it is another DSP or the pc.

The switch matrix is constantly trying to read from each one of the McBSP ports.

When it is able to read certain data it transfers it to another McBSP port according to the data in it’s configuration register.

Page 15: DSP SWITCH Digital Systems Laboratory Winter 2002-2003

The Switch Matrix structure

Reading from The McBSP

Writing to The McBSP

PC read PC_write

Detailed on the Next slides

Page 16: DSP SWITCH Digital Systems Laboratory Winter 2002-2003

The Switch Matrix cont(1)

Page 17: DSP SWITCH Digital Systems Laboratory Winter 2002-2003

The Switch Matrix cont(2)

Page 18: DSP SWITCH Digital Systems Laboratory Winter 2002-2003

The Switch Matrix cont(3)PC_read

From maincontrol

From McBSP

Readstructures

To main control

Page 19: DSP SWITCH Digital Systems Laboratory Winter 2002-2003

The Switch Matrix cont(4)PC_write

From McBSP write structures

To McBSP write

structures

From main

control

Page 20: DSP SWITCH Digital Systems Laboratory Winter 2002-2003

McBSP READ UNIT

Page 21: DSP SWITCH Digital Systems Laboratory Winter 2002-2003

McBSP WRITE UNIT

Page 22: DSP SWITCH Digital Systems Laboratory Winter 2002-2003

The GUI

Page 23: DSP SWITCH Digital Systems Laboratory Winter 2002-2003

THE GUI

• The GUI gives the user an easy way to configure the Switch Matrix.

• Through the GUI the user can define the connections between the pc and the DSPs.

• The GUI also allows passing data to each one of the DSPs through the driver.

• In the GUI we have 8 McBSP ports for the four DSPs we have ,two for each one. And one port for the PC.

• The GUI gives us the option to write or read data to the configured DSP .

Page 24: DSP SWITCH Digital Systems Laboratory Winter 2002-2003

PROJECT STATUS

• Introduction with the pci core.• Implementation of a simple Input/Output

program on the Altera card.• Studying and implementing the McBSP protocol.• Full implementation of the switch matrix.• Communication with one McBSP.• Simulation of the whole system.

Page 25: DSP SWITCH Digital Systems Laboratory Winter 2002-2003

FURTHER GOALS

• Finishing the GUI.

• Debugging.

Page 26: DSP SWITCH Digital Systems Laboratory Winter 2002-2003

FURTHER DEVELOPMENTS FOR NEXT SEMESTER

• Implementing dynamic configuration.

• Writing a program in the DSP CCS that tests the project.

• Creating connection in hardware to all DSPs.