Академический Документы
Профессиональный Документы
Культура Документы
Introduction to Quartus II
Adviser: An-Yu Wu
Speaker: 張龍豪
Date: 12/25/2002
ACCESS IC LAB
ACCESS IC LAB Graduate Institute of Electronics Engineering, NTU
Outline
9 Introduction
¾ Design Entry
¾ Project Compilation
¾ Timing analysis
¾ Function simulation
¾ Device Programming
¾ Conclusion
12/25/2002 PP. 2
ACCESS IC LAB Graduate Institute of Electronics Engineering, NTU
Introduction to Quartus II
¾ Operate in a self-contained environment
Design Design Verification &
Entry Compilation Programming
12/25/2002 PP. 3
ACCESS IC LAB Graduate Institute of Electronics Engineering, NTU
Design Entry
Design Modification
Project Compilation
simulation
Timing analysis
Device programming
In-System Verification
System Production
12/25/2002 PP. 4
ACCESS IC LAB Graduate Institute of Electronics Engineering, NTU
Outline
¾ Introduction
9 Design Entry
¾ Project Compilation
¾ Timing analysis
¾ Function simulation
¾ Device Programming
¾ Conclusion
12/25/2002 PP. 5
ACCESS IC LAB Graduate Institute of Electronics Engineering, NTU
12/25/2002 PP. 6
ACCESS IC LAB Graduate Institute of Electronics Engineering, NTU
Project Setup/Management
¾ What is a Project?
A design file
A project is:
checked for design entry errors
compiled
simulated (functional or with timing)
analyzed for timing
used to generate programming file
¾ Projects can be archived
12/25/2002 PP. 7
ACCESS IC LAB Graduate Institute of Electronics Engineering, NTU
Click finish
12/25/2002 PP. 8
ACCESS IC LAB Graduate Institute of Electronics Engineering, NTU
Note:
•All files in the project
directory do not need to
be added
12/25/2002 PP. 9
ACCESS IC LAB Graduate Institute of Electronics Engineering, NTU
12/25/2002 PP. 10
ACCESS IC LAB Graduate Institute of Electronics Engineering, NTU
12/25/2002 PP. 11
ACCESS IC LAB Graduate Institute of Electronics Engineering, NTU
Click OK
12/25/2002 PP. 12
ACCESS IC LAB Graduate Institute of Electronics Engineering, NTU
Block and
symbol editors
12/25/2002 PP. 13
ACCESS IC LAB Graduate Institute of Electronics Engineering, NTU
Click
12/25/2002 PP. 15
ACCESS IC LAB Graduate Institute of Electronics Engineering, NTU
12/25/2002 PP. 16
ACCESS IC LAB Graduate Institute of Electronics Engineering, NTU
Input cell
name
Click Finish
12/25/2002 PP. 17
ACCESS IC LAB Graduate Institute of Electronics Engineering, NTU
Click OK
12/25/2002 PP. 18
ACCESS IC LAB Graduate Institute of Electronics Engineering, NTU
12/25/2002 PP. 19
ACCESS IC LAB Graduate Institute of Electronics Engineering, NTU
Click OK
12/25/2002 PP. 20
ACCESS IC LAB Graduate Institute of Electronics Engineering, NTU
Connects blocks to
any other objects
12/25/2002 PP. 21
ACCESS IC LAB Graduate Institute of Electronics Engineering, NTU
12/25/2002 PP. 22
ACCESS IC LAB Graduate Institute of Electronics Engineering, NTU
12/25/2002 PP. 23
ACCESS IC LAB Graduate Institute of Electronics Engineering, NTU
12/25/2002 PP. 24
ACCESS IC LAB Graduate Institute of Electronics Engineering, NTU
Click OK
12/25/2002 PP. 25
ACCESS IC LAB Graduate Institute of Electronics Engineering, NTU
Block Diagram
¾ Arrange the Blocks, Primitives, and Megafunction
12/25/2002 PP. 26
ACCESS IC LAB Graduate Institute of Electronics Engineering, NTU
Input file
name
Click OK
12/25/2002 PP. 27
ACCESS IC LAB Graduate Institute of Electronics Engineering, NTU
Your design
12/25/2002 PP. 28
ACCESS IC LAB Graduate Institute of Electronics Engineering, NTU
Click OK
12/25/2002 PP. 29
ACCESS IC LAB Graduate Institute of Electronics Engineering, NTU
Outline
¾ Introduction
¾ Design Entry
9 Project Compilation
¾ Timing analysis
¾ Function simulation
¾ Device Programming
¾ Conclusion
12/25/2002 PP. 30
ACCESS IC LAB Graduate Institute of Electronics Engineering, NTU
Compiler Settings
¾ Compiler control information
Level of compilation
Device & Device options
Pin assignments
Synthesis & Fitting
Timing analysis
¾ Accessed via the Processing Menu
¾ Information stored in a Compiler Settings File (*.CSF)
12/25/2002 PP. 31
ACCESS IC LAB Graduate Institute of Electronics Engineering, NTU
12/25/2002 PP. 32
ACCESS IC LAB Graduate Institute of Electronics Engineering, NTU
12/25/2002 PP. 33
ACCESS IC LAB Graduate Institute of Electronics Engineering, NTU
Available
I/Os
Click
12/25/2002 PP. 34
ACCESS IC LAB Graduate Institute of Electronics Engineering, NTU
Click OK
12/25/2002 PP. 35
ACCESS IC LAB Graduate Institute of Electronics Engineering, NTU
12/25/2002 PP. 37
ACCESS IC LAB Graduate Institute of Electronics Engineering, NTU
12/25/2002 PP. 38
ACCESS IC LAB Graduate Institute of Electronics Engineering, NTU
Compiling in Quartus II
¾ Select Processing => Start Compilation
Compilation
Result
Compiler
Report
Status Bar
Compiler Messages
12/25/2002 PP. 39
ACCESS IC LAB Graduate Institute of Electronics Engineering, NTU
12/25/2002 PP. 40
ACCESS IC LAB Graduate Institute of Electronics Engineering, NTU
Outline
¾ Introduction
¾ Design Entry
¾ Project Compilation
9 Timing analysis
¾ Function simulation
¾ Device Programming
¾ Conclusion
12/25/2002 PP. 41
ACCESS IC LAB Graduate Institute of Electronics Engineering, NTU
12/25/2002 PP. 42
ACCESS IC LAB Graduate Institute of Electronics Engineering, NTU
Outline
¾ Introduction
¾ Design Entry
¾ Project Compilation
¾ Timing analysis
9 Function simulation
¾ Device Programming
¾ Conclusion
12/25/2002 PP. 43
ACCESS IC LAB Graduate Institute of Electronics Engineering, NTU
Simulations
¾ Run Functional Simulation
Fast compilation
Logical model only, no logic synthesis
All nodes are retained and can be simulated
Outputs are updated without delay
¾ Run Timing Simulation
Slower compilation
Timing model: logical & delay model
Nodes may be synthesized away
Outputs are updated after delay
12/25/2002 PP. 44
ACCESS IC LAB Graduate Institute of Electronics Engineering, NTU
Click OK
12/25/2002 PP. 45
ACCESS IC LAB Graduate Institute of Electronics Engineering, NTU
12/25/2002 PP. 47
ACCESS IC LAB Graduate Institute of Electronics Engineering, NTU
12/25/2002 PP. 48
ACCESS IC LAB Graduate Institute of Electronics Engineering, NTU
Creating a Clock
¾ Right-click on the waveform name and choose Value
=> Clock
12/25/2002 PP. 49
ACCESS IC LAB Graduate Institute of Electronics Engineering, NTU
12/25/2002 PP. 50
ACCESS IC LAB Graduate Institute of Electronics Engineering, NTU
Input value
¾ All input pins have input values
12/25/2002 PP. 51
ACCESS IC LAB Graduate Institute of Electronics Engineering, NTU
12/25/2002 PP. 52
ACCESS IC LAB Graduate Institute of Electronics Engineering, NTU
12/25/2002 PP. 53
ACCESS IC LAB Graduate Institute of Electronics Engineering, NTU
Refer to PP. 36
12/25/2002 PP. 54
ACCESS IC LAB Graduate Institute of Electronics Engineering, NTU
12/25/2002 PP. 55
ACCESS IC LAB Graduate Institute of Electronics Engineering, NTU
Simulator Result
¾ Select Processing => Start Compilation
12/25/2002 PP. 56
ACCESS IC LAB Graduate Institute of Electronics Engineering, NTU
Outline
¾ Introduction
¾ Design Entry
¾ Project Compilation
¾ Timing analysis
¾ Function simulation
9 Device Programming
¾ Conclusion
12/25/2002 PP. 57
ACCESS IC LAB Graduate Institute of Electronics Engineering, NTU
12/25/2002 PP. 58
ACCESS IC LAB Graduate Institute of Electronics Engineering, NTU
ByteBlaster
JTAG port
12/25/2002 PP. 59
ACCESS IC LAB Graduate Institute of Electronics Engineering, NTU
Configuration
¾ Select Processing => open programmer
¾ Save as *.CDF (Chain Description File)
12/25/2002 PP. 60
ACCESS IC LAB Graduate Institute of Electronics Engineering, NTU
Configuration
¾ Select Setup => Add => Hardware Setup dialog box,
select ByteBlasterMV
Click Add
12/25/2002 PP. 61
ACCESS IC LAB Graduate Institute of Electronics Engineering, NTU
Configuration
¾ Select Add File => *.SOF (SRAM Object File)
¾ Check on Program/Configure.
Click Start
12/25/2002 PP. 62
ACCESS IC LAB Graduate Institute of Electronics Engineering, NTU
Conclusion
¾ Use Hierarchical Design methodology
¾ Use Hierarchy Display for fast access to design file at
any level
¾ Compile top-level design without any pin assignments
first to determine if the design actually fits in the
targeted device
¾ Use Compiler Report to study design implementation
and resource usage
¾ Use Functional Simulation to verify proper operation
12/25/2002 PP. 63