-- If you see error messages concerning missing libraries for
-- XilinxCoreLib, unisims, or simprims, you may not have set
-- up your ModelSim environment correctly.  See the Xilinx
-- Support Website for instructions telling how to compile
-- these libraries.

vlib work

vcom -93  -nowarn 1 lab7_solution.vhd
vcom  -nowarn 1 lab7_solution_cw.vhd
vcom -93  -nowarn 1 lab7_solution_tb.vhd
vsim -L work -t ps  lab7_solution_tb
view wave
add wave *
view structure
view signals
set NumericStdNoWarnings 1
run 0
set NumericStdNoWarnings 0
run 990275.000000 ns
