URL
https://opencores.org/ocsvn/m1_core/m1_core/trunk
Subversion Repositories m1_core
Compare Revisions
- This comparison shows the changes necessary to convert path
/m1_core/trunk
- from Rev 59 to Rev 60
- ↔ Reverse comparison
Rev 59 → Rev 60
/tools/bin/build_dc
3,8 → 3,10
if [ -z "$M1_ROOT" ]; then echo "***ERROR***: M1_ROOT variable is undefined, please set it and run 'source sourceme'."; exit 1; fi |
if ! [ -d "$M1_ROOT" ]; then echo "***ERROR***: directory '$M1_ROOT' does not exist, please check it and run 'source sourceme' again."; exit 1; fi |
|
# Make clean |
rm -rf $M1_ROOT/run/synth/dc |
mkdir -p $M1_ROOT/run/synth/dc |
cd $M1_ROOT/run/synth/dc |
rm -rf * .syn* # Make clean |
|
# Create setup file |
export SETUP_FILE=".synopsys_dc.setup" |
/tools/bin/build_icarus
3,8 → 3,11
if [ -z "$M1_ROOT" ]; then echo "***ERROR***: M1_ROOT variable is undefined, please set it and run 'source sourceme'."; exit 1; fi |
if ! [ -d "$M1_ROOT" ]; then echo "***ERROR***: directory '$M1_ROOT' does not exist, please check it and run 'source sourceme' again."; exit 1; fi |
|
# Make clean |
rm -rf $M1_ROOT/run/sim/icarus |
mkdir $M1_ROOT/run/sim/icarus |
mkdir -p $M1_ROOT/run/sim/icarus |
cd $M1_ROOT/run/sim/icarus |
|
# Run simulation |
iverilog -o testbench -c$FILELIST_ICARUS 2>&1 | tee build.log |
|
/tools/bin/build_xst
3,8 → 3,10
if [ -z "$M1_ROOT" ]; then echo "***ERROR***: M1_ROOT variable is undefined, please set it and run 'source sourceme'."; exit 1; fi |
if ! [ -d "$M1_ROOT" ]; then echo "***ERROR***: directory '$M1_ROOT' does not exist, please check it and run 'source sourceme' again."; exit 1; fi |
|
# Make clean |
rm -rf $M1_ROOT/run/synth/xst |
mkdir -p $M1_ROOT/run/synth/xst |
cd $M1_ROOT/run/synth/xst |
rm -rf * # Make clean |
|
# Set variables |
export DESIGN_TOP="spartan3esk_top" |