SlideShare a Scribd company logo
Why a Zynq should
power your next
project
(intro to FPGA’s by Mark Smith)
Who
remembers
this?
“The video display generator of the ZX80 used minimal
hardware plus a combination of software to generate a video
signal. This was an idea that was popularised by Don
Lancaster in his 1978 book The TV Cheap Video Cookbook and
his "TV Typewriter".[7] As a result of this approach the ZX80
could only generate a picture when it was idle, i.e. waiting for
a key to be pressed.” Wikipedia Entry on ZX80
We offloaded video
to CGA, HGC, EGA,
VGA etc.
Separate hardware
cards to take over the
job from software
But it’s still
hardware rigidly
implementing a
control algorithm
What if there was a way to
generalise it? In the end it’s just
digital logic right?
Combinational
Logic is a truth
table
Sequential logic adds some state
memory
Image source: https://www.electronics-tutorials.ws
Some clever
people took that
idea...
This is the base unit of an FPGA:
a combinational logic block and a
flip flop, with a MUX to select the
output
4 LUT
MUX
D Q
CLK
A Logic Block in an FPGA
...added a
massive
interconnect,
and call it an
FPGA
They created a massive
interconnect between a series of
logic blocks that are
programmable in the field.
(they also added DSP elements,
BRAM elements)
That Hercules card
implemented in an
FPGA could have
been rewritten as a
VGA card with a
software update
FPGAs can
implement a
‘soft core’
microcontroller
by uploading
Intellectual
Property (IP)
There is an IP industry for whatever you want
Then there’s
Zynq
Hard-IP Dual core ARM A9 with
programmable logic.
Perrone
Autonomous
Vehicles
Xilinx for control systems and
computation algorithms
Play the Vid
3D sensing cameras
“Real time depth computation… 2.1
billion correspondence matches per
second… generate 15 million points a
second of 3D data … 1/10th the power
[of a ] normal processor.”
CV, Machine
Learning and
sensor fusion
On one chip: Zynq Ultrascale+
MPSoC device using reVISION
stack
Back to earth….
What can I do?
Entry level boards
Zybo - $280
Microzed - $290
Blinking LED’s
Bare Metal
Exercise 1B
The Zynq Book - Tutorials
The system block
design in Vivado
Hardware Platform Specification
Board Support Package
A Quick note on linux with usb serial
Cd
~/xilinx/Vivado/2017.4/data/x
icom/cable_drivers/lin64/inst
all_script/install_drivers/
sudo ./install_drivers
https://forums.xilinx.com/t5/Embedded-Development-Tools/issues-connecting-to-usb-jtag-on-zybo-under-linux/td-p/675162
The GPIO LEDs example code
(from exercise 1C file download)
Embedded Linux
Yocto or Petalinux for a custom
linux distribution
Linaro (and probably others) for
pre existing linux distro
Accessing
memory
mapping on
Linux
User app accessing memory
User space drivers
Kernel space drivers
Kernel space
RAM (where
the AXI
interface is
kept)
User
Process
Memory
mmap()
Blinking LEDS: Linux
petalinux-create --type project --name first-lx --template zynq
Petalinux-config --get-hw-description -p first-lx
Go to image and packaging, select rootfs to be sd-card
Petalinux-build -p first-lx
petalinux-package --boot --format BIN --fsbl images/linux/zynq_fsbl.elf --fpga
images/linux/first_zynq_system_wrapper.bit --u-boot
petalinux-config -c rootfs
petalinux-create -p first-lx -t apps -n gpio-dev-mem-test
sudo pax -rvf rootfs.cpio
axi-gpio-test -g 41200000 -c 2 -o 255
Remember IP?
You can make your
own.
Vivado HLS
Takes c/c++ code and
implements the equivalent
circuit in the FPGA. Accelerating
it enormously and with lower
power requirements that other
solutions
Zynq Book 3C.
Cd /home/mark/dev/tut3A
vivado_hls -p matrix_mult_prj
HLS accelerates
control or
computation centric
algorithms
The IP is in the catablog and played
like any other IP
People are using it
for onboard image
processing in
satellites
DFE in this table is a cluster of
FPGA’s running an algorithm. The
takeaway is that Zynq used way less
power, and had a performance per
pixel that ran third to some serious
server hardware (way faster than
other ARM implementations)
“A Scalable Dataflow Accelerator for Real Time Onboard
Hyperspectral Image Classification”, Wang et al, 2016
What I’m using it
for
Multi-algorithm Digital Currency
Miner.
I’m intending to use Vivado HLS to
implement a miner algorithm, and
reconfigurability to switch
algorithms IN HARDWARE on the
fly.
Milestones
2017 2018
Nov 2017
Blinking LEDS on Linux
Feb 2018
CPU multi miner running
on Zynq. (but not using
fabric)
Next
Cryptonite algorithm
accelerated through HLS
Later
Other algorithms, ‘what to
mine’ like functionality to
decide when to switch
Simulink models can
generate VHDL code
Learning resources
The ZYNQ book

