Top Banner
Performed by: Yulia Turovski Lior Bar Lev Instructor: Mony Orbach תתתת תתתתתתת תתתתתתת תתתתתתh speed digital systems laboratory תתתת- תתתתתתת תתתתתתתת תתתתתת תתתתתתת תתתתתת תתתתTechnion - Israel institute of technology department of Electrical Engineering Mid-Semester Presentation I Subject: gh-Speed Communication Channel( Switch Winter semester 2010 1
15

Performed by:Yulia Turovski Lior Bar Lev Instructor: Mony Orbach

Jan 17, 2016

Download

Documents

liora

Technion - Israel institute of technology department of Electrical Engineering. הטכניון - מכון טכנולוגי לישראל הפקולטה להנדסת חשמל. High speed digital systems laboratory. המעבדה למערכות ספרתיות מהירות. Mid-Semester Presentation I Subject:. High-Speed Communication Channel(s) Switch. - PowerPoint PPT Presentation
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Performed by:Yulia Turovski Lior Bar Lev Instructor: Mony Orbach

Performed by: Yulia TurovskiLior Bar Lev

Instructor: Mony Orbach

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

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

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

Technion - Israel institute of technologydepartment of Electrical Engineering

Mid-Semester Presentation ISubject:

High-Speed Communication Channel(s)Switch

Winter semester 20101

Page 2: Performed by:Yulia Turovski Lior Bar Lev Instructor: Mony Orbach

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

2

•Reminder – Motivation and Goal•Switch structure•Switching algorithm (“Router”)•SerialLite II component•Packet size consideration•Implemented protocol•Validation method•Gantt diagram

Page 3: Performed by:Yulia Turovski Lior Bar Lev Instructor: Mony Orbach

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

2

Motivation: •High-speed communication between devices.•Utilizing high frequency achievable with new hardware.•Demand for reliable communication

Goal: •Design & implementation of high speed communication switch.•Use of advanced communication protocols.•Connect between as many devices as possible.•Best transmission rate possible.

Page 4: Performed by:Yulia Turovski Lior Bar Lev Instructor: Mony Orbach

Priority vs. DataHigh speed digital systems laboratoryהמעבדה למערכות ספרתיות מהירות

2

•SerialLite II can use two types of ports:•Priority ports

•Sends packets with higher priority•Includes internal DLL functions (protocol described later)•Can stop data packet in middle of transmission•Will be routed by fullest queue first

•Data ports•Sends “regular” packets•Example: video streaming•Doesn’t include internal DLL functions

•We can implement one later•Will be routed by time priority using multiple-out queues

Address 8bit Timestamp 16 bit Data 29Byte

Address 8bit Data 31Byte

Data

Priority

Page 5: Performed by:Yulia Turovski Lior Bar Lev Instructor: Mony Orbach

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

3

SerialLite II SerialLite II SerialLite II SerialLite II

in out in out in out inout

Router

RoutingTables (RAM)

config

FIFO FIFO FIFO FIFO

Page 6: Performed by:Yulia Turovski Lior Bar Lev Instructor: Mony Orbach

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

3

SerialLite II SerialLite II SerialLite II SerialLite II

in out in out in out inout

Router

RoutingTables (RAM)

config

Time priority queue

Time priority queue

Time priority queue

Time priority queue

Page 7: Performed by:Yulia Turovski Lior Bar Lev Instructor: Mony Orbach

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

•Entrance buffers offer 4 highest-priority packets each•Priority port presents oldest message available for each output port

•Chosen for each port is the packet from the most occupied input queue

•Data port presents the packet with earliest stamp for each output port

•Chosen is the earliest-stamped packet for each output port•Each port can contribute 0-3 packets each cycle depending on availability and priority of packets.•Getting messages from inside the queue requires additional logic

•Buffer-private stamping for fifo packets and priority logic

4

Page 8: Performed by:Yulia Turovski Lior Bar Lev Instructor: Mony Orbach

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

•Translate addresses using translation tables•Hold start index•For each output port j

•For each priority in port I (start index to N and then 1 to start-1)•Each buffer offers first message for each output port (4)•If size(i)>Max

•Max=size(i), Pchoose(j)=i•Transfer Pchoose[j]•For each data in port I (start index to N and then 1 to start-1)

•Each buffer offers oldest message for each output port (4)•If out(j).time<oldest(j)

•Oldest(j)=i, Dchoose(j)= i•Transfer Dchoose[j]

•Eventually we can implement each algorithm for any port4

Page 9: Performed by:Yulia Turovski Lior Bar Lev Instructor: Mony Orbach

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

5

•DLL and PHY•Multiple lanes•One lane per connection

•Constant packet size•Small or large?

•CRC checks included (16/32)•We use 16

•Physical layer enhancements•Buffers for quality of service•Holds up to 8 packets.•If full – no packets inserted

•Optional use of flow control logic (costs space)

Page 10: Performed by:Yulia Turovski Lior Bar Lev Instructor: Mony Orbach

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

5

•Highest rate possible with stratix II GX – 6.75 Gbps•On other devices highest rate may be as low as 3.125 Gbps

•Space resources for 4 SerialLite II ports with both priority and data packets (worst case scenario):•1 Priority port: 1675 ALUTs + 1284 logic registers, 12 M512s and 22 M4K•1 Data port: 1381 ALUTs + 1075 logic registers, 12 M512s and 12 M4K

•Total, assuming ALUT=LREG=LE: 21660 LEs, 96 M512s and 136 M4Ks•Available: 90,960 LEs, 488 M512 and 408 M4Ks•Cores consume 24% of logic space and average of 25% of memory – reasonable for it’s advantages.

Page 11: Performed by:Yulia Turovski Lior Bar Lev Instructor: Mony Orbach

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

6

•Transfer rate – 6Gb/sec = 0.75GB/sec•Assuming clock frequency – 200 MHz•Transfer rate = clock frequency*packet size

•Rate met for packets >= 3.75B•16 byte packet allows blocking switching!

9

8

0.75 103.75

2 10Packet Size B

Page 12: Performed by:Yulia Turovski Lior Bar Lev Instructor: Mony Orbach

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

7

•Priority packets •Every packet is a priority packet (no regulars)

•Retry on error •Similar to selective repeat (NACK)•Characteristics of GBN (timeout, out of order)•Recovery.

•Data packets have no built in DLL protocol

Page 13: Performed by:Yulia Turovski Lior Bar Lev Instructor: Mony Orbach

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

8

•Module with 4 SerialLite II instances•Random / Pre-prepared addressed packets (scenario)•Arranges two buffers for each port

•After completion of transfer – comparing packets•Errors in switching•Errors in data•Order of reception vs. generation (stepper)•OFFLINE

•In simulation – using test-bench•Possibility of adding test indicators (i.e. buffer full)

•After synthesis – using another device

Page 14: Performed by:Yulia Turovski Lior Bar Lev Instructor: Mony Orbach

Validation Method (2)High speed digital systems laboratoryהמעבדה למערכות ספרתיות מהירות

2

Port I

Port II

Port III

Port IV

Port I

Port II

Port III

Port IV

ConfigConfigoutgold res

gold resgold res

gold res

inX4

Test device Switch

Page 15: Performed by:Yulia Turovski Lior Bar Lev Instructor: Mony Orbach

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

9

Tasks27/12-2/13-9/110-16/117-23/124-30/131/1-6/27-13/214-20/221-27/2

Mid presentation

Router coding+sim

In/out buffer coding+sim

SerialLite II variation

End-semester presentation

Minimum goal: showing each block and its simulation waves.Maximum goal: showing entire switch simulation with limited scenario test bench.