-
4
pages
-
English
-
Documents
Description
ÆÆÆÆÆPC-Based VHDL Tutorial Copyright William D. Richard, Ph.D. February 2, 2005 1. Download the tutorial.zip file from the course web page and unzip the VHDL files. The folder “tutorial” should appear and contain all the necessary files. 2. Start ModelSim by clicking on Start All Programs FPGA Advantage 5.4 Simulation ModelSim SE. The ModelSim window should appear. 3. Now change the current working directory for ModelSim by clicking File Change Directory. A “Choose a Directory” window should appear. Navigate to the tutorial folder that was created when tutotial.zip was unzipped and click Open. This will be your working directory. 4. Now you need to create a library into which your VHDL code will be compiled. This is accomplished by typing at the ModelSim window command prompt: vlib work (Enter) There should now be a folder named work inside the tutorial folder. This is where ModelSim will place the compiled versions of your source VHDL files. You should also notice in the smaller left hand window, the Library tab, of the ModelSim window your work library now appears but it does not have a “+” symbol next to it yet since you have not compiled any code. 5. Compile each VHDL file into the work library by typing at the ModelSim window command prompt: vcom -93 filename.vhd (Enter) This command tells ModelSim to compile the specified VHDL file using the 1993 VHDL standard. If the -93 is left out the default ...
-
Publié par
-
Langue
English