URL
https://opencores.org/ocsvn/m1_core/m1_core/trunk
[/] [m1_core/] [trunk/] [tools/] [bin/] [build_xst] - Diff between revs 14 and 23
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 14 |
Rev 23 |
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
|
|
|
rm -rf $M1_ROOT/run/synth/xst
|
|
mkdir $M1_ROOT/run/synth/xst
|
|
cd $M1_ROOT/run/synth/xst
|
cd $M1_ROOT/run/synth/xst
|
xst -ifn $FILELIST_XST 2>&1 | tee synth.log
|
rm -rf * # Make clean
|
|
xst -ifn $M1_ROOT/tools/src/build_xst.cmd -ofn synth.log
|
|
|
|
#export TOP_LEVEL="m1_top"
|
|
#ngdbuild ${TOP_LEVEL}
|
|
#map -o ${TOP_LEVEL}_map.ncd ${TOP_LEVEL}
|
|
#par -w -ol high ${TOP_LEVEL}_map.ncd ${TOP_LEVEL}.ncd
|
|
#bitgen -g startupclk:Cclk -w ${TOP_LEVEL} ${TOP_LEVEL}.bit
|
|
#trce ${TOP_LEVEL} ${TOP_LEVEL}_map
|
|
|
|
|
|
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.