56 lines
2.8 KiB
Text
56 lines
2.8 KiB
Text
# Use vmap to copy modelsim.ini this directory so msim_setup.tcl doesn't
|
|
# override installation file.
|
|
vmap -c
|
|
|
|
# Load the Altera generated macros
|
|
do msim_setup.tcl
|
|
|
|
# Compile the technology specific libraries
|
|
dev_com
|
|
|
|
# Compile the constrained random related packages
|
|
vlib OSVVM
|
|
vcom -2008 -work OSVVM \
|
|
../../../../../generic_ip/common/src/test/OSVVM/RandomBasePkg.vhd \
|
|
../../../../../generic_ip/common/src/test/OSVVM/SortListPkg_int.vhd \
|
|
../../../../../generic_ip/common/src/test/OSVVM/RandomPkg.vhd \
|
|
../../../../../generic_ip/common/src/test/OSVVM/NamePkg.vhd \
|
|
../../../../../generic_ip/common/src/test/OSVVM/MessagePkg.vhd \
|
|
../../../../../generic_ip/common/src/test/OSVVM/CoveragePkg.vhd
|
|
#../../../../../generic_ip/common/src/test/OSVVM/OsvvmGlobalPkg.vhd \
|
|
#../../../../../generic_ip/common/src/test/OSVVM/OsvvmContext.vhd \
|
|
#../../../../../generic_ip/common/src/test/OSVVM/AlertLogPkg.vhd \
|
|
#../../../../../generic_ip/common/src/test/OSVVM/AlertLogPkg_body_BVUL.vhd \
|
|
|
|
# Compile the design files
|
|
com
|
|
vcom -2008 -work work ../../../../../generic_ip/common/src/test/txt_util.vhd
|
|
# Compile the VHDL packages that support bus protocols, memory mapped registers and functional procedures
|
|
vcom -2008 -work work ../../../../../generic_ip/common/src/test/avalon_verify_pkg.vhd
|
|
vcom -2008 -work work ../../../../../print_ctrl/src/test/pkg_types.vhd
|
|
vcom -2008 -work work ../../../../../top/src/test/hib_verify_pkg.vhd
|
|
vcom -2008 -work work ../../../../../top/src/test/func_verify_pkg.vhd
|
|
vcom -2008 -work work ../../../../../top/src/test/coverage_verify_pkg.vhd
|
|
vcom -2008 -work work ../../../../../soc_system/ip/hib_logic/src/pkg_functions.vhd
|
|
vcom -2008 -work work ../../../../../print_ctrl/src/test/asic_model.vhd
|
|
vcom -2008 -work work ../../../../../print_ctrl/src/test/actuator_die_model.vhd
|
|
vcom -2008 -work work ../../../../../print_ctrl/src/test/head_model.vhd
|
|
vcom -2008 -work work ../../../../../print_ctrl/src/test/memory_model2.vhd
|
|
|
|
# Compile the various printhead and circuit models
|
|
#vcom -work work ../../../../../lvds_slave/src/test/pmb_model.vhd
|
|
#vcom -work work ../../../../../print_data/src/test/data_model.vhd
|
|
#vcom -work work ../../../../../waveform_control/src/test/pzt_model.vhd
|
|
#vcom -work work ../../../../../waveform_control/src/test/waveform_circuit.vhd
|
|
#vcom -work work ../../../../../printhead/src/test/side_model.vhd
|
|
#vcom -work work ../../../../../printhead/src/test/head_model.vhd
|
|
|
|
# Compile the various block and sub-system VHDL testbenches
|
|
vcom -2008 -work work ../../../../../timing_ctrl/src/test/timing_ctrl_system_tb.vhd
|
|
vcom -2008 -work work ../../../../../image_expand/src/test/image_expand_system_tb.vhd
|
|
vcom -2008 -work work ../../../../../stripe_transform/src/test/stripe_transform_system_tb.vhd
|
|
vcom -2008 -work work ../../../../../print_ctrl/src/test/print_ctrl_system_tb.vhd
|
|
|
|
|
|
# Exit Modelsim once this is complete
|
|
quit -f
|