30 lines
783 B
Tcl
30 lines
783 B
Tcl
##############################################################################
|
|
# Copyright (c) 2019 by Paul Scherrer Institute, Switzerland
|
|
# All rights reserved.
|
|
# Authors: Oliver Bruendler
|
|
##############################################################################
|
|
|
|
#Load dependencies
|
|
source ../../../TCL/PsiSim/PsiSim.tcl
|
|
namespace import psi::sim::*
|
|
|
|
#Initialize Simulation
|
|
init
|
|
|
|
#Configure
|
|
source ./config.tcl
|
|
|
|
#Run Simulation
|
|
puts "------------------------------"
|
|
puts "-- Compile"
|
|
puts "------------------------------"
|
|
compile_files -all -clean
|
|
puts "------------------------------"
|
|
puts "-- Run"
|
|
puts "------------------------------"
|
|
run_tb -all
|
|
puts "------------------------------"
|
|
puts "-- Check"
|
|
puts "------------------------------"
|
|
|
|
run_check_errors "###ERROR###" |