More Related Content

What's hot

An open flow for dn ns on ultra low-power RISC-V cores
An open flow for dn ns on ultra low-power RISC-V coresAn open flow for dn ns on ultra low-power RISC-V cores
An open flow for dn ns on ultra low-power RISC-V cores
RISC-V International
 
Implementation of Soft-core processor on FPGA (Final Presentation)
Implementation of Soft-core processor on FPGA (Final Presentation)Implementation of Soft-core processor on FPGA (Final Presentation)
Implementation of Soft-core processor on FPGA (Final Presentation)
Deepak Kumar
 
Fpga technology
Fpga technologyFpga technology
Fpga technology
Naren Sridhar
 
GPU Design on FPGA
GPU Design on FPGAGPU Design on FPGA
GPU Design on FPGA
Ramanathan SG
 
Asic &fpga
Asic &fpgaAsic &fpga
Asic &fpga
Podili Ramu
 
FPGA_Overview_Ibr_2014
FPGA_Overview_Ibr_2014FPGA_Overview_Ibr_2014
FPGA_Overview_Ibr_2014
Ibrahim Hejab
 
Cpld fpga
Cpld fpgaCpld fpga
Cpld fpga
anishgoel
 
MTE104-L2: Overview of Microcontrollers
MTE104-L2: Overview of MicrocontrollersMTE104-L2: Overview of Microcontrollers
MTE104-L2: Overview of Microcontrollers
Abdalla Ahmed
 
Xilinx virtex 7 fpga - Semester Presentation
Xilinx virtex 7 fpga - Semester PresentationXilinx virtex 7 fpga - Semester Presentation
Xilinx virtex 7 fpga - Semester Presentation
Muhammad Muzaffar Khan
 
FPGA/Reconfigurable computing (HPRC)
FPGA/Reconfigurable computing (HPRC)FPGA/Reconfigurable computing (HPRC)
FPGA/Reconfigurable computing (HPRC)
rinnocente
 
Digital Design Flow
Digital Design FlowDigital Design Flow
Digital Design Flow
Mostafa Khamis
 
Smart logic
Smart logicSmart logic
DSP Processors versus ASICs
DSP Processors versus ASICsDSP Processors versus ASICs
DSP Processors versus ASICs
Sudhanshu Janwadkar
 
Resume mixed signal
Resume mixed signalResume mixed signal
Resume mixed signal
tarora1
 
Resume analog
Resume analogResume analog
Resume analog
tarora1
 
Developing an embedded video application on dual Linux + FPGA architecture
Developing an embedded video application on dual Linux + FPGA architectureDeveloping an embedded video application on dual Linux + FPGA architecture
Developing an embedded video application on dual Linux + FPGA architecture
Christian Charreyre
 
FPGA workshop
FPGA workshopFPGA workshop
FPGA workshop
Alex Borisevich
 
SoC: System On Chip
SoC: System On ChipSoC: System On Chip
SoC: System On Chip
Santosh Verma
 
SoC~FPGA~ASIC~Embedded
SoC~FPGA~ASIC~EmbeddedSoC~FPGA~ASIC~Embedded
SoC~FPGA~ASIC~Embedded
Chili.CHIPS
 
Xilinx fpga cores
Xilinx fpga coresXilinx fpga cores
Xilinx fpga cores
sanaz nouri
 

What's hot (20)

An open flow for dn ns on ultra low-power RISC-V cores
An open flow for dn ns on ultra low-power RISC-V coresAn open flow for dn ns on ultra low-power RISC-V cores
An open flow for dn ns on ultra low-power RISC-V cores
 
Implementation of Soft-core processor on FPGA (Final Presentation)
Implementation of Soft-core processor on FPGA (Final Presentation)Implementation of Soft-core processor on FPGA (Final Presentation)
Implementation of Soft-core processor on FPGA (Final Presentation)
 
Fpga technology
Fpga technologyFpga technology
Fpga technology
 
GPU Design on FPGA
GPU Design on FPGAGPU Design on FPGA
GPU Design on FPGA
 
Asic &fpga
Asic &fpgaAsic &fpga
Asic &fpga
 
FPGA_Overview_Ibr_2014
FPGA_Overview_Ibr_2014FPGA_Overview_Ibr_2014
FPGA_Overview_Ibr_2014
 
Cpld fpga
Cpld fpgaCpld fpga
Cpld fpga
 
