#remove working directory
file delete -force work

#Creating the work lib
vlib work
vmap work work


#Top level testbench
vlog spi_master_tb.v \
     ../src/spi_master.v

#Simulate
vsim -c -t ps spi_master_tb 

#get wave
do wave.do

run 25 us