URL
https://opencores.org/ocsvn/s1_core/s1_core/trunk
[/] [s1_core/] [trunk/] [tools/] [bin/] [s1_sim_build] - Diff between revs 110 and 111
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 110 |
Rev 111 |
Line 1... |
Line 1... |
#!/bin/bash
|
#!/bin/bash
|
|
|
|
set -e
|
if ( (test $# != 1) || ((test $1 != "icarus") && (test $1 != "vcs")) ) then
|
if ( (test $# != 1) || ((test $1 != "icarus") && (test $1 != "vcs")) ) then
|
echo "Usage: $0 {icarus|vcs}"
|
echo "Usage: $0 {icarus|vcs}"
|
exit 1;
|
exit 1
|
fi
|
fi
|
|
|
test_var S1_ROOT
|
test_var S1_ROOT
|
|
|
echo -e "Building design and testbench using $1"
|
echo -e "Building design and testbench using $1"
|
mkdir -p $S1_ROOT/run/sim/$1
|
mkdir -p $S1_ROOT/run/sim/$1
|
cd $S1_ROOT/run/sim/$1
|
cd $S1_ROOT/run/sim/$1
|
© copyright 1999-2025
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.