A Guide to ALTERA Tool - PowerPoint PPT Presentation

1 / 71
About This Presentation
Title:

A Guide to ALTERA Tool

Description:

Now the next s will help you to write a VHDL Code compile it,do Simulation. ... Compile the file. Max plus II - Compiler. In the mid way of compilation ... – PowerPoint PPT presentation

Number of Views:29
Avg rating:3.0/5.0
Slides: 72
Provided by: vasu2
Category:
Tags: altera | compile | guide | tool

less

Transcript and Presenter's Notes

Title: A Guide to ALTERA Tool


1
A Guide to ALTERA Tool
Silicon Micro SystemsBangalore
2
Now the next slides will help you to write a VHDL
Code compile it,do Simulation.
Also you will come across Following Features of
ALTERA MAX plus II
Floorplan EditorCompilerSimulatorTiming
AnalyserProgrammer
Graphical EditorSymbol EditorText
EditorWaveform EditorText Editor
3
Steps to work on Altera Max II
  • Create your directory in explorer e.g.
    D\SiMS
  • Open Max Plus II from the ICON in the Desktop

4
Keep in Mind !
This is comment window
Follow the window with this colour to proceed
your design
5
ALTERA Max plus II Main Tool Window
6
File -gtProject-gtName
7
VLSI
8
Write the Project Name e.g.VLSI
9
Your project VLSI is created in your specified
directory(SiMS)
10
Now We will Create a Text Editor
File -gt New
11
Select Text Editor file Radio Button -gt Ok
12
Copy the below code to Text editor
library IEEE use IEEE.std_logic_1164.allentity
and_2 iS port ( a in STD_LOGIC
b in STD_LOGIC c out STD_LOGIC
) end and_2architecture and_2_arch of and_2
is begin c lta and b end and_2_arch
13
The code is copied in Text Editor
14
Now we will have to save the code
File -gtSave
15
Note Your Entity Name file name should be
samewith extension (.vhd)
Give the file name e.g. and_2.vhd -gt Ok
16
Reserved words will be highlighted after saving
the file
17
Now we will set the project to current file
File -gtProject -gtSet Project To Current File
18
During compilation the design will be compiled
implemented to the default device in one execution
MAXplus -gt Compiler
19
Design Flow Window
Click Start
20
Error Message Window
Ok
Close the Compilation Window
21
Select The waveform Editor for simulation
22
waveform Editor
Now We will simulate the design using waveform
Editor
23
Simulation Window
Right Click Here Select The Nodes From SNF
24
Select The Nodes From SNF
25
a,b are input c is output node
List -gt gt
26
Ok
27
File -gt Save
28
File name will be Entity name by default
Ok
29
We will apply the Stimulus value to the node from
the menu bar
30
We will apply predefined clock to node a
31
Ready For Simulation
32
MAX plus -gt Simulator
33
Timing Simulation by default
Start
34
Your Simulation is successful
Ok
35
Result of your design
Close the waveform Editor
36
Floorplan Editor
Now we will see the Floorplan Editor
37
View Of Your Design in Selected Device
MAX plus II Floorplan Editor
38
Click on to see the Floor Plan Editor
39
Floorplan View
40
Floorplan View
Layout -gt Device View
41
Down Loading
Now We will Down Load the program to the device
42
Down Loading the code to the device
You need to connect hardware board
MAX plus II -gt Programmer
43
Converting the code to symbolic Editor
Open your current VHDL Code File -gtOpen
-gtand_2.vhd -gtOk
Assign -gt Convert Absolute Assignment Format- gtOk
44
Click On Start -gtOk -gt Close The Compilation
Window
45
Select The Radio Button Symbol Editor file
File -gt Open -gtand_2.spm
46
Symbol Editor Of Your Code
47
Graphical /Schematic Editor
Follow the steps given in slides 4-9
48
Choose Radio Button Graphical Editor file
49
Double Click On the Page
50
You will get this page
51
Write the symbol name e.g. and2 -gt Ok
52
You will get AND gate symbol with 2 inputs
Now we will take Buffers to connect ports of AND
gate. Write input -gt Ok
53
Copy the Input Buffer paste it .Double click on
the page -gt output -gt Ok
54
Now you have got all the buffers
55
Now we will join the pads with the ports
F3
Click F3 to select the line type.Drag from input
pads to the port of AND gate as shown
56
Completed Graphical view of AND gate
Note No .of pads no of Inputs No. of Outputs
57
Save the Graphical Editor File.
File -gtSave
58
Give the file name e.g. and2.gdf
59
AND Gate view after saving with .gdf extension
60
Give Port name (a,b,c)by double clicking on the
pad. File -gt save
61
Set the the project to current file
File -gt Project -gt Set Project to Current file
62
Compile the file.
Maxplus II -gt Compiler
63
In the mid way of compilation of current file.
Click on Start
64
File has been compiled.
After compilation click -gt OK
65
You have complied the design.If you wanted to see
the VHDL code for the same .Then follow the steps
66
Max plus II -gt Compiler
Interface -gt VHDL Netlist Writer
67
VHDL Netlist Writer is Added
Click On Start
68
You will get the VHDL Netlist generated file
and2.vho
Double Click on VHDL Netlist Writer (.vho)
69
(No Transcript)
70
(No Transcript)
71
(No Transcript)
Write a Comment
User Comments (0)
About PowerShow.com