Download Reconfigurable Hardware and Software Defined Acoustic Modems: A Comparative Analysis and more Study notes Electrical and Electronics Engineering in PDF only on Docsity!
Reconfigurable Computing
Architectures
Ryan Kastner Department of Electrical and Computer Engineering University of California, Santa Barbara
ECE 154
Tuesday November 29, 2005
Reconfigurable Hardware
Main Entry: re- Function:prefix 1 : again : anew 2 : back : backward
Main Entry: con · fig · ure Pronunciation: k&n-'fi-gy&r Function: transitive verb : to set up for operation especially in a particular way
KEY ADVANTAGE: Performance of
Hardware, Flexibility of Software
CLB Block RAM IP Core (Multiplier)
Origins of Reconfigurable Computing
Fixed-Plus-Variable (F+V) Structure Computer
Standard processor augmented with inventory of
reconfigurable building blocks
“… to permit computations which are beyond the capabilities
of present systems by providing an inventory of high speed
substructures and rules for interconnecting them such that the
entire system may be temporarily distorted into a problem
oriented special purpose computer.” - G. Estrin
History of Reconfigurable Computing
Early Years – PLA, PAL
One time programmable
Programmed by blowing fuses
Complex Logic Devices
FPGA, CPLD
Reprogrammable (SRAM)
Initially used for glue logic, ASIC prototyping
PLA
“Moore” transistors = more complex devices
Modern Reconfigurable Devices
Reconfigurable devices are extremely complicated,
multiprocessing computing systems
Mix of hardware and software components
Microprocessors – RISC, DSP, network, …
Logic level (FPGA) Reconfigurable logic
Specs for Xilinx Virtex II
3K to 125K logic cells,
Four PowerPC processor cores
Complex memory hierarchy - 1,738 KB block RAM, external memory,
local memory in CLBs
Possibility of soft core processors – DSP
Custom hardware - embedded multipliers, fast carry chain logic, etc.
Can implement complex applications
Traditional Choice: Hardware vs. Software
Properties of Hardware
Fast: High performance
Spatial execution
Adaptable parallelism
Compact: Silicon area
efficient
Operations tailored to
application
Simple control
Direct wire connections between
operations
Hardware Inflexible: Fixed at Fabrication
Source: DeHon/Wawrzynek
Software Flexible: Fixed at Runtime
Traditional Choice: Hardware vs. Software
Properties of Software
Slow:
Sequential execution
Overhead of interpreting
instructions
Area inefficient:
Fixed width, general
operators
Area overhead
Instruction cache
Control circuitry
Souce: DeHon/Wawrzynek
Reconfigurable Hardware
Fast:
Spatial parallelism (like hardware)
Application specific operators, control circuitry
Flexible:
Operators and interconnect programmable (like
software)
Source: DeHon/Wawrzynek
FPGA Architecture
CLB
Switchbox (^) Routing Channel ChannelRouting IOB
Configuration Bit
Programmable Logic
Each logic element outputs one data bit
Interconnect programmable between elements
Interconnect tracks grouped into channels
LE LE
LE LE
LE LE LE LE
LE LE
LE LE
Logic Element Tracks
Lookup Table (LUT)
Program configuration
bits for required
functionality
Computes “any” 2-input
function
In Out
2-LUT
Configuration Bit 0
Configuration Bit 1
Configuration Bit 2
Configuration Bit 3
A B
C
A
B
C=A ⋅ B
Lookup Table (LUT)
K-LUT -- K input lookup table
Any function of K inputs by programming table
Load bits into table
2 N^ bits to describe functions
=> different functions
2^ N
2
K-LUT (typical k=4)
w/ optional
output Flip-Flop
Lookup Table (LUT) Lookup Table (LUT)
Single configuration bit for each:
LUT bit
Interconnect point/option
Flip-flop select
Configurable Logic Block (CLB) Programmable Interconnect
Interconnect architecture
Fast local interconnect
Horizontal and vertical lines of various lengths
C L B C L B C L B C L B C L B C L B
Switch Matrix
Switch Matrix
Embedded RAM
Xilinx – Block SelectRAM
18Kb dual-port RAM arranged in columns
Altera – TriMatrix Dual-Port RAM
M512 – 512 x 1
M4K – 4096 x 1
M-RAM – 64K x 8
Xilinx Virtex-II Pro
1 to 4 PowerPCs
4 to 16 multi-gigabit
transceivers
12 to 216 multipliers
3,000 to 50,000 logic cells
200k to 4M bits RAM
204 to 852 I/Os
cells^ Logic
Up to 16 serial transceivers
PowerPCs
Altera Stratix Programming the FPGA
Configure logic – CLBs, LUTs, FFs
Configure interconnect – channel, switchbox
Large number of bits – 10s MB
Configuration bit technology
Antifuse (program once)
SRAM
Floating Gate (Flash)
Antifuses
Opposite of fuse (open until blown)
Make a connection with electrical signal
The current melts a thin insulating layer to form a thin
permanent and resistive link.
More reliable than breaking a connection (avoids shrapnel)
Permanently programmed (Non-volatile)
Antifuses
Source: Actel
Mode (Read/Write)
Input Data
SRAM Configuration Bit
Output
SRAMSRAM
Volatile
6 CMOS transistors
Standard fabrication
process
Floating Gate (EPROM/EEPROM/Flash)
By applying proper
programming voltages,
electrons “jump” onto
floating gate
Electrons on gate raise
threshold voltage so
transistor always off
Flash switch is
comprised of two
transistors which share
a gate
Real Live Example: UCSB AquaNode
Transducer
Software Defined
Acoustic Modem
Battery
2 Feet
Cutaway View
Ecological Research Programs
Santa Barbara Channel Long Term
Ecological Research (SBC LTER)
Goals
Focuses on understanding the nearshore ecosystems of the west coast Time/space variation of individual organisms, populations, and ecological communities
Moorea LTER
Goals
Understanding processing in coral reef, lagoons and forereef in French Polynesia Nature of animal and plant community structure and diversity Responses to environmental change induced either by human activities or natural cycles
Monitoring in Moorea
Establish monitoring sites in
lagoons and on fore reefs
surrounding Moorea
Response variables measured:
Weather
Tides, Currents and Flows
Ocean Temperature & Color
Salinity, Turbidity & pH
Nutrients
Recruitment & Settlement
Size & Age Structure
Species Abundance
Community Diversity
Lagoon Fore reef
Monitoring in the Santa Barbara Channel (SBC)
Stearns Wharf
Typical Instrumentation: SBC mooring
Stearns Wharf
Existing SBC Moorings
Stearns Wharf
Monitoring Realities
1/3 Santa Barbara Coastal LTER
budget allocated to collection and
management of monitoring data
Estimated 10,000 “Scientist” hours to
conduct large scale monitoring program
of tropical forest
Need for autonomous, adaptive
wireless acoustic underwater network
for eco-surveillance and adaptive
sampling.
Repetitive data collection is expensive and requires
massive numbers of person hours
Scenario for WetNet for Eco-Surveillance
Deploy Ad hoc wireless (acoustic)
network in lagoon
Network consists of Aquanodes
with Conductivity, Temperature,
Depth (CTD) sensors
Ad hoc network allows Aquanodes
to relay data to a dockside collector
Aquanode requirements:
Low cost, low power wireless modems Integral router Integral CTD sensor suite Additional nitrate, oxygen chemical sensors Real-time data from Moorea available on Web
lagoon
MOOREA
Lab
Aquanodes
Collection station with acoustic sensor array
Ad hoc network between Aquanode sensors.
Software Defined Acoustic Modem
Ideal: One piece of hardware for all sensor nodes
Sensor Interface:
Must develop common interface with different sensors (CTD, chemical,
optical, etc.) and communication elements (transducer)
Wide (constantly changing) variety of sensors, sampling strategies
Communication Interface:
Amplifiers, Transducers
Signal modulation
Reconfigurable Hardware Platform
Transducer
CTD Sensor
Complex, computationally intensive communication protocol
Limited energy
Fast design tools to aid mapping of the communication
protocols into hardware
Acoustic Modem Requirements
Reconfigurable Hardware Platform
Transducer
Mapping
CTD
Sensor
Communication Protocol
Design Considerations for SDAM
Multipath Spread – Range of 1 to 10 milliseconds for shallow
water at up to 1 km range
Larger bandwidths reduce frequency dependent multipaths
Transducers
Size/weight/cost proportional to wavelength
Acceptable propagation losses at 100 meter ranges
Waveform
M-FSK signaling
Datasonics/Benthos modems (used in Seaweb, FRONT) Narrowband thus sensitive to frequency-selective fading. Use more tones – increasing sensitivity to Doppler spread.
Proposed Walsh/m-sequence signaling (Direct-sequence)
Provides frequency diversity due to wide bandwidth Can be detected noncoherently
Walsh/m-Sequence Waveforms
Chip rate – 5 kcps, approx. 5 kHz bandwidth. Uses 25 kHz carrier.
Use 7 chip m-sequence c per Walsh symbol, 8 bits per Walsh
symbol b i. Composite symbol duration is thus T = 11.2 msec.
(Longer than maximum multipath spread.)
Symbol rate is 266 bps, or 133 bps using 11.2 msec. time guard band
for channel clearing.
11 msec.
Transmitted Signal
Walsh/m-sequence Signal Parameters
UWA Walsh/m-sequence
GMHT-MP Modem
Note: 112 Nyquist samples/symbol + 112 samples for channel clearing.
Matching Pursuit Core
Matching Pursuit Core
Matching Pursuit Core
Matching Pursuit Core
arg min
i
Generalized multiple hypothesis test (GMHT)
Goal: Map application specification to system architecture
Subject to always increasing design constraints: lower energy,
smaller, faster, etc.
Communication Protocol: Walsh/m-sequence GHMT-MP Acoustic Modem
System Design Tools
CLB Block RAM IP Core (Multiplier)
Reconfigurable System
System Design Tools
Conclusions
Reconfigurable Computing – best of both worlds
Hardware – spatial mapping, customized towards application at
hand
Software – programmable, one chip for many different
applications, cheap
Reconfigurable Architectures
Fine grained, regular, logic level programmability
Extremely complex
Reconfigurable Applications
Orders of magnitude speedups in many applications
Software Defined Acoustic Modem