Next generation computing using FPGA’s A small what, why, how, intro into Field Programmable Gate Arrays By Rolf Huisman [email protected] @rlrhuisman
NextgenerationcomputingusingFPGA’s
Asmallwhat,why,how,introintoFieldProgrammableGate
Arrays
@rlrhuisman
FPGA?A field-programmablegatearray (FPGA)isanintegratedcircuitdesignedtobeconfiguredbyacustomeroradesigneraftermanufacturing– hence"field-programmable”
Source:Wikipedia
Simplified:YoucancreateyourownprocessorWhyshouldonecare?
InnovationKeynoteIgnite2016
Title document 307-11-16
“But we not stopping there. We are now, taking those; neural nets, deep neural nets, convolution nets and asking ourselves; What if we can run them not just on cpu’s or gpu’s, what if we can run them on silicon ?”Satya Nadella
Source: Innovation Keynote Ignite 2016
PersonalPOCPensionCalculation50ktransactionspersecond
7x300Watts 1,89Watts+3,34Watts2100Watts 5,23Watts
Titledocument 707-11-16
WhatamIseeing?
RaspberryPI FPGAShield
MicroService RAM
FPGAChip
MyProcessor
SPISerial Peripheral Interface
(Multiplexer)MUX
Choosingbetweengates
ORAB
Out
ANDAB
S
S A B Out0 0 0 00 1 0 00 0 1 00 1 1 11 0 0 01 1 0 11 0 1 11 1 1 1
AND
OR
(Multiplexer)MUX
MuxGate
ORAB
ANDAB
S
OutThe selectors are part of the “Bitstream”This Bitstream is the configuration you write to you’re FPGA
That’s how you are configuring/building your own dedicated processor
RealityisabitmorecomplexInreality:GatesareLookUpTables(LUT)with5or6inputs,and2outputsFlip-Flops(Memorycells)RoutingFabric(LotofMultiplexerstoroutesignals)IOpinsconnectingtooutsideworld
AndalotI’llignorefornowSignalTimingsHeatingwithintheFPGAchipPowerconsumption…
Specifying/ProgrammingDirect– VHDL– Verilog– GateDiagrams
Indirect:– (HLS)C– Open-CL
VHDL of Blinking light (“Hello World”)
ConclusionFPGA’sisaveryinterestingtechnology– Powerful– EfficientFPGA’sisalsoadifficulttechnology– Steeplearningcurve– Synthesis,mapping,androutingcantakeages– Highlyparallelandphysicalinterferencemakesforfundebuggingsessions
– Physicalbehavior(Heatingofchip,chirp)Useabstractionslikeopen-clifyou'reableto
Titledocument 2407-11-16