1 |
15 |
juko |
#
|
2 |
|
|
# .--------------. .----------------. .------------.
|
3 |
|
|
# | .------------. | .--------------. | .----------. |
|
4 |
|
|
# | | ____ ____ | | | ____ ____ | | | ______ | |
|
5 |
|
|
# | ||_ || _|| | ||_ \ / _|| | | .' ___ || |
|
6 |
|
|
# ___ _ __ ___ _ __ | | | |__| | | | | | \/ | | | |/ .' \_|| |
|
7 |
|
|
# / _ \| '_ \ / _ \ '_ \ | | | __ | | | | | |\ /| | | | || | | |
|
8 |
|
|
# (_) | |_) | __/ | | || | _| | | |_ | | | _| |_\/_| |_ | | |\ `.___.'\| |
|
9 |
|
|
# \___/| .__/ \___|_| |_|| ||____||____|| | ||_____||_____|| | | `._____.'| |
|
10 |
|
|
# | | | | | | | | | | | |
|
11 |
|
|
# |_| | '------------' | '--------------' | '----------' |
|
12 |
|
|
# '--------------' '----------------' '------------'
|
13 |
|
|
#
|
14 |
|
|
# openHMC - An Open Source Hybrid Memory Cube Controller
|
15 |
|
|
# (C) Copyright 2014 Computer Architecture Group - University of Heidelberg
|
16 |
|
|
# www.ziti.uni-heidelberg.de
|
17 |
|
|
# B6, 26
|
18 |
|
|
# 68159 Mannheim
|
19 |
|
|
# Germany
|
20 |
|
|
#
|
21 |
|
|
# Contact: openhmc@ziti.uni-heidelberg.de
|
22 |
|
|
# http://ra.ziti.uni-heidelberg.de/openhmc
|
23 |
|
|
#
|
24 |
|
|
# This source file is free software: you can redistribute it and/or modify
|
25 |
|
|
# it under the terms of the GNU Lesser General Public License as published by
|
26 |
|
|
# the Free Software Foundation, either version 3 of the License, or
|
27 |
|
|
# (at your option) any later version.
|
28 |
|
|
#
|
29 |
|
|
# This source file is distributed in the hope that it will be useful,
|
30 |
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
31 |
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
32 |
|
|
# GNU Lesser General Public License for more details.
|
33 |
|
|
#
|
34 |
|
|
# You should have received a copy of the GNU Lesser General Public License
|
35 |
|
|
# along with this source file. If not, see <http://www.gnu.org/licenses/>.
|
36 |
|
|
#
|
37 |
|
|
#
|
38 |
|
|
|
39 |
|
|
#!/bin/bash
|
40 |
|
|
|
41 |
|
|
if [ ! $OPENHMC_SIM ]
|
42 |
|
|
then
|
43 |
|
|
echo "Please export OPENHMC_SIM first"
|
44 |
|
|
exit 1
|
45 |
|
|
fi
|
46 |
|
|
|
47 |
|
|
if [ ! $OPENHMC_PATH ]
|
48 |
|
|
then
|
49 |
|
|
echo "Please export OPENHMC_PATH first"
|
50 |
|
|
exit 1
|
51 |
|
|
fi
|
52 |
|
|
|
53 |
|
|
export CAG_TB_DIR=${OPENHMC_SIM}/tb/bfm
|
54 |
|
|
export CAG_DUT="openhmc_behavioral_bfm"
|
55 |
|
|
|
56 |
|
|
#-----------------------------------------------------------------
|
57 |
|
|
|
58 |
|
|
echo ""
|
59 |
|
|
echo "*"
|
60 |
|
|
echo "* .--------------. .----------------. .------------. "
|
61 |
|
|
echo "* | .------------. | .--------------. | .----------. |"
|
62 |
|
|
echo "* | | ____ ____ | | | ____ ____ | | | ______ | |"
|
63 |
|
|
echo "* | ||_ || _|| | ||_ \ / _|| | | .' ___ || |"
|
64 |
|
|
echo "* ___ _ __ ___ _ __ | | | |__| | | | | | \/ | | | |/ .' \_|| |"
|
65 |
|
|
echo "* / _ \| '_ \ / _ \ '_ \ | | | __ | | | | | |\ /| | | | || | | |"
|
66 |
|
|
echo "* (_) | |_) | __/ | | || | _| | | |_ | | | _| |_\/_| |_ | | |\ '.___.'\| |"
|
67 |
|
|
echo "* \___/| .__/ \___|_| |_|| ||____||____|| | ||_____||_____|| | | '._____.'| |"
|
68 |
|
|
echo "* | | | | | | | | | | | |"
|
69 |
|
|
echo "* |_| | ------------ | '--------------' | '----------' |"
|
70 |
|
|
echo "* '--------------' '----------------' '------------' "
|
71 |
|
|
echo "*"
|
72 |
|
|
echo "*"
|
73 |
|
|
echo "* *******************************************************"
|
74 |
|
|
echo "* * *"
|
75 |
|
|
echo "* * openHMC Verification Environment *"
|
76 |
|
|
echo "* * *"
|
77 |
|
|
echo "* * using Micron Bus Functional Model *"
|
78 |
|
|
echo "* * *"
|
79 |
|
|
echo "* *******************************************************"
|
80 |
|
|
echo ""
|
81 |
|
|
|
82 |
|
|
${OPENHMC_SIM}/tb/run/run_files/run.sh $*
|
83 |
|
|
|