high speed digital design project

19
High Speed Digital Design Project SpaceWire Router By: Asaf Bercovich & Oren Cohen Advisor: Mony Orbach Semester: Winter 2007/2008 2-Semester Project Date: 7 January 2008 Midterm Presentation

Upload: laszlo

Post on 26-Jan-2016

33 views

Category:

Documents


2 download

DESCRIPTION

High Speed Digital Design Project. SpaceWire Router. Midterm Presentation. By: Asaf Bercovich & Oren Cohen Advisor: Mony Orbach Semester: Winter 2007/2008 2-Semester Project Date: 7 January 2008. Project Goal. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: High Speed Digital Design Project

High Speed Digital Design ProjectHigh Speed Digital Design Project

SpaceWire RouterSpaceWire Router

By: Asaf Bercovich & Oren Cohen

Advisor: Mony Orbach

Semester: Winter 2007/2008

2-Semester Project

Date: 7 January 2008

Midterm Presentation

Page 2: High Speed Digital Design Project

Project GoalProject Goal

• Designing a SpaceWire Switch Core (Router) compatible to ECSS-E-50-12A Standard.

• The design will be coded and simulated using Xilinx development enviroment and implemented onto a Xilinx VirtexII-Pro FPGA.

• Designing a SpaceWire Switch Core (Router) compatible to ECSS-E-50-12A Standard.

• The design will be coded and simulated using Xilinx development enviroment and implemented onto a Xilinx VirtexII-Pro FPGA.

Page 3: High Speed Digital Design Project

System TopologySystem Topology

RouterRouter

Page 4: High Speed Digital Design Project

System TopologySystem Topology

RouterRouter

PORT

• Full duplex

• Low latency

• Point-to-point

• Wormhole Routing

• Asynchronous communication

• Automatic failover

• 800 Mb/s of Traffic Total

Page 5: High Speed Digital Design Project

SpaceWire CharactersSpaceWire Characters

• There are only 5 Characters:• There are only 5 Characters:

FCT – “Flow Control Token"

ESC – “Escape”

FCT – “Flow Control Token"

ESC – “Escape”

EOP – “End Of Packet”

EEP – “End of Packet with Error”

EOP – “End Of Packet”

EEP – “End of Packet with Error”

NCHAR – “Normal Character”NCHAR – “Normal Character”

Page 6: High Speed Digital Design Project

The SpaceWire PortThe SpaceWire PortEntityEntityArchitectureArchitecture

ReceiverReceiver

Port Controller

Port Controller

DinDin

SinSin

DoutDout

SoutSout

ClockClock

ResetReset

RX DATA / ControlRX DATA / Control

TX DATA / ControlTX DATA / Control

Link Start /

Link Disable

Link Start /

Link Disable

State MachineState Machine

TX ClockTX

Clock

TransmitterTransmitter

FIFOFIFORX_CLOCKRX_CLOCK

FIFOFIFO

WriteWrite

ReadyReady

ReadyReady

ReadRead

ReadRead

ReadyReady

ReadyReady

WriteWrite

Page 7: High Speed Digital Design Project

ReceiverReceiver

The SpaceWire PortThe SpaceWire PortArchitectureArchitecture

Port Controller

Port Controller

DinDin

SinSin

DoutDout

SoutSout

ClockClock

ResetReset

RX DATA / ControlRX DATA / Control

TX DATA / ControlTX DATA / Control

Link Start /

Link Disable

Link Start /

Link Disable

State MachineState Machine

TX ClockTX

Clock

TransmitterTransmitter

FIFOFIFORX_CLOCKRX_CLOCK

FIFOFIFO

WriteWrite

ReadyReady

ReadyReady

ReadRead

ReadRead

ReadyReady

ReadyReady

WriteWrite

Page 8: High Speed Digital Design Project

Internal SignalsInternal SignalsTransmitterTransmitter

ReceiverReceiver

Port C

ontroller

(State M

achine)

Port C

ontroller

(State M

achine)

RESETSend NULLsSend FCTsSend N-CharsSend Time-Codes

GotFCT

Got Time-CodeGotN-CharGotNULLCreditErrorRX_Err

RESET

Page 9: High Speed Digital Design Project

Port ControllerPort Controller

RX_Err

‘1’ D Q

Flip Flop

R

