make_fpgas_1.pdf

(45016 KB) Pobierz
Make:
FPGAs
Turning Software into Hardware with
Eight Fun & Easy DIY Projects
David Romano
Technology & Engineering/Electronics
Make:
FPGAs
Field Programmable Gate Arrays (FPGAs) allow you to use programming to specify the
fundamental hardware functionality of a chip just as if you’d designed a chip from
scratch. Using software, you define the behaviors you want to see, and the FPGA
implements your design in its reconfigurable hardware.
FPGAs are a powerful tool well known to embedded systems engineers; but until
affordable and easy-to-use FPGA boards like the Papilio and Red Pitaya appeared, they
had largely been out of reach of Makers. This easy-to-follow guide helps Makers get
over FPGAs’ initial conceptual hump and sets you on the path to creating amazing
things. Step-by-step instructions for eight fun projects help you to get up and running
right away with low-cost FPGA boards.
Develop the skills you need to turn software into hardware. You’ll learn to select the
right board, set it up, and then get all of the applications you need to start making right
away. What’s more, you’ll learn contemporary digital logic design methods and
practices in a fun, practical, and affordable way with these great projects!
In
Make: FPGAs,
you’ll learn to:
»
»
»
»
»
»
Construct a binary counter using FPGA Circuit Schematic Design Entry
Build an implementation of Bell Labs’ classic mechanical cardboard “CARDIAC”
educational computer
Create a real System-on-Chip (SoC) Design
Design two classic arcade games that you’ll love to play
Mine Bitcoins with a system you program yourself
Create a Software-Defined Radio, one of the “holy grails” of embedded design
Along the way, you’ll get comfortable with the Papilio suite of boards, be introduced
to the work of DesignLab and the Gadget Factory, and gain enough mastery to begin
your own builds.
Explore the building blocks of programmable logic.
US $29.99 CAN $34.99
ISBN: 978-1-4571-8785-8
Make: FPGAs
Turning Software into Hardware with
Eight Fun and Easy DIY Projects
David Romano
Make: FPGAs
by David Romano
Copyright © 2016 David Romano. All rights reserved.
Printed in the United States of America.
Published by Maker Media, Inc., 1160 Battery Street East, Suite 125, San Francisco, CA 94111.
Maker Media books may be purchased for educational, business, or sales promotional use. Online edi-
tions are also available for most titles (http://safaribooksonline.com). For more information, contact
O’Reilly Media’s institutional sales department: 800-998-9938 or
corporate@oreilly.com.
Editor:
Roger Stewart
Production Editor:
Melanie Yarbrough
Copyeditor:
Rachel Head
Proofreader:
Christina Edwards
Indexer:
Judy McConville
Interior Designer:
David Futato
Cover Designer:
Brian Jepson
Cover Art:
Shawn Wallace
Illustrator:
Rebecca Demarest
February 2016: First Edition
Revision History for the First Edition
2016-02-26: First Release
See
http://oreilly.com/catalog/errata.csp?isbn=9781457187858
for release details.
Make:, Maker Shed, and Maker Faire are registered trademarks of Maker Media, Inc. The Maker Media
logo is a trademark of Maker Media, Inc.
Make: FPGAs
and related trade dress are trademarks of Maker
Media, Inc.
Many of the designations used by manufacturers and sellers to distinguish their products are claimed
as trademarks. Where those designations appear in this book, and Maker Media, Inc. was aware of a
trademark claim, the designations have been printed in caps or initial caps.
While every precaution has been taken in the preparation of this book, the publisher and author
assume no responsibility for errors or omissions, or for damages resulting from the use of the informa-
tion contained herein.
978-1-457-18785-8
[LSI]
Table of Contents
Preface
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix
1.
Overview
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Papilio
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Opal Kelly
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Red Pitaya
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Numato Lab
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Design Flow
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Concept Phase
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Design Phase
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Test Phase
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Synthesize Phase
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Build Phase
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Run Phase
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Takeaways
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
2.
Count on It!
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Blink LEDs Concept
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
How It Works
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Xilinx ISE WebPACK Installation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
iii
Zgłoś jeśli naruszono regulamin