URL
https://opencores.org/ocsvn/m1_core/m1_core/trunk
[/] [m1_core/] [trunk/] [tools/] [bin/] [build_xst] - Diff between revs 54 and 60
Show entire file |
Details |
Blame |
View Log
Rev 54 |
Rev 60 |
Line 1... |
Line 1... |
#!/bin/bash
|
#!/bin/bash
|
|
|
if [ -z "$M1_ROOT" ]; then echo "***ERROR***: M1_ROOT variable is undefined, please set it and run 'source sourceme'."; exit 1; fi
|
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
|
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
|
cd $M1_ROOT/run/synth/xst
|
rm -rf * # Make clean
|
|
|
|
# Set variables
|
# Set variables
|
export DESIGN_TOP="spartan3esk_top"
|
export DESIGN_TOP="spartan3esk_top"
|
export FPGA_DEVICE="xc3s500e-fg320-4"
|
export FPGA_DEVICE="xc3s500e-fg320-4"
|
export CMDFILE="command.xst"
|
export CMDFILE="command.xst"
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.