Presenting: Yaron Yagoda Kobi Cohen VERSITILE COMMUNICAION BETWEEN MULTI DSPS Digital Systems...

31
Presenting: Yaron Yagoda Kobi Cohen VERSITILE COMMUNICAION BETWEEN MULTI DSPS Digital Systems Laboratory Spring 2003 Superviso r: Isaschar Walter Final Presentation
  • date post

    20-Dec-2015
  • Category

    Documents

  • view

    214
  • download

    2

Transcript of Presenting: Yaron Yagoda Kobi Cohen VERSITILE COMMUNICAION BETWEEN MULTI DSPS Digital Systems...

Page 1: Presenting: Yaron Yagoda Kobi Cohen VERSITILE COMMUNICAION BETWEEN MULTI DSPS Digital Systems Laboratory Spring 2003 Supervisor: Isaschar Walter Final.

Presenting:

Yaron Yagoda

Kobi Cohen

VERSITILE COMMUNICAION

BETWEEN MULTI DSPS Digital Systems Laboratory

Spring 2003

Supervisor:IsascharWalter

Final Presentation

Page 2: Presenting: Yaron Yagoda Kobi Cohen VERSITILE COMMUNICAION BETWEEN MULTI DSPS Digital Systems Laboratory Spring 2003 Supervisor: Isaschar Walter Final.

Motivation

CommunicationCenter

Page 3: Presenting: Yaron Yagoda Kobi Cohen VERSITILE COMMUNICAION BETWEEN MULTI DSPS Digital Systems Laboratory Spring 2003 Supervisor: Isaschar Walter Final.

VERSITILE COMMUNICAION

BETWEEN MULTI DSPS • Introduction

• System Specifications

• Project Structure

• Router

• Protocol

• Conclusion

Page 4: Presenting: Yaron Yagoda Kobi Cohen VERSITILE COMMUNICAION BETWEEN MULTI DSPS Digital Systems Laboratory Spring 2003 Supervisor: Isaschar Walter Final.

Project Goals

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

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

Page 5: Presenting: Yaron Yagoda Kobi Cohen VERSITILE COMMUNICAION BETWEEN MULTI DSPS Digital Systems Laboratory Spring 2003 Supervisor: Isaschar Walter Final.

Problem Description

DSP

DSP DSP

DSP

Hardware complexity of O(N^2)

Page 6: Presenting: Yaron Yagoda Kobi Cohen VERSITILE COMMUNICAION BETWEEN MULTI DSPS Digital Systems Laboratory Spring 2003 Supervisor: Isaschar Walter Final.

The Solution

DSP

DSP

PCI CORE

PCI BUS

DSP

DSP-DRIVER

ALTERA

FLEX 10KE

Switch Matrix

+ Router

Page 7: Presenting: Yaron Yagoda Kobi Cohen VERSITILE COMMUNICAION BETWEEN MULTI DSPS Digital Systems Laboratory Spring 2003 Supervisor: Isaschar Walter Final.

VERSITILE COMMUNICAION

BETWEEN MULTI DSPS • Introduction

• System Specifications

• Project Structure

• Router

• Protocol

• Conclusion

Page 8: Presenting: Yaron Yagoda Kobi Cohen VERSITILE COMMUNICAION BETWEEN MULTI DSPS Digital Systems Laboratory Spring 2003 Supervisor: Isaschar Walter Final.

ALTERA Development Card

Page 9: Presenting: Yaron Yagoda Kobi Cohen VERSITILE COMMUNICAION BETWEEN MULTI DSPS Digital Systems Laboratory Spring 2003 Supervisor: Isaschar Walter Final.

VERSITILE COMMUNICAION

BETWEEN MULTI DSPS • Introduction

• System Specifications

• Project Structure

• Router

• Protocol

• Conclusion

Page 10: Presenting: Yaron Yagoda Kobi Cohen VERSITILE COMMUNICAION BETWEEN MULTI DSPS Digital Systems Laboratory Spring 2003 Supervisor: Isaschar Walter Final.

