module5fpgadesign.pdf
(
4487 KB
)
Pobierz
FPGA Design Basics
Altium Designer Training Module
FPGA Design
Document Version 1.2, February 2008
Software, documentation and related materials:
Copyright © 2008 Altium Limited.
All rights reserved. You are permitted to print this document provided that (1) the use of such is for
personal use only and will not be copied or posted on any network computer or broadcast in any
media, and (2) no modifications of the document is made. Unauthorized duplication, in whole or part,
of this document by any means, mechanical or electronic, including translation into another
language, except for brief excerpts in published reviews, is prohibited without the express written
permission of Altium Limited. Unauthorized duplication of this work may also be prohibited by local
statute. Violators may be subject to both criminal and civil penalties, including fines and/or
imprisonment.
Altium, Altium Designer, Board Insight, CAMtastic, CircuitStudio, Design Explorer, DXP, LiveDesign,
NanoBoard, NanoTalk, Nexar, nVisage, PCAD, Protel, SimCode, Situs, TASKING, and Topological
Autorouting and their respective logos are trademarks or registered trademarks of Altium Limited or
its subsidiaries.
Microsoft, Microsoft Windows and Microsoft Access are registered trademarks of Microsoft
Corporation. OrCAD, OrCAD Capture, OrCAD Layout and SPECCTRA are registered trademarks of
Cadence Design Systems Inc. AutoCAD is a registered trademark of AutoDesk Inc. HPGL is a
registered trademark of Hewlett Packard Corporation. PostScript is a registered trademark of Adobe
Systems, Inc. All other registered or unregistered trademarks referenced herein are the property of
their respective owners and no trademark rights to the same are claimed.
Module 1
ii
Altium Designer Training Module
FPGA Design
FPGA Design Basics
1
FPGA Design......................................................................................................... 11
1.1
Learning objectives..................................................................................... 11
1.2
Topic outline............................................................................................... 11
Introduction to FPGA Design ............................................................................... 12
2.1
FPGA basics .............................................................................................. 12
Creating an FPGA project..................................................................................... 13
3.1
Overview.................................................................................................... 13
3.2
A quick word about projects and design workspaces................................... 13
3.3
FPGA project.............................................................................................. 14
FPGA schematic connectivity.............................................................................. 15
4.1
Overview.................................................................................................... 15
4.2
Wiring the design........................................................................................ 15
4.3
Including HDL source files in a schematic................................................... 15
4.4
Establishing connectivity between documents............................................. 15
4.5
Using buses and bus joiners....................................................................... 16
FPGA ready schematic components ................................................................... 19
5.1
Overview.................................................................................................... 19
5.2
Processor cores ......................................................................................... 19
5.3
Desktop NanoBoard port plugins .............................................................. 110
5.4
Peripheral Components ............................................................................ 110
5.5
Generic components ................................................................................ 110
5.6
Vendor macro and primitive libraries......................................................... 110
5.7
Exercise 1 – Create a PWM...................................................................... 111
Targeting the design........................................................................................... 113
6.1
Constraint files ......................................................................................... 113
6.2
Configurations .......................................................................................... 114
6.3
NanoBoard constraint files........................................................................ 114
6.4
Configuration Manager ............................................................................. 114
6.5
Auto Configuring an FPGA project ............................................................ 115
6.6
Defining constraints manually ................................................................... 115
6.7
Editing a constraint file.............................................................................. 116
6.8
Exercise 2 – Configuring MyPWM............................................................. 117
Running the design ............................................................................................ 119
7.1
Overview.................................................................................................. 119
7.2
Controlling the build process..................................................................... 119
7.3
Understanding the build process............................................................... 120
7.4
Button regions .......................................................................................... 120
7.5
Accessing stage reports / outputs ............................................................. 121
7.6
Build stages.............................................................................................. 121
7.7
Configuring a build stage .......................................................................... 124
7.8
How Altium Designer interacts with backend vendor tools........................ 125
7.9
Exercise 3 – Run MyPWM on the NanoBoard........................................... 125
Embedded instruments ...................................................................................... 126
8.1
Overview.................................................................................................. 126
8.2
OnChip debugging .................................................................................. 126
8.3
CLKGEN .................................................................................................. 127
8.4
CROSSPOINT_SWITCH.......................................................................... 127
8.5
FRQCNT2 ................................................................................................ 127
2
3
4
5
6
7
8
i
Altium Designer Training Module
FPGA Design
8.6
8.7
8.8
8.9
8.10
8.11
8.12
9
IOB_x....................................................................................................... 128
DIGITAL_IO ............................................................................................. 128
LAX_x ...................................................................................................... 129
Terminal Console ..................................................................................... 131
Exercise 4A – Using embedded instruments............................................. 131
Where are the Instruments? ..................................................................... 135
Enabling embedded instruments............................................................... 135
Interacting with the NanoBoard ......................................................................... 137
9.1
Overview.................................................................................................. 137
9.2
NanoBoard communications..................................................................... 137
9.3
Technical background .............................................................................. 138
9.4
The NanoBoard controller......................................................................... 140
9.5
FPGA I/O view.......................................................................................... 141
9.6
Live cross probing .................................................................................... 142
9.7
Exercise 4B – View MyPWM on the NanoBoard ....................................... 142
Creating a core component................................................................................ 143
10.1 Core project.............................................................................................. 143
10.2 Creating a core component from an FPGA project .................................... 143
10.3 A word about EDIF ................................................................................... 144
10.4 Setting up the core project ........................................................................ 144
10.5 Constrain / configure ................................................................................ 145
10.6 Creating a new constraint file.................................................................... 146
10.7 Creating a configuration............................................................................ 147
10.8 Synthesize ............................................................................................... 148
10.9 Publish ..................................................................................................... 149
10.10 Creating a core schematic symbol ............................................................ 149
10.11 Using a core component........................................................................... 151
10.12 Exercise 5 – Create a core component from MyPWM ............................... 152
FPGA design simulation..................................................................................... 153
11.1 Creating a testbench ................................................................................ 153
11.2 Assigning the Testbench Document.......................................................... 153
11.3 Initiating a simulation session ................................................................... 154
11.4 Project compile order................................................................................ 154
11.5 Setting up the simulation display............................................................... 155
11.6 Running and debugging a simulation ........................................................ 156
11.7 Exercise 6 – Create a testbench and simulate MyPWM ............................ 158
Review................................................................................................................. 159
10
11
12
ii
Altium Designer Training Module
FPGA Design
1 FPGA Design
The primary objective of this day of training is to make participants proficient in the process of
developing, downloading and running an FPGA design on the Desktop NanoBoard. We will go
through the FPGA design framework and demonstrate just how simple FPGA design is with Altium
Designer.
1.1
Learning objectives
·
To be competent in developing FPGA designs using standard FPGAbased libraries and the
schematic capture environment
·
To understand and be able to make use of the FPGA build process
·
To be familiar with the peripheral capabilities of the Desktop NanoBoard and know how to
incorporate their use in custom FPGA designs.
·
To appreciate the different communication mechanisms used by the software to control and probe
a running FPGA design.
·
To be competent with the use of virtual instruments in an FPGA design.
1.2
Topic outline
Core Topics
FPGA
Project
Creation
FPGA
Schematic
Extensions
FPGA Build
Process
FPGA design
built and
loaded onto
NanoBoard
NanoBoard
Concepts
FPGA
Instruments
Advanced Topics (Time Permitting)
FPGA Core
Components
.
Digital
Simulation
Figure 1. Topic Outline for Part I – FPGA Design Basics.
1 1
Plik z chomika:
FatAgnes
Inne pliki z tego folderu:
altium designer(1).pdf
(449477 KB)
![eBook Elektronik] Grundlagen Elektronik - Transistor.pdf
(1971 KB)
Solid State Tesla Coil - How-To (Science - Electronics).pdf
(828 KB)
-Engineering- pcb(ebook - PDF) - WinBoard PCB Layout Reference Guide.pdf
(930 KB)
US Navy Electronics Training - Microwave Principles.pdf
(4388 KB)
Inne foldery tego chomika:
- ◢◤ GRY PC W JEDNYM PLIKU
!Filmy 8000+ filmów !!!!
_ Astronomia
_ Informatyka. Asembler
_ Informatyka. C
Zgłoś jeśli
naruszono regulamin