MTE104-L2: Overview of Microcontrollers
MTE104-L2: Overview of MicrocontrollersMTE104-L2: Overview of Microcontrollers
MTE104-L2: Overview of Microcontrollers
 
Xilinx virtex 7 fpga - Semester Presentation
Xilinx virtex 7 fpga - Semester PresentationXilinx virtex 7 fpga - Semester Presentation
Xilinx virtex 7 fpga - Semester Presentation
 
FPGA/Reconfigurable computing (HPRC)
FPGA/Reconfigurable computing (HPRC)FPGA/Reconfigurable computing (HPRC)
FPGA/Reconfigurable computing (HPRC)
 
Digital Design Flow
Digital Design FlowDigital Design Flow
Digital Design Flow
 
Smart logic
Smart logicSmart logic
Smart logic
 
DSP Processors versus ASICs
DSP Processors versus ASICsDSP Processors versus ASICs
DSP Processors versus ASICs
 
Resume mixed signal
Resume mixed signalResume mixed signal
Resume mixed signal
 
Resume analog
Resume analogResume analog
Resume analog
 
Developing an embedded video application on dual Linux + FPGA architecture
Developing an embedded video application on dual Linux + FPGA architectureDeveloping an embedded video application on dual Linux + FPGA architecture
Developing an embedded video application on dual Linux + FPGA architecture
 
FPGA workshop
FPGA workshopFPGA workshop
FPGA workshop
 
SoC: System On Chip
SoC: System On ChipSoC: System On Chip
SoC: System On Chip
 
SoC~FPGA~ASIC~Embedded
SoC~FPGA~ASIC~EmbeddedSoC~FPGA~ASIC~Embedded
SoC~FPGA~ASIC~Embedded
 
Xilinx fpga cores
Xilinx fpga coresXilinx fpga cores
Xilinx fpga cores
 

Similar to Why a zynq should power your next project

The Yocto Project
The Yocto ProjectThe Yocto Project
The Yocto Project
rossburton
 
Newbie’s guide to_the_gpgpu_universe
Newbie’s guide to_the_gpgpu_universeNewbie’s guide to_the_gpgpu_universe
Newbie’s guide to_the_gpgpu_universe
Ofer Rosenberg
 
UplinQ - ubuntu linux on the qualcomm® snapdragon™ 600 processor
UplinQ - ubuntu linux on the qualcomm® snapdragon™ 600 processorUplinQ - ubuntu linux on the qualcomm® snapdragon™ 600 processor
UplinQ - ubuntu linux on the qualcomm® snapdragon™ 600 processor
Satya Harish
 
Webinar: NVIDIA JETSON – A Inteligência Artificial na palma de sua mão
Webinar: NVIDIA JETSON – A Inteligência Artificial na palma de sua mãoWebinar: NVIDIA JETSON – A Inteligência Artificial na palma de sua mão
Webinar: NVIDIA JETSON – A Inteligência Artificial na palma de sua mão
Embarcados
 
Linxu conj2016 96boards
Linxu conj2016 96boardsLinxu conj2016 96boards
Linxu conj2016 96boards
LF Events
 
Tac Presentation October 72014- Raspberry PI
Tac Presentation October 72014- Raspberry PITac Presentation October 72014- Raspberry PI
Tac Presentation October 72014- Raspberry PI
Cliff Samuels Jr.
 
Innovation with pcDuino
Innovation with pcDuinoInnovation with pcDuino
Innovation with pcDuino
Jingfeng Liu
 
Embedded. What Why How
Embedded. What Why HowEmbedded. What Why How
Embedded. What Why How
Volodymyr Shymanskyy
 
Build a Deep Learning Video Analytics Framework | SIGGRAPH 2019 Technical Ses...
Build a Deep Learning Video Analytics Framework | SIGGRAPH 2019 Technical Ses...Build a Deep Learning Video Analytics Framework | SIGGRAPH 2019 Technical Ses...
Build a Deep Learning Video Analytics Framework | SIGGRAPH 2019 Technical Ses...
Intel® Software
 
Lab Handson: Power your Creations with Intel Edison!
Lab Handson: Power your Creations with Intel Edison!Lab Handson: Power your Creations with Intel Edison!
Lab Handson: Power your Creations with Intel Edison!
Codemotion
 
Scalable AI Solution cross AI platforms
Scalable AI Solution cross AI platformsScalable AI Solution cross AI platforms
Scalable AI Solution cross AI platforms
KTN
 
Introduction To The Beagleboard
Introduction To The BeagleboardIntroduction To The Beagleboard
Introduction To The Beagleboard
NeHal VeRma
 
Using VPP and SRIO-V with Clear Containers
Using VPP and SRIO-V with Clear ContainersUsing VPP and SRIO-V with Clear Containers
Using VPP and SRIO-V with Clear Containers
Michelle Holley
 