Block Diagram

DSP

ALTERA

FPGAPCI

CORE

McBSP PROTOCOL

PCI BUS

DSP

DSP

DSP

Page 11: Presenting: Yaron Yagoda Kobi Cohen VERSITILE COMMUNICAION BETWEEN MULTI DSPS Digital Systems Laboratory Spring 2003 Supervisor: Isaschar Walter Final.

Block Diagram)for pipelined connection)

McBSP PROTOCOL

DSP

ALTERA

FPGAPCI

COREPCI BUS

DSP

DSP

DSP

Page 12: Presenting: Yaron Yagoda Kobi Cohen VERSITILE COMMUNICAION BETWEEN MULTI DSPS Digital Systems Laboratory Spring 2003 Supervisor: Isaschar Walter Final.

DSP DSP

DSP DSP

FPGA Structure

Router

CommunicationUnit

CommunicationUnit

CommunicationUnit

CommunicationUnit

Matrix

Page 13: Presenting: Yaron Yagoda Kobi Cohen VERSITILE COMMUNICAION BETWEEN MULTI DSPS Digital Systems Laboratory Spring 2003 Supervisor: Isaschar Walter Final.

The Matrix

FIFO

FIFO

FIFO

FIFO

Block Controller

Block Controller

Block Controller

Block Controller

Page 14: Presenting: Yaron Yagoda Kobi Cohen VERSITILE COMMUNICAION BETWEEN MULTI DSPS Digital Systems Laboratory Spring 2003 Supervisor: Isaschar Walter Final.

The Communication Unit

This unit is responsible to receive data

(including the Command Word) from the

DSP, ask for a FIFO allocation and when

succeed in allocating a FIFO, it transfer the

data to the target.

Page 15: Presenting: Yaron Yagoda Kobi Cohen VERSITILE COMMUNICAION BETWEEN MULTI DSPS Digital Systems Laboratory Spring 2003 Supervisor: Isaschar Walter Final.

VERSITILE COMMUNICAION

BETWEEN MULTI DSPS • Introduction

• System Specifications

• Project Structure

• The Router

• Protocol

• Conclusion

Page 16: Presenting: Yaron Yagoda Kobi Cohen VERSITILE COMMUNICAION BETWEEN MULTI DSPS Digital Systems Laboratory Spring 2003 Supervisor: Isaschar Walter Final.

The Router

Reminder:

The Router is responsible for allocating the FIFOs to the DSPs (through the communication units) according to the priority and the availability of the FIFOs.

Router

CommunicationUnit

MatrixCommunication

UnitCommunication

UnitCommunication

Unit

Page 17: Presenting: Yaron Yagoda Kobi Cohen VERSITILE COMMUNICAION BETWEEN MULTI DSPS Digital Systems Laboratory Spring 2003 Supervisor: Isaschar Walter Final.

There are 4 degrees of priority,one for each of

the 4 FIFOS.

The highest is 0 and the lowest is 3.

The priority is determined by the PC user.

Each port is allowed to write to a FIFO which

is equal or higher than its priority.

Priority

Page 18: Presenting: Yaron Yagoda Kobi Cohen VERSITILE COMMUNICAION BETWEEN MULTI DSPS Digital Systems Laboratory Spring 2003 Supervisor: Isaschar Walter Final.

After checking the priority of the port, the router

checks if there is enough space in the FIFO with the

highest priority possible and if there is no room it

moves to the next one…

In case the amount of words that sends is more than

the amount of words in the emptiest FIFO it sends

how many words can be received.

FIFO Decision

Page 19: Presenting: Yaron Yagoda Kobi Cohen VERSITILE COMMUNICAION BETWEEN MULTI DSPS Digital Systems Laboratory Spring 2003 Supervisor: Isaschar Walter Final.

VERSITILE COMMUNICAION

BETWEEN MULTI DSPS • Introduction

• System Specifications

• Project Structure

• Router

• Protocol

• Conclusion

