+ All Categories
Home > Documents > Benefits of Partial Reconfiguration

Benefits of Partial Reconfiguration

Date post: 25-Feb-2016
Category:
Upload: kueng
View: 98 times
Download: 2 times
Share this document with a friend
Description:
Benefits of Partial Reconfiguration. Reducing the size of the FPGA device required to implement a given function, with consequent reductions in cost and power consumption Providing flexibility in the choices of algorithms or protocols available to an application - PowerPoint PPT Presentation
Popular Tags:
50
Transcript
Page 1: Benefits of Partial Reconfiguration
Page 2: Benefits of Partial Reconfiguration

Benefits of Partial Reconfiguration

• Reducing the size of the FPGA device required to implement a given function, with consequent reductions in cost and power consumption

• Providing flexibility in the choices of algorithms or protocols available to an application

• Enabling new techniques in design security• Improving FPGA fault tolerance• Accelerating configurable computing

Page 3: Benefits of Partial Reconfiguration

DefinitionsPartial Reconfiguration (PR)

Partial Reconfiguration is modifying a subset of logic in an operating FPGA design by downloading a partial configuration file.

PartitionLogical section of the design, defined by the user, to be considered for design reuse. This is the section of the FPGA designated for PR.

Page 4: Benefits of Partial Reconfiguration

DefinitionsConfiguration Frame

The smallest addressable segments of the FPGA configuration memory space. Reconfigurable frames are built from discrete numbers of these lowest level elements

FrameThe smallest reconfigurable region within an FPGA device.

Frame in Virtex-6 are 40 CLBs high by 1 CLB wide. Frame in Virtex-5 are 20 CLBs high by 1 CLB wide. Frame in Virtex-4, are 16 CLBs high by 1 CLB wide.

Page 5: Benefits of Partial Reconfiguration

Partition Pins

• Logical and physical connection between static logic and reconfigurable logic.

• Formerly known as “Bus Macros”.

• Now they are automatically created for all Reconfigurable Partition ports, no manual reconfiguration is needed from the user.

Page 6: Benefits of Partial Reconfiguration

Partition Pins – Proxy Logic

• Each partition pin is connected to a LUT,These LUTs are called “Proxy Logic”

• Logically located in the Static Region

• Required to be at a fixed known point to act as an interface between static and reconfigurable partitions

Page 7: Benefits of Partial Reconfiguration

Partition Pins

Page 8: Benefits of Partial Reconfiguration

Bus Macro Implementation

Page 9: Benefits of Partial Reconfiguration

PR R

egio

n Se

lecti

on

Page 10: Benefits of Partial Reconfiguration

Internal Configuration Access Port (ICAP)

• Port to read and write the FPGA configuration at run time

• enables a user to write software programs for an embedded processor that modifies the circuit structure and functionality during the circuit’s operation.

• Allows for automated runtime reconfiguration

Page 11: Benefits of Partial Reconfiguration

Hardware ICAP Core

Page 12: Benefits of Partial Reconfiguration

Example Self Reconfiguration System

Page 13: Benefits of Partial Reconfiguration

Two Ways to update LUTS

• Modular Partial Reconfiguration:– Large changes– Full module is changed between two

configurations• Difference Partial Reconfiguration– Small Changes– Modify a LUT function or a memory content

Page 14: Benefits of Partial Reconfiguration

Modular Layout

Page 15: Benefits of Partial Reconfiguration

Constraints of Modular Method

• The size and the position of a module cannot be changed.

• Input-output blocks (IOBs) are exclusively accessible by contiguous modules.

• Reconfigurable modules can communicate only with neighbor modules, and it must be done through bus macros.

• No global signals are allowed (e.g., global reset), with the exception of clocks that use a different bitstream and routing channels.

Page 16: Benefits of Partial Reconfiguration

Difference Based Partial Reconfiguration

• Small changes on the FPGA configuration• Manually done using the FPGA Editor• What can be modified?– LUTs equations– BRAM contents and BRAM write modes– I/O standards and pull-ups or pull-downs on external pins– muxes that invert polarity,– Flipflop initialization and reset values,

• What cannot be modified?– Routing – very dangerous: internal contentions.

Page 17: Benefits of Partial Reconfiguration

Problems with Difference Based Method

• Lack of Automation – Changes must be done manually

• In complex designs it is difficult to find the component you want to modify

• Xilinx current support is mostly for modular based method.

Page 18: Benefits of Partial Reconfiguration

The Early-Access Partial Reconfiguration Design Flow(The Old Way - used by the paper)

This design flow is no longer valid using newer Xilinx tools.

Page 19: Benefits of Partial Reconfiguration

The New Way – A little easier

1. Synthesize base system with reconfigurable module with input and output pins (XPS)

2. Create software files to manage PR Region (SDK)

3. Use Plan Ahead to manage PR Region and create bit-streams (Lots of steps here)

4. Merge bit-streams into download.bit to run on the FPGA

Page 20: Benefits of Partial Reconfiguration

Customizing Virtual Networks with Partial FPGA

Reconfiguration

• Use reconfiguration to create/modify a virtual network

