Download presentation
Presentation is loading. Please wait.
Published byAlanna Finkley Modified over 9 years ago
1
FPGA-Based System Design: Chapter 7 Copyright 2004 Prentice Hall PTR Topics n Bus interfaces. n Platform FPGAs.
2
FPGA-Based System Design: Chapter 7 Copyright 2004 Prentice Hall PTR Bus interfaces n Requirements: –High performance. –Variable signal environment. n Techniques: –Asynchronous logic. –Handshaking-oriented protocols.
3
FPGA-Based System Design: Chapter 7 Copyright 2004 Prentice Hall PTR Timing diagrams a b c stable 0 1 changing Timing constraint
4
FPGA-Based System Design: Chapter 7 Copyright 2004 Prentice Hall PTR Asynchronous logic n Distribute timing information with values. –No global clock. n Clock signal paths must have the same delay as data values.
5
FPGA-Based System Design: Chapter 7 Copyright 2004 Prentice Hall PTR Latching an asynchronous signal DQ adrs adrs_ready adrs
6
FPGA-Based System Design: Chapter 7 Copyright 2004 Prentice Hall PTR Asynchronous timing constraints n Must satisfy setup, hold times. adrs Setup time Hold time
7
FPGA-Based System Design: Chapter 7 Copyright 2004 Prentice Hall PTR Bus system design n Requirements: –Imposed by the other side of the system. n Constraints: –Imposed by this side of the system. ab requirements constraints
8
FPGA-Based System Design: Chapter 7 Copyright 2004 Prentice Hall PTR ba Views of the bus n Hardware: DQDQ Combinational logic
9
FPGA-Based System Design: Chapter 7 Copyright 2004 Prentice Hall PTR Views of bus system, cont’d. n Timing diagram: ba DQDQ Combinational logic x y xy
10
FPGA-Based System Design: Chapter 7 Copyright 2004 Prentice Hall PTR Bus protocols n Basic transaction: –four-cycle handshake. a b
11
FPGA-Based System Design: Chapter 7 Copyright 2004 Prentice Hall PTR Handshake machine n Each side is an FSM (possibly asynchronous): ab 01 Go ack enq 01 ack
12
FPGA-Based System Design: Chapter 7 Copyright 2004 Prentice Hall PTR Basic protocols n Handshake transmits data:
13
FPGA-Based System Design: Chapter 7 Copyright 2004 Prentice Hall PTR Box 1 logic
14
FPGA-Based System Design: Chapter 7 Copyright 2004 Prentice Hall PTR Box 2 logic
15
FPGA-Based System Design: Chapter 7 Copyright 2004 Prentice Hall PTR Bus timing t d1 = d stable t d2 = d not stable t c1 = c rises t c2 = c falls t ack1 = ack rises t 1 = t c1 - t d1 >= t r t 2 = t ack1 - t c1 >= t h t 3 = t c2 - t ack1 >= t h
16
FPGA-Based System Design: Chapter 7 Copyright 2004 Prentice Hall PTR Busses and systems n Microprocessor systems often have several busses running at different rates: CPU bridge mem I/O High-speed Low-speed
17
FPGA-Based System Design: Chapter 7 Copyright 2004 Prentice Hall PTR Basic signals in a bus
18
FPGA-Based System Design: Chapter 7 Copyright 2004 Prentice Hall PTR Bus characteristics n Physical –Connector size, etc. n Electrical –Voltages, currents, timing. n Protocol –Sequence of events.
19
FPGA-Based System Design: Chapter 7 Copyright 2004 Prentice Hall PTR Advanced transactions n Multi-cycle transfers: –Several values on one handshake. –May use implicit addressing.
20
FPGA-Based System Design: Chapter 7 Copyright 2004 Prentice Hall PTR PCI bus n Used for box-level system interconnect. n Two versions: –33 MHz. –66 MHz. n Supports advanced transactions.
21
FPGA-Based System Design: Chapter 7 Copyright 2004 Prentice Hall PTR PCI bus read
22
FPGA-Based System Design: Chapter 7 Copyright 2004 Prentice Hall PTR Multi-rate systems n Logic blocks running at different clock rates may communicate: –Multi-chip. –Single-chip. »Slow bus connects to fast logic. Logic 1Logic 2 100 MHz33 MHz
23
FPGA-Based System Design: Chapter 7 Copyright 2004 Prentice Hall PTR Metastability n Registers capturing transitioning signals may take an arbitrarily long time to settle.
24
FPGA-Based System Design: Chapter 7 Copyright 2004 Prentice Hall PTR Resynchronization n Use cascaded registers to minimize the chance of using a metastable value. DQDQ ddout
25
FPGA-Based System Design: Chapter 7 Copyright 2004 Prentice Hall PTR Platform FPGAs n Put all the logic for a system on one FPGA. n Requires large FPGAs plus: –Specialized logic: »I/O support; »memory interface. –CPUs.
26
FPGA-Based System Design: Chapter 7 Copyright 2004 Prentice Hall PTR Example: Virtex II Pro n Major features: –Large FPGA fabric. –High-speed I/O. –PowerPC.
27
FPGA-Based System Design: Chapter 7 Copyright 2004 Prentice Hall PTR Virtex II Pro High-speed I/O n Rocket I/O: –parallel/serial or serial/parallel transceiver. n Clock recovery circuitry. n Transceivers for multiple standards: Gigabit Ethernet, Fibre Channel, etc. n Programmable decoding features. n Interface to FPGA fabric.
28
FPGA-Based System Design: Chapter 7 Copyright 2004 Prentice Hall PTR Virtex II Pro CPUs n Up to 4 PowerPC 405s per chip: –5 stage pipe, static branch prediction, etc. n Separate instruction, data caches. n MMU. n Timers. n Scan-based debug support.
29
FPGA-Based System Design: Chapter 7 Copyright 2004 Prentice Hall PTR PowerPC CoreConnect
30
FPGA-Based System Design: Chapter 7 Copyright 2004 Prentice Hall PTR Altera Stratix n Combines FPGA fabric, memory blocks, multipliers.
31
FPGA-Based System Design: Chapter 7 Copyright 2004 Prentice Hall PTR Stratix DSP block
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.