Skip to content

Commit ae4058e

Browse files
committed
SIMULATION: Fixed simulation tcl script for ModelSim.
1 parent dea4673 commit ae4058e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

sim/simulation.tcl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# PROJECT: SPI MASTER AND SLAVE FOR FPGA
33
#-------------------------------------------------------------------------------
44
# NAME: SIMULATION TCL SCRIPT FOR MODELSIM
5-
# AUTHORS: Jakub Cabal <xcabal05@stud.feec.vutbr.cz>
5+
# AUTHORS: Jakub Cabal <jakubcabal@gmail.com>
66
# LICENSE: LGPL-3.0, please read LICENSE file
77
# WEBSITE: https://github.com/jakubcabal/spi-fpga
88
#-------------------------------------------------------------------------------
@@ -26,6 +26,7 @@
2626
#-------------------------------------------------------------------------------
2727

2828
# Compile VHDL files
29+
vlib work
2930
vcom ../rtl/spi_master.vhd
3031
vcom ../rtl/spi_slave.vhd
3132
vcom ./spi_tb.vhd
@@ -35,4 +36,4 @@ vsim work.spi_tb
3536
add wave *
3637
add wave sim:/spi_tb/master_i/*
3738
add wave sim:/spi_tb/slave_i/*
38-
run 10 us
39+
run 6 us

0 commit comments

Comments
 (0)