iWave Systems Techologies Pvt Ltd: Products- Software BSPs
iWave Systems Techologies Pvt Ltd: Products- Software BSPsiWave Systems Techologies Pvt Ltd: Products- Software BSPs
iWave Systems Techologies Pvt Ltd: Products- Software BSPs
iWave Systems Technologies Pvt Ltd, Bangalore
 
pcDuino tech talk at Carnegie Mellon University 10/14/2014
pcDuino tech talk at Carnegie Mellon University 10/14/2014pcDuino tech talk at Carnegie Mellon University 10/14/2014
pcDuino tech talk at Carnegie Mellon University 10/14/2014
Jingfeng Liu
 
The Technology behind PlayStation 2
The Technology behind PlayStation 2The Technology behind PlayStation 2
The Technology behind PlayStation 2
Slide_N
 
2016/11/05: OSWDem16 intro
2016/11/05: OSWDem16 intro2016/11/05: OSWDem16 intro
2016/11/05: OSWDem16 intro
JesusArroyoTorrens
 
Eclipse Edje: A Java API for Microcontrollers
Eclipse Edje: A Java API for MicrocontrollersEclipse Edje: A Java API for Microcontrollers
Eclipse Edje: A Java API for Microcontrollers
MicroEJ
 
Raspberry pi technical documentation
Raspberry pi technical documentationRaspberry pi technical documentation
Raspberry pi technical documentation
GR Techno Solutions
 
MediaTek Linkit Smart 7688 Webinar
MediaTek Linkit Smart 7688 WebinarMediaTek Linkit Smart 7688 Webinar
MediaTek Linkit Smart 7688 Webinar
MediaTek Labs
 

Similar to Why a zynq should power your next project (20)

The Yocto Project
The Yocto ProjectThe Yocto Project
The Yocto Project
 
Newbie’s guide to_the_gpgpu_universe
Newbie’s guide to_the_gpgpu_universeNewbie’s guide to_the_gpgpu_universe
Newbie’s guide to_the_gpgpu_universe
 
UplinQ - ubuntu linux on the qualcomm® snapdragon™ 600 processor
UplinQ - ubuntu linux on the qualcomm® snapdragon™ 600 processorUplinQ - ubuntu linux on the qualcomm® snapdragon™ 600 processor
UplinQ - ubuntu linux on the qualcomm® snapdragon™ 600 processor
 
Webinar: NVIDIA JETSON – A Inteligência Artificial na palma de sua mão
Webinar: NVIDIA JETSON – A Inteligência Artificial na palma de sua mãoWebinar: NVIDIA JETSON – A Inteligência Artificial na palma de sua mão
Webinar: NVIDIA JETSON – A Inteligência Artificial na palma de sua mão
 
Linxu conj2016 96boards
Linxu conj2016 96boardsLinxu conj2016 96boards
Linxu conj2016 96boards
 
Tac Presentation October 72014- Raspberry PI
Tac Presentation October 72014- Raspberry PITac Presentation October 72014- Raspberry PI
Tac Presentation October 72014- Raspberry PI
 
Innovation with pcDuino
Innovation with pcDuinoInnovation with pcDuino
Innovation with pcDuino
 
Embedded. What Why How
Embedded. What Why HowEmbedded. What Why How
Embedded. What Why How
 
Build a Deep Learning Video Analytics Framework | SIGGRAPH 2019 Technical Ses...
Build a Deep Learning Video Analytics Framework | SIGGRAPH 2019 Technical Ses...Build a Deep Learning Video Analytics Framework | SIGGRAPH 2019 Technical Ses...
Build a Deep Learning Video Analytics Framework | SIGGRAPH 2019 Technical Ses...
 
Lab Handson: Power your Creations with Intel Edison!
Lab Handson: Power your Creations with Intel Edison!Lab Handson: Power your Creations with Intel Edison!
Lab Handson: Power your Creations with Intel Edison!
 
Scalable AI Solution cross AI platforms
Scalable AI Solution cross AI platformsScalable AI Solution cross AI platforms
Scalable AI Solution cross AI platforms
 
Introduction To The Beagleboard
Introduction To The BeagleboardIntroduction To The Beagleboard
Introduction To The Beagleboard
 
Using VPP and SRIO-V with Clear Containers
Using VPP and SRIO-V with Clear ContainersUsing VPP and SRIO-V with Clear Containers
Using VPP and SRIO-V with Clear Containers
 
iWave Systems Techologies Pvt Ltd: Products- Software BSPs
iWave Systems Techologies Pvt Ltd: Products- Software BSPsiWave Systems Techologies Pvt Ltd: Products- Software BSPs
iWave Systems Techologies Pvt Ltd: Products- Software BSPs
 