Synchronization ExampleSynchronization Example

Asynchronous Reset

D Q

Flip Flop

R

D Q

Flip Flop

R

Controller’s Clock

Synchronizer

Controller Logic

Controller Logic

Page 10: High Speed Digital Design Project

ReceiverReceiver

The SpaceWire PortThe SpaceWire PortArchitectureArchitecture

Port Controller

Port Controller

DinDin

SinSin

DoutDout

SoutSout

ClockClock

ResetReset

RX DATA / ControlRX DATA / Control

TX DATA / ControlTX DATA / Control

Link Start /

Link Disable

Link Start /

Link Disable

State MachineState Machine

TX ClockTX

Clock

TransmitterTransmitter

FIFOFIFORX_CLOCKRX_CLOCK

FIFOFIFO

WriteWrite

ReadyReady

ReadyReady

ReadRead

ReadRead

ReadyReady

ReadyReady

WriteWrite

Page 11: High Speed Digital Design Project

Shift Register

Shift Register

LogicLogic

Port Transmitter“The Factory”

Port Transmitter“The Factory”

ControllerController

DoutDout

SoutSout

SpaceWire Character

TX Clock

DS Encoder

DS Encoder

TX DATA

Control Signals

LogicLogic LogicLogic

Page 12: High Speed Digital Design Project

ReceiverReceiver

The SpaceWire PortThe SpaceWire PortArchitectureArchitecture

Port Controller

Port Controller

DinDin

SinSin

DoutDout

SoutSout

ClockClock

ResetReset

RX DATA / ControlRX DATA / Control

TX DATA / ControlTX DATA / Control

Link Start /

Link Disable

Link Start /

Link Disable

State MachineState Machine

TX ClockTX

Clock

TransmitterTransmitter

FIFOFIFORX_CLOCKRX_CLOCK

FIFOFIFO

WriteWrite

ReadyReady

ReadyReady

ReadRead

ReadRead

ReadyReady

ReadyReady

WriteWrite

Page 13: High Speed Digital Design Project

Port ReceiverPort Receiver

Shift Register

Shift Register

Sequence Detector + Data Extraction

Sequence Detector + Data Extraction

MEM

Error Reporting

RX_DATA to FIFO

RX Clock RecoveryRX Clock Recovery

DinDin

SinSin

Rx Clock

DinDin

Page 14: High Speed Digital Design Project

RX Clock RecoveryRX Clock Recovery

D

SRX_CLOCK

Version I – XOR GateVersion I – XOR Gate

D

S

RX_CLOCK

Page 15: High Speed Digital Design Project

RX Clock RecoveryRX Clock Recovery

S

RX_CLOCK

Version II - Quad Data Rate Flip FlopVersion II - Quad Data Rate Flip Flop

D

S

D Q RX_CLOCK

D

Page 16: High Speed Digital Design Project

RX Clock RecoveryRX Clock Recovery

Version III – Three DDR Flip Flops & XOR GateVersion III – Three DDR Flip Flops & XOR Gate

S

RX_CLOCK

D

Page 17: High Speed Digital Design Project

RX Clock RecoveryRX Clock RecoveryVersion III – Three DDR Flip Flops & XOR GateVersion III – Three DDR Flip Flops & XOR Gate

D

D Q

DDR FF

S

D Q

DDR FF

RX_CLOCK

D Q

DDR FF

betterRX_CLOCK

Page 18: High Speed Digital Design Project

Project MilestonesProject Milestones

• 8-14/1/08 – Assimilation of FIFOs into Port’s architecture.

• 15-21/1/08 – Checking feasibility for 200 MHz work frequency (using

DCM module).

• 22/1–11/2/08 – Testing & Stabilization of Port’s final design.

• 12/2-25/2/08- Gathering information about routing with SpaceWire.

• 8-14/1/08 – Assimilation of FIFOs into Port’s architecture.

• 15-21/1/08 – Checking feasibility for 200 MHz work frequency (using

DCM module).

• 22/1–11/2/08 – Testing & Stabilization of Port’s final design.

• 12/2-25/2/08- Gathering information about routing with SpaceWire.

Semester Goal – Port Completion

Page 19: High Speed Digital Design Project

ReferencesReferences

• ECSS-E-50-12A - 24 January 2003• ECSS-E-50-12A - 24 January 2003