• Heuristic to assign networks to HW/SW• Allows for migration of virtual networks

between HW and SW• Workstation handles SW while FPGA handles

HW

Page 21: Benefits of Partial Reconfiguration

Motivation

• Network applications have diverse performance requirements for underlying network infrastructure

• Desire Flexibility, performance and isolation• Numerous hardware network substrates would

work, but the hardware implementation overhead is too high

• Need for straight-forward reconfiguration-over-time method

Page 22: Benefits of Partial Reconfiguration

Limitations of Current State of the ArtCurrent Implementation Pros Cons

Software virtual networks on microprocessors

High Flexibility and Isolation

Low performance

Network processors / dedicated hardware

High Performance

Flexible

Hardware shuts down during reconfiguration(Low isolation)

Migrate networks to software when reconfiguring

High Performance

Flexible

Low performance when reconfiguring(Low isolation)

Page 23: Benefits of Partial Reconfiguration

Related Work

• Supercharging Planet Lab (SPL)– Intel IXP Network Processors– Dedicated ternary content addressable memory

(TCAM) for each forwarding table• FPGA implementation– 4 concurrent virtual networks with dedicated – Dedicated IP routers– Additional networks run in software– Switch to software when reconfiguring

Page 24: Benefits of Partial Reconfiguration

Related Work

• Field Programmable Port Extender (FPX)– High speed switch– PR packet processing modules using APIs– Specialized software (PARBIT) for bit-stream

management and generation– PR network processor– Reconfigurable Accelerator for packet processing

functions

Page 25: Benefits of Partial Reconfiguration

Proposed Approach

• Use reconfiguration to create/modify a virtual network

• Heuristic to assign networks to HW/SW• Allows for migration of virtual networks

between HW and SW• Workstation handles SW while FPGA handles

HW

Page 26: Benefits of Partial Reconfiguration
Page 27: Benefits of Partial Reconfiguration

System Design

Partially Reconfigurable FPGA System

Static Region PR RegionArbiter Header Verification

Packet Classifier Checksum Verification

Output Queues IP Lookup

CPU Transceiver ARP Lookup

Time to live (TTL) Lookup

Page 28: Benefits of Partial Reconfiguration

System Design

Software Based SystemOpenVZ – lightweight virtualization apporach

FPGA receives packets and send them to HW or SW

CPU Transeiver sends the packet to the workstation

OpenVZ processes the packet on a virtual network

All processed packets go to the output queues on FPGA

Page 29: Benefits of Partial Reconfiguration

System Design

Dynamic Virtual Network Allocation• Virtual network removal• Virtual network addition• Virtual network bandwidth adjustment– Reduction -> No effect on other networks– Increase -> Greedy Rebalancing Algorithm:

Migrate lowest bandwidth to software or the highest bandwidth to hardware to make room for adjustment

Page 30: Benefits of Partial Reconfiguration

System Implementation

Page 31: Benefits of Partial Reconfiguration

Experimental Approach

• Used EARP design flow to generate bitstreams• Used Bus-Macros• Separate Verilog files for all modules• Downloaded to the FPGA using JTAG

Page 32: Benefits of Partial Reconfiguration

Experiment Testbed

Page 33: Benefits of Partial Reconfiguration
Page 34: Benefits of Partial Reconfiguration

Throughput of Routers

Page 35: Benefits of Partial Reconfiguration

Static Reconfigurable MethodWhy is there such a drop in performance in this method?

Page 36: Benefits of Partial Reconfiguration

Partial Reconfigurable MethodWhy is A unaffected by the reconfiguration like in previous method?

Page 37: Benefits of Partial Reconfiguration

There isn’t much of a performance gain between the highest performing PR and SR methods. Why?

Page 38: Benefits of Partial Reconfiguration

What causes the SR method to outperform the PR method as the number of Virtual Networks increases?

Page 39: Benefits of Partial Reconfiguration
Page 40: Benefits of Partial Reconfiguration

Hot-Spot Mitigation

• Use Partial Reconfiguration to swap hot and cool modules around the chip based on a thermal trigger.

• Set a threshold temperature and when a module reaches that threshold, swap positions with a cool module using reconfiguration

Page 41: Benefits of Partial Reconfiguration

Hot-Spot Mitigation

Page 42: Benefits of Partial Reconfiguration
Page 43: Benefits of Partial Reconfiguration
Page 44: Benefits of Partial Reconfiguration

Module the size of ¼ a Microblaze

Page 45: Benefits of Partial Reconfiguration

Module the size of ½ a Microblaze

Page 46: Benefits of Partial Reconfiguration

Module the size of one Microblaze

Page 47: Benefits of Partial Reconfiguration

Pixel Video Processor

• PR modules can be reconfigured to perform arbitrary one pixel functions

• Tested to see how the reconfiguration time overhead effects the system

Page 48: Benefits of Partial Reconfiguration

Pixel Processor

Page 49: Benefits of Partial Reconfiguration

My Project: Data Adaptable Reconfiguration

Page 50: Benefits of Partial Reconfiguration

Recommended