These materials are © 2014 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
FPGAs
Altera Special Edition
by Andrew Moore
These materials are © 2014 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
FPGAs For Dummies
®
Altera Special Edition
,
Published by
John Wiley & Sons, Inc.
111 River St.
Hoboken, NJ 07030-5774
www.wiley.com
Copyright © 2014 by John Wiley & Sons, Inc., Hoboken, New Jersey
No part of this publication may be reproduced, stored in a retrieval system or transmitted in any form
or by any means, electronic, mechanical, photocopying, recording, scanning or otherwise, except as
permitted under Sections 107 or 108 of the 1976 United States Copyright Act, without the prior written
permission of the Publisher. Requests to the Publisher for permission should be addressed to the
Permissions Department, John Wiley & Sons, Inc., 111 River Street, Hoboken, NJ 07030, (201) 748-6011,
fax (201) 748-6008, or online at
http://www.wiley.com/go/permissions.
Trademarks:
Wiley, For Dummies, the Dummies Man logo, The Dummies Way, Dummies.com, Making
Everything Easier, and related trade dress are trademarks or registered trademarks of John Wiley &
Sons, Inc. and/or its affiliates in the United States and other countries, and may not be used without
written permission. Altera and the Altera logo are trademarks or registered trademarks of Altera
Corporation. All other trademarks are the property of their respective owners. John Wiley & Sons,
Inc., is not associated with any product or vendor mentioned in this book.
LIMIT OF LIABILITY/DISCLAIMER OF WARRANTY: THE PUBLISHER AND THE AUTHOR MAKE
NO REPRESENTATIONS OR WARRANTIES WITH RESPECT TO THE ACCURACY OR COMPLETE-
NESS OF THE CONTENTS OF THIS WORK AND SPECIFICALLY DISCLAIM ALL WARRANTIES,
INCLUDING WITHOUT LIMITATION WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE.
NO WARRANTY MAY BE CREATED OR EXTENDED BY SALES OR PROMOTIONAL MATERIALS.
THE ADVICE AND STRATEGIES CONTAINED HEREIN MAY NOT BE SUITABLE FOR EVERY SITU-
ATION. THIS WORK IS SOLD WITH THE UNDERSTANDING THAT THE PUBLISHER IS NOT
ENGAGED IN RENDERING LEGAL, ACCOUNTING, OR OTHER PROFESSIONAL SERVICES. IF PRO-
FESSIONAL ASSISTANCE IS REQUIRED, THE SERVICES OF A COMPETENT PROFESSIONAL
PERSON SHOULD BE SOUGHT. NEITHER THE PUBLISHER NOR THE AUTHOR SHALL BE LIABLE
FOR DAMAGES ARISING HEREFROM. THE FACT THAT AN ORGANIZATION OR WEBSITE IS
REFERRED TO IN THIS WORK AS A CITATION AND/OR A POTENTIAL SOURCE OF FURTHER
INFORMATION DOES NOT MEAN THAT THE AUTHOR OR THE PUBLISHER ENDORSES THE
INFORMATION THE ORGANIZATION OR WEBSITE MAY PROVIDE OR RECOMMENDATIONS IT
MAY MAKE. FURTHER, READERS SHOULD BE AWARE THAT INTERNET WEBSITES LISTED IN
THIS WORK MAY HAVE CHANGED OR DISAPPEARED BETWEEN WHEN THIS WORK WAS
WRITTEN AND WHEN IT IS READ.
For general information on our other products and services, or how to create a custom
For Dummies
book for your business or organization, please contact our Business Development Department in the
U.S. at 877-409-4177, contact
info@dummies.biz,
or visit
www.wiley.com/go/custompub.
For
information about licensing the
For Dummies
brand for products or services, contact
BrandedRights&Licenses@Wiley.com.
ISBN 978-1-118-94220-8 (pbk); ISBN 978-1-118-94413-4 (ebk)
Manufactured in the United States of America
10 9 8 7 6 5 4 3 2 1
Publisher’s Acknowledgments
Some of the people who helped bring this book to market include the following:
Project Editor:
Jennifer Bingham
Acquisitions Editor:
Katie Mohr
Editorial Manager:
Rev Mengle
Business Development Representative:
Karen Hattan
Project Coordinator:
Melissa Cossell
Special Help:
A large number of contributors from Altera Corporation
These materials are © 2014 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
Table of Contents
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1
About This Book ........................................................................ 1
Icons Used in This Book ............................................................ 1
Beyond the Book ........................................................................ 2
Chapter 1: FPGAs for Everyone . . . . . . . . . . . . . . . . . . . . . .3
So Why Would You Need an FPGA, Anyway? ......................... 4
Examining an FPGA .................................................................... 6
The building blocks of an FPGA ..................................... 6
Explaining FPGAs creatively ........................................... 8
Comparing FPGAs and ASICs .................................................. 10
Costs and flexibility ....................................................... 10
Design time risk reduction versus speed ................... 10
FPGAs Are Surprisingly Easy to Use ...................................... 11
Hard IP............................................................................. 11
Parallel operation and order reduction ...................... 12
Chapter 2: What’s in an FPGA, Anyway? . . . . . . . . . . . . .13
The Basics – Programmable Fabric and I/O ......................... 13
Scaling Upward......................................................................... 16
Hard IP and Integrated CPUs .................................................. 17
Modern Design Flow of FPGAs ............................................... 17
Creating a functional block diagram ........................... 18
Replacing functional blocks with existing IP.............. 20
Coding the missing blocks ........................................... 21
Verifying the system design ......................................... 22
Mapping the system into FPGA hardware .................. 23
Trying out the design in the system............................ 23
Chapter 3: FPGAs as Systems . . . . . . . . . . . . . . . . . . . . . .25
FPGAs in System Design .......................................................... 25
Automotive Electronics Systems with FPGAs ...................... 27
Drivetrain ........................................................................ 28
Infotainment ................................................................... 28
Driver assistance ........................................................... 29
Importance of FPGAs ..................................................... 29
These materials are © 2014 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
评论