United Arab Emirates University College of Information Technology

Download as ppt, pdf, or txt
Download as ppt, pdf, or txt
You are on page 1of 35

United Arab Emirates University

College of Information Technology

ITBP 205 Digital Design and Computer Organization


Fall 2008

Claude Khoury
[email protected]

Room#:3117
Open the ISE webpack tool
Open the ISE webpack tool by double
clicking on the webpack project
navigator icon on your computer screen
desktop
Or from windows start menu,
• Programs
• Xilinx webpak4.2
• WebPack Project Navigator
Source Panel: it shows all
source files associated
with the current design
HDL editor
window, when
Process Panel: All entering a
processes that are circuit using
available to run on a VHDL the
selected source file source code
will appear in
this window
Console Window:
Displays the status
messages such as error
messages
Creating New Project
• First we create a folder for our
labs, let’s call it mylabs
• We go to hard drive C then
double click on the folder named
xilinx_webpak inside this folder
we create our folder mylabs
Creating a Schematic for a
Given Design
• In this lab we illustrate different
examples about how to create and save
many schematic designs using ISE
webpack.
• We also will see how can we create
macros, which means, build our circuit
(or circuits) and use it later in a bigger
designs.
Open Webpack Project Navigator “double click on its icon
on your desktop”
Click on File menu then New Project a dialog box like this will appear
• Project name: ITBP205
• Project location: C:\xilinx_webpack\mylabs
• Device family: we choose from the drop down
menu Spartan2 “ depends on the device we
are targeting”
• Device: from the drop down menu we choose
xc2s50-5tq144 for our particular device
• Design Flow: XST VHDL which is the Xilinx
synthesizer
• Click ok
Right click on the device name then choose New Source
We highlight Schematic
File name : example1
Location: C:\xilinx_webpack\mylabs
Click Next , your screen should look like this
In the next screen click Finish
Finally, once you click finish, the schematic editor will
open automatically
Let’s implement the following circuit given by the Boolean expression

Y= (A+B) (B+C)

(A+B) (B+C)
A+B
A
B
B+C

C
Locating and choosing our gates
For our design here we need 2 OR2 gates, 1 AND2
gate, 1 inverter and 4 input/output ports.
On the right hand side from the ECS editor we see
two navigation panes, the upper one is called
Categories and the lower one is called Symbols.
In the categories pane we highlight the category
Logic, in turn in the lower pane, which is called
Symbols we see all logic elements available in
our tools, we locate our wanted element/gate
and drag it to our work space in the middle
screen.
Locating and choosing our gates
We have 2 ways to get the gate/element

•scrolling down the symbols window till


we see our wanted gate.

•Type the gate name in the lower field


named Symbol Name Filter.
Logic

Symbols

You can type


the name
here
Now we choose our gates then drag them one by one to the work
space as it is shown in the following screen
Connecting the gates is done by clicking on the add wire
icon from the editor tool bar
Once we finish adding the wires to connect the
gates our design will look like this
Then we add Input/Output marker by clicking on
Input/Output marker in the editor’s tools bar
Directing and Naming the
Input/Output ports
• After adding the Input/Output ports, we have
to define the polarity of each port either as an
Input ,Output or bidirectional, we also have to
give names to these ports, this can be done
in two ways, which are exactly the same
• Double click on each port to open Object
Properties dialog box
• Or right click on each port then choose
Object Properties from the drop down menu
Let’s name the first port, and call it A and set it to be as an
input port
Once we are done our design will look like this
Saving the Design and Creating Macros

• Now we are done from this design we will


save it and we may need to use it in the
future when building bigger circuits.
• From the editor’s tool bar we click on
Tools menu then we click on Create
Symbol, so a dialog box will open and it
already has our design name and the
ports names with their polarity , so we
click OK
Once you click OK you get the following screen
• At this point we close the editor and if you
are prompted to save changes click Yes
and let’s go back to Project Navigator
• From the Project Navigator window then
we right click on the device to add new
source , we will call it example2 then we
click Finish and this in turn will open a new
editor window as it is shown in the screen
below
• In this new editor session we have new
symbol which is our own design that we
called example1, so we can open this
design either by scrolling down the
Symbols menu or simply by choosing
our own directory from the categories
window, so we see our design appears
in the Symbols menu and of course it is
called exmaple1
Here is our
work
directory

Our design that


we created
before,
example1
• By applying the same way that we did
before, we can drag our design from the
symbols screen and drop it any where on
the work space as many times as we
need, we can always verify that we have
chosen the correct design by right click
on the design then from the drop down
menu we click on Push Into Symbol and
this will open another ECS editor with the
schematic view of our chosen design, as
it is shown in the following slide.

You might also like