![]() |
![]() |
![]() |
![]() |
Preparing the simulation
This lesson will use an example design that contains lower level VHDL blocks in the files control.vhd, retrieve.vhd, and store.vhd; and top level block, test bench and configuration files - ringrtl.vhd, testring.vhd, and config_rtl.vhd.
- Start by creating a new working directory, making it the current directory, and copying the files from \modeltech\examples\profiler 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 lower level blocks of the design.
vcom control.vhd retrieve.vhd store.vhd![]()
- Compile the top level block, test bench and configuration files.
vcom ringrtl.vhd testring.vhd config_rtl.vhd![]()
- Use the vsim command to load the design configuration.
vsim work.test_bench_rtl![]()
![]() Model Technology Incorporated Voice: (503) 641-1340 Fax: (503)526-5410 www.model.com sales@model.com |
![]() |
![]() |
![]() |
![]() |