Page 20: Presenting: Yaron Yagoda Kobi Cohen VERSITILE COMMUNICAION BETWEEN MULTI DSPS Digital Systems Laboratory Spring 2003 Supervisor: Isaschar Walter Final.

Control Word

Source Target Num words Index Reserved

Source-The address of the sender. Target-The address of the target. Num words-Number of words in the block.Index-The number of block in the message.Reserved.

4 bits 4 bits 8 bits 4 bits 12 bits

Page 21: Presenting: Yaron Yagoda Kobi Cohen VERSITILE COMMUNICAION BETWEEN MULTI DSPS Digital Systems Laboratory Spring 2003 Supervisor: Isaschar Walter Final.

DSP sends control word

Priority Check

FIFO Decision

Router send OK word Router send WAIT word

Enough space in FIFO ?Yes No

Data Receive Flow

Send amount of words can be accepted

LimitedSpace

Page 22: Presenting: Yaron Yagoda Kobi Cohen VERSITILE COMMUNICAION BETWEEN MULTI DSPS Digital Systems Laboratory Spring 2003 Supervisor: Isaschar Walter Final.

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 23: Presenting: Yaron Yagoda Kobi Cohen VERSITILE COMMUNICAION BETWEEN MULTI DSPS Digital Systems Laboratory Spring 2003 Supervisor: Isaschar Walter Final.

McBSP Signals

Page 24: Presenting: Yaron Yagoda Kobi Cohen VERSITILE COMMUNICAION BETWEEN MULTI DSPS Digital Systems Laboratory Spring 2003 Supervisor: Isaschar Walter Final.

Code Composer

CCS is a software integrated development environment (IDE) for building and debugging programs for the DSK (DSP Starter Kit), meaning the DSP board.

Page 25: Presenting: Yaron Yagoda Kobi Cohen VERSITILE COMMUNICAION BETWEEN MULTI DSPS Digital Systems Laboratory Spring 2003 Supervisor: Isaschar Walter Final.

Code Composer(code sample)

Page 26: Presenting: Yaron Yagoda Kobi Cohen VERSITILE COMMUNICAION BETWEEN MULTI DSPS Digital Systems Laboratory Spring 2003 Supervisor: Isaschar Walter Final.

WINDRIVER

The WinDriver software is the way to communicate between the PC and the project implemented on the FPGA.

Page 27: Presenting: Yaron Yagoda Kobi Cohen VERSITILE COMMUNICAION BETWEEN MULTI DSPS Digital Systems Laboratory Spring 2003 Supervisor: Isaschar Walter Final.

The GUI

Page 28: Presenting: Yaron Yagoda Kobi Cohen VERSITILE COMMUNICAION BETWEEN MULTI DSPS Digital Systems Laboratory Spring 2003 Supervisor: Isaschar Walter Final.

The GUI

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

Through the GUI the user can define the priority of each DSP.

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

In the GUI we have 4 DSPs, the source address, number of words he wants to send and the destination address.

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

Page 29: Presenting: Yaron Yagoda Kobi Cohen VERSITILE COMMUNICAION BETWEEN MULTI DSPS Digital Systems Laboratory Spring 2003 Supervisor: Isaschar Walter Final.

VERSITILE COMMUNICAION

BETWEEN MULTI DSPS • Introduction

• System Specifications

• Project Structure

• Router

• Protocol

• Conclusion

Page 30: Presenting: Yaron Yagoda Kobi Cohen VERSITILE COMMUNICAION BETWEEN MULTI DSPS Digital Systems Laboratory Spring 2003 Supervisor: Isaschar Walter Final.

Conclusions

• In order to adjust our project to the size of the FPGA we had to decrease the size of our project.

• A much deeper understanding of the DSP side was needed.

Page 31: Presenting: Yaron Yagoda Kobi Cohen VERSITILE COMMUNICAION BETWEEN MULTI DSPS Digital Systems Laboratory Spring 2003 Supervisor: Isaschar Walter Final.

Future Work

• Writing a driver to connect the GUI to the FPGA.

• Working on a better UI to the DSP programmer(using CCS).