![]() |
![]() |
![]() |
![]() |
Simulating the structural version
- Start by creating a new working directory, making it the current directory, and copying the files from \modeltech\examples\datasets into it.
- Use the vlib command to create a work library in the current directory.
vlib work(MENU: Design > Create a New Library)
- Use the vmap command to map the work library to a physical directory. A modelsim.ini file will be written into the work directory.
vmap work work- Compile the structural version of the counter.
vlog cntr_struct.v![]()
- Load the design and save the simulation to a WLF file named struct.wlf.
vsim -wlf struct.wlf work.cntr_struct- Now you will run a DO file that applies stimulus to the design, runs the simulation, and adds waves to the Wave window.
do stimulus.doThe waves that appear in the Wave window are saved automatically into the struct.wlf file.
![]() Model Technology Incorporated Voice: (503) 641-1340 Fax: (503)526-5410 www.model.com sales@model.com |
![]() |
![]() |
![]() |
![]() |