pcDuino tech talk at Carnegie Mellon University 10/14/2014
pcDuino tech talk at Carnegie Mellon University 10/14/2014pcDuino tech talk at Carnegie Mellon University 10/14/2014
pcDuino tech talk at Carnegie Mellon University 10/14/2014
 
The Technology behind PlayStation 2
The Technology behind PlayStation 2The Technology behind PlayStation 2
The Technology behind PlayStation 2
 
2016/11/05: OSWDem16 intro
2016/11/05: OSWDem16 intro2016/11/05: OSWDem16 intro
2016/11/05: OSWDem16 intro
 
Eclipse Edje: A Java API for Microcontrollers
Eclipse Edje: A Java API for MicrocontrollersEclipse Edje: A Java API for Microcontrollers
Eclipse Edje: A Java API for Microcontrollers
 
Raspberry pi technical documentation
Raspberry pi technical documentationRaspberry pi technical documentation
Raspberry pi technical documentation
 
MediaTek Linkit Smart 7688 Webinar
MediaTek Linkit Smart 7688 WebinarMediaTek Linkit Smart 7688 Webinar
MediaTek Linkit Smart 7688 Webinar
 

More from Mark Smith

Nanosat eye in the sky Astronomy Society of Victoria
Nanosat eye in the sky   Astronomy Society of VictoriaNanosat eye in the sky   Astronomy Society of Victoria
Nanosat eye in the sky Astronomy Society of Victoria
Mark Smith
 
The making of spacecraft (MPS)
The making of spacecraft (MPS)The making of spacecraft (MPS)
The making of spacecraft (MPS)
Mark Smith
 
Product Talks Aconex - july 2016 coaching for hypothesis driven product
Product Talks Aconex - july 2016    coaching for hypothesis driven productProduct Talks Aconex - july 2016    coaching for hypothesis driven product
Product Talks Aconex - july 2016 coaching for hypothesis driven product
Mark Smith
 
Last 2016 coaching for hypothesis driven product
Last 2016  coaching for hypothesis driven productLast 2016  coaching for hypothesis driven product
Last 2016 coaching for hypothesis driven product
Mark Smith
 
Pivots for real for LASTConf sept 2015
Pivots for real for LASTConf sept 2015Pivots for real for LASTConf sept 2015
Pivots for real for LASTConf sept 2015
Mark Smith
 
Product Owners Meetup - Pivots for real
Product Owners Meetup - Pivots for realProduct Owners Meetup - Pivots for real
Product Owners Meetup - Pivots for real
Mark Smith
 

More from Mark Smith (6)

Nanosat eye in the sky Astronomy Society of Victoria
Nanosat eye in the sky   Astronomy Society of VictoriaNanosat eye in the sky   Astronomy Society of Victoria
Nanosat eye in the sky Astronomy Society of Victoria
 
The making of spacecraft (MPS)
The making of spacecraft (MPS)The making of spacecraft (MPS)
The making of spacecraft (MPS)
 
Product Talks Aconex - july 2016 coaching for hypothesis driven product
Product Talks Aconex - july 2016    coaching for hypothesis driven productProduct Talks Aconex - july 2016    coaching for hypothesis driven product
Product Talks Aconex - july 2016 coaching for hypothesis driven product
 
Last 2016 coaching for hypothesis driven product
Last 2016  coaching for hypothesis driven productLast 2016  coaching for hypothesis driven product
Last 2016 coaching for hypothesis driven product
 
Pivots for real for LASTConf sept 2015
Pivots for real for LASTConf sept 2015Pivots for real for LASTConf sept 2015
Pivots for real for LASTConf sept 2015
 
Product Owners Meetup - Pivots for real
Product Owners Meetup - Pivots for realProduct Owners Meetup - Pivots for real
Product Owners Meetup - Pivots for real
 

Recently uploaded

2. The Book of Psalms: Recognition of the kingship and sovereignty of God
2. The Book of Psalms: Recognition of the kingship and sovereignty of God2. The Book of Psalms: Recognition of the kingship and sovereignty of God
2. The Book of Psalms: Recognition of the kingship and sovereignty of God
COACH International Ministries
 
Deerfoot Church of Christ Bulletin 6 16 24
Deerfoot Church of Christ Bulletin 6 16 24Deerfoot Church of Christ Bulletin 6 16 24
Deerfoot Church of Christ Bulletin 6 16 24
deerfootcoc
 
快速办理(PU毕业证书)普渡大学毕业证文凭证书一模一样
快速办理(PU毕业证书)普渡大学毕业证文凭证书一模一样快速办理(PU毕业证书)普渡大学毕业证文凭证书一模一样
快速办理(PU毕业证书)普渡大学毕业证文凭证书一模一样
cfk7atz3
 
