Table of Contents Previous page Next page Index

ModelSim Documentation Bookcase

Model Technology Inc.


Editing a source file and re-running the simulation

In the last step, we ran the default mixed HDL simulation and saved it to the gold.wlf dataset. Now we'll edit one of the source files and re-run the simulation.

  1. Edit the proc.v file.

  2. 
    edit proc.v 
    
    
  3. Scroll down the source_edit window to line 69, and add a 10 time unit delay to the read cycle. Your source file should look like the following:

  4. Save the file in the source_edit window.

  5. (MENU: File > Save)

  6. Re-compile the proc.v file.

  7. (PROMPT: vlog proc.v)

    (MENU: Design > Compile)

  8. Load the top design unit.

  9. (PROMPT: vsim work.top)

    (MENU: Design > Load Design)

  10. Add the waves to the Wave window and run the simulation.

  11. 
    add wave *
    run -all 
    
    

Model Technology Inc.
Model Technology Incorporated
Voice: (503) 641-1340
Fax: (503)526-5410
www.model.com
sales@model.com
Table of Contents Previous page Next page Index

ModelSim