#remove working directory
file delete -force work

#Creating the work lib
vlib work
vmap work work

#Top level testbench
vlog tb_d_ff.v

#Compile DUT
vlog ../src/d_ff.v

#Simulate
vsim -c -t ps tb_d_ff

#get wave
do wave.tcl

run 100 ns