A Free eBook ~ Valuable LIFE Lessons to Learn ( 5 Sets of Presentations)...
A Free eBook ~ Valuable LIFE Lessons    to Learn   ( 5 Sets of Presentations)...A Free eBook ~ Valuable LIFE Lessons    to Learn   ( 5 Sets of Presentations)...
A Free eBook ~ Valuable LIFE Lessons to Learn ( 5 Sets of Presentations)...
OH TEIK BIN
 
A375 Example Taste the taste of the Lord, the taste of the Lord The taste of...
A375 Example Taste the taste of the Lord,  the taste of the Lord The taste of...A375 Example Taste the taste of the Lord,  the taste of the Lord The taste of...
A375 Example Taste the taste of the Lord, the taste of the Lord The taste of...
franktsao4
 
yadadri temple history seva's list and timings
yadadri temple history seva's list and  timingsyadadri temple history seva's list and  timings
yadadri temple history seva's list and timings
knav9398
 
Kala jadu (black magic) expert,Black magic specialist in Dubai vashikaran spe...
Kala jadu (black magic) expert,Black magic specialist in Dubai vashikaran spe...Kala jadu (black magic) expert,Black magic specialist in Dubai vashikaran spe...
Kala jadu (black magic) expert,Black magic specialist in Dubai vashikaran spe...
makhmalhalaaay
 
Deerfoot Church of Christ Bulletin 6 9 24
Deerfoot Church of Christ Bulletin 6 9 24Deerfoot Church of Christ Bulletin 6 9 24
Deerfoot Church of Christ Bulletin 6 9 24
deerfootcoc
 
The Enchantment and Shadows_ Unveiling the Mysteries of Magic and Black Magic...
The Enchantment and Shadows_ Unveiling the Mysteries of Magic and Black Magic...The Enchantment and Shadows_ Unveiling the Mysteries of Magic and Black Magic...
The Enchantment and Shadows_ Unveiling the Mysteries of Magic and Black Magic...
Phoenix O
 
How to Stop a Divorce and Save Your Marriage: Divorce Spells That Really Work...
How to Stop a Divorce and Save Your Marriage: Divorce Spells That Really Work...How to Stop a Divorce and Save Your Marriage: Divorce Spells That Really Work...
How to Stop a Divorce and Save Your Marriage: Divorce Spells That Really Work...
Traditional Healer, Love Spells Caster and Money Spells That Work Fast
 
English - The Book of Ruth - King James Bible.pdf
English - The Book of Ruth - King James Bible.pdfEnglish - The Book of Ruth - King James Bible.pdf
English - The Book of Ruth - King James Bible.pdf
Filipino Tracts and Literature Society Inc.
 
Vertical Church Kyiv Report 2022-2023: Church at war
Vertical Church Kyiv Report 2022-2023: Church at warVertical Church Kyiv Report 2022-2023: Church at war
Vertical Church Kyiv Report 2022-2023: Church at war
Olena Tyshchenko-Tyshkovets
 
Sanatan Vastu | Experience Great Living | Vastu Expert
Sanatan Vastu | Experience Great Living | Vastu ExpertSanatan Vastu | Experience Great Living | Vastu Expert
Sanatan Vastu | Experience Great Living | Vastu Expert
Sanatan Vastu
 
312 A Wise Woman of Abel Beth Maakah Saves The Town
312 A Wise Woman of Abel Beth Maakah Saves The Town312 A Wise Woman of Abel Beth Maakah Saves The Town
312 A Wise Woman of Abel Beth Maakah Saves The Town
Rick Peterson
 
The_Chronological_Life_of_Christ_Part_104_Repentance_and_Restoration
The_Chronological_Life_of_Christ_Part_104_Repentance_and_RestorationThe_Chronological_Life_of_Christ_Part_104_Repentance_and_Restoration
The_Chronological_Life_of_Christ_Part_104_Repentance_and_Restoration
Network Bible Fellowship
 
The Hope of Salvation - Jude 1:24-25 - Message
The Hope of Salvation - Jude 1:24-25 - MessageThe Hope of Salvation - Jude 1:24-25 - Message
The Hope of Salvation - Jude 1:24-25 - Message
Cole Hartman
 
Why is this So? ~ Do Seek to KNOW (English & Chinese).pptx
Why is this So? ~ Do Seek to KNOW (English & Chinese).pptxWhy is this So? ~ Do Seek to KNOW (English & Chinese).pptx
Why is this So? ~ Do Seek to KNOW (English & Chinese).pptx
OH TEIK BIN
 

Recently uploaded (17)

2. The Book of Psalms: Recognition of the kingship and sovereignty of God
2. The Book of Psalms: Recognition of the kingship and sovereignty of God2. The Book of Psalms: Recognition of the kingship and sovereignty of God
2. The Book of Psalms: Recognition of the kingship and sovereignty of God
 
