Saturday, October 5, 2013

How To Load VHDL Project in ModelSim


How to Load Vhdl File directly to ModelSim Simulator :

  Step 1:

  •  Start modelSim simulator (ModelSim PE student Edition 10.2)



















Step 2 :
  • Go to File -> New -> Project 
  • Give a project name and click OK.




















Step 3 :

 Adding items to your project 
  • Create New File -> to create a new vhdl file.
  • Add Existing File -> to add a existing vhdl file.
  • Create Simulation.
  • Create Folder.

















Say, D flip-flop vhdl file (here its testing.vhd ) is already present, then click on Add Existing File .It will open a new window asking for the file. After finding the file Click Ok.














Now the file is listed in Project window.
























Select this File (if more than one file select all files) .Right Click on selected file and then do Compile -> Compile All. 




























Step 4 :

  • go to Library Window
  • select the project ie., work -> dff    



Right Click on Project (ie., Dff) and Then click on Simulate.






















Now go to Objects Window , select the required signal and add it to wave window.



















Step 5 :

  Wave window is opened.
































No comments:

Post a Comment