FPGA Center



 * Project Definition

 * Create A New Library

 * Sample VHDL Codes

  * Simulation

Creation A New Library Using Xilinx Ise

First create a new project in ISE Software.

How to create a new project in ISE software you can see My First Ise

Select Project>New Source from menu bar

In New source Wizard dialog box type your library name in the File name , Select VHDL Library as the source type and verify that the Add to project checkbox is selected as shown below. Then click Next and finish to complete the library file.

Now you can see the libray which already been created in the sources window.

Create A New Package

To create a package , select Project>New source. New source Wizard dialog box appears. In New source Wizard dialog box Select VHDL Library as the source type and type the package file name in the File name field.

Package file name shouldn't be confused with package name. Library name and package name are important for you. Because when the package and the library are be used in a program, both names must be write top of the VHDL code. As for Package file name, it is not so important.

Untick the Add to project checkbox . Otherwise ISE will save the package in the work library.

Click Next and Finish to complete the package template

Xilinx ISE cerates a package template. So that you can use this template for creating your own package.

You have just created a library and package file. But you notice that there is no connection between those two. So you must add the package file into the library. To do so, move the mouse on the library file in the sources file, right click and select the add source from pop up menu.

In Add Existing Sources dialog box select your package and click open and then Open to complete the adding

Now you can see the package in the library file

Now you can make all modification what you want and also simulate it using ModSim. Next saection you can find a sample library Vhdl code and a test bench belongs to the sample library Vhdl Code..

 

Test Bench                                                                                                                            Vhdl_Code

 

Home | Fpga | VHDL | VHDL Dictionary | Digital Design | Simulation | PCB | Examples | Contact Us
Copyright © 2010 - 2013 FPGAcenter. All Rights Reserved.