Deerfoot Church of Christ Bulletin 6 16 24
Deerfoot Church of Christ Bulletin 6 16 24Deerfoot Church of Christ Bulletin 6 16 24
Deerfoot Church of Christ Bulletin 6 16 24
 
快速办理(PU毕业证书)普渡大学毕业证文凭证书一模一样
快速办理(PU毕业证书)普渡大学毕业证文凭证书一模一样快速办理(PU毕业证书)普渡大学毕业证文凭证书一模一样
快速办理(PU毕业证书)普渡大学毕业证文凭证书一模一样
 
A Free eBook ~ Valuable LIFE Lessons to Learn ( 5 Sets of Presentations)...
A Free eBook ~ Valuable LIFE Lessons    to Learn   ( 5 Sets of Presentations)...A Free eBook ~ Valuable LIFE Lessons    to Learn   ( 5 Sets of Presentations)...
A Free eBook ~ Valuable LIFE Lessons to Learn ( 5 Sets of Presentations)...
 
A375 Example Taste the taste of the Lord, the taste of the Lord The taste of...
A375 Example Taste the taste of the Lord,  the taste of the Lord The taste of...A375 Example Taste the taste of the Lord,  the taste of the Lord The taste of...
A375 Example Taste the taste of the Lord, the taste of the Lord The taste of...
 
yadadri temple history seva's list and timings
yadadri temple history seva's list and  timingsyadadri temple history seva's list and  timings
yadadri temple history seva's list and timings
 
Kala jadu (black magic) expert,Black magic specialist in Dubai vashikaran spe...
Kala jadu (black magic) expert,Black magic specialist in Dubai vashikaran spe...Kala jadu (black magic) expert,Black magic specialist in Dubai vashikaran spe...
Kala jadu (black magic) expert,Black magic specialist in Dubai vashikaran spe...
 
Deerfoot Church of Christ Bulletin 6 9 24
Deerfoot Church of Christ Bulletin 6 9 24Deerfoot Church of Christ Bulletin 6 9 24
Deerfoot Church of Christ Bulletin 6 9 24
 
The Enchantment and Shadows_ Unveiling the Mysteries of Magic and Black Magic...
The Enchantment and Shadows_ Unveiling the Mysteries of Magic and Black Magic...The Enchantment and Shadows_ Unveiling the Mysteries of Magic and Black Magic...
The Enchantment and Shadows_ Unveiling the Mysteries of Magic and Black Magic...
 
How to Stop a Divorce and Save Your Marriage: Divorce Spells That Really Work...
How to Stop a Divorce and Save Your Marriage: Divorce Spells That Really Work...How to Stop a Divorce and Save Your Marriage: Divorce Spells That Really Work...
How to Stop a Divorce and Save Your Marriage: Divorce Spells That Really Work...
 
English - The Book of Ruth - King James Bible.pdf
English - The Book of Ruth - King James Bible.pdfEnglish - The Book of Ruth - King James Bible.pdf
English - The Book of Ruth - King James Bible.pdf
 
Vertical Church Kyiv Report 2022-2023: Church at war
Vertical Church Kyiv Report 2022-2023: Church at warVertical Church Kyiv Report 2022-2023: Church at war
Vertical Church Kyiv Report 2022-2023: Church at war
 
Sanatan Vastu | Experience Great Living | Vastu Expert
Sanatan Vastu | Experience Great Living | Vastu ExpertSanatan Vastu | Experience Great Living | Vastu Expert
Sanatan Vastu | Experience Great Living | Vastu Expert
 
312 A Wise Woman of Abel Beth Maakah Saves The Town
312 A Wise Woman of Abel Beth Maakah Saves The Town312 A Wise Woman of Abel Beth Maakah Saves The Town
312 A Wise Woman of Abel Beth Maakah Saves The Town
 
The_Chronological_Life_of_Christ_Part_104_Repentance_and_Restoration
The_Chronological_Life_of_Christ_Part_104_Repentance_and_RestorationThe_Chronological_Life_of_Christ_Part_104_Repentance_and_Restoration
The_Chronological_Life_of_Christ_Part_104_Repentance_and_Restoration
 
The Hope of Salvation - Jude 1:24-25 - Message
The Hope of Salvation - Jude 1:24-25 - MessageThe Hope of Salvation - Jude 1:24-25 - Message
The Hope of Salvation - Jude 1:24-25 - Message
 
Why is this So? ~ Do Seek to KNOW (English & Chinese).pptx
Why is this So? ~ Do Seek to KNOW (English & Chinese).pptxWhy is this So? ~ Do Seek to KNOW (English & Chinese).pptx
Why is this So? ~ Do Seek to KNOW (English & Chinese).pptx
 

Why a zynq should power your next project

  • 1. Why a Zynq should power your next project (intro to FPGA’s by Mark Smith)
  • 3. “The video display generator of the ZX80 used minimal hardware plus a combination of software to generate a video signal. This was an idea that was popularised by Don Lancaster in his 1978 book The TV Cheap Video Cookbook and his "TV Typewriter".[7] As a result of this approach the ZX80 could only generate a picture when it was idle, i.e. waiting for a key to be pressed.” Wikipedia Entry on ZX80
  • 4. We offloaded video to CGA, HGC, EGA, VGA etc. Separate hardware cards to take over the job from software
  • 5. But it’s still hardware rigidly implementing a control algorithm What if there was a way to generalise it? In the end it’s just digital logic right?
  • 6. Combinational Logic is a truth table Sequential logic adds some state memory Image source: https://www.electronics-tutorials.ws
  • 7. Some clever people took that idea... This is the base unit of an FPGA: a combinational logic block and a flip flop, with a MUX to select the output 4 LUT MUX D Q CLK A Logic Block in an FPGA
  • 8. ...added a massive interconnect, and call it an FPGA They created a massive interconnect between a series of logic blocks that are programmable in the field. (they also added DSP elements, BRAM elements)
  • 9. That Hercules card implemented in an FPGA could have been rewritten as a VGA card with a software update
  • 10. FPGAs can implement a ‘soft core’ microcontroller by uploading Intellectual Property (IP)
  • 11. There is an IP industry for whatever you want
  • 12. Then there’s Zynq Hard-IP Dual core ARM A9 with programmable logic.
  • 13. Perrone Autonomous Vehicles Xilinx for control systems and computation algorithms Play the Vid
  • 14. 3D sensing cameras “Real time depth computation… 2.1 billion correspondence matches per second… generate 15 million points a second of 3D data … 1/10th the power [of a ] normal processor.”
  • 15. CV, Machine Learning and sensor fusion On one chip: Zynq Ultrascale+ MPSoC device using reVISION stack
  • 17. Entry level boards Zybo - $280 Microzed - $290
  • 19. Exercise 1B The Zynq Book - Tutorials
  • 23. A Quick note on linux with usb serial Cd ~/xilinx/Vivado/2017.4/data/x icom/cable_drivers/lin64/inst all_script/install_drivers/ sudo ./install_drivers https://forums.xilinx.com/t5/Embedded-Development-Tools/issues-connecting-to-usb-jtag-on-zybo-under-linux/td-p/675162
  • 24. The GPIO LEDs example code (from exercise 1C file download)
  • 25. Embedded Linux Yocto or Petalinux for a custom linux distribution Linaro (and probably others) for pre existing linux distro
  • 26. Accessing memory mapping on Linux User app accessing memory User space drivers Kernel space drivers Kernel space RAM (where the AXI interface is kept) User Process Memory mmap()
  • 27. Blinking LEDS: Linux petalinux-create --type project --name first-lx --template zynq Petalinux-config --get-hw-description -p first-lx Go to image and packaging, select rootfs to be sd-card Petalinux-build -p first-lx petalinux-package --boot --format BIN --fsbl images/linux/zynq_fsbl.elf --fpga images/linux/first_zynq_system_wrapper.bit --u-boot petalinux-config -c rootfs petalinux-create -p first-lx -t apps -n gpio-dev-mem-test sudo pax -rvf rootfs.cpio axi-gpio-test -g 41200000 -c 2 -o 255
  • 28. Remember IP? You can make your own.
  • 29. Vivado HLS Takes c/c++ code and implements the equivalent circuit in the FPGA. Accelerating it enormously and with lower power requirements that other solutions
  • 30. Zynq Book 3C. Cd /home/mark/dev/tut3A vivado_hls -p matrix_mult_prj
  • 32. The IP is in the catablog and played like any other IP
  • 33. People are using it for onboard image processing in satellites DFE in this table is a cluster of FPGA’s running an algorithm. The takeaway is that Zynq used way less power, and had a performance per pixel that ran third to some serious server hardware (way faster than other ARM implementations) “A Scalable Dataflow Accelerator for Real Time Onboard Hyperspectral Image Classification”, Wang et al, 2016
  • 34. What I’m using it for Multi-algorithm Digital Currency Miner. I’m intending to use Vivado HLS to implement a miner algorithm, and reconfigurability to switch algorithms IN HARDWARE on the fly.
  • 35. Milestones 2017 2018 Nov 2017 Blinking LEDS on Linux Feb 2018 CPU multi miner running on Zynq. (but not using fabric) Next Cryptonite algorithm accelerated through HLS Later Other algorithms, ‘what to mine’ like functionality to decide when to switch