OpenCores
URL https://opencores.org/ocsvn/m1_core/m1_core/trunk

Subversion Repositories m1_core

[/] [m1_core/] [trunk/] [tools/] [bin/] [build_xst] - Blame information for rev 23

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 fafa1971
#!/bin/bash
2
 
3 14 fafa1971
if [ -z "$M1_ROOT" ]; then echo "***ERROR***: M1_ROOT variable is undefined, please set it and run 'source sourceme'."; exit 1; fi
4
if ! [ -d "$M1_ROOT" ]; then echo "***ERROR***: directory '$M1_ROOT' does not exist, please check it and run 'source sourceme' again."; exit 1; fi
5
 
6 2 fafa1971
cd $M1_ROOT/run/synth/xst
7 23 fafa1971
rm -rf *  # Make clean
8
xst -ifn $M1_ROOT/tools/src/build_xst.cmd -ofn synth.log
9 2 fafa1971
 
10 23 fafa1971
#export TOP_LEVEL="m1_top"
11
#ngdbuild ${TOP_LEVEL}
12
#map -o ${TOP_LEVEL}_map.ncd ${TOP_LEVEL}
13
#par -w -ol high ${TOP_LEVEL}_map.ncd ${TOP_LEVEL}.ncd
14
#bitgen -g startupclk:Cclk -w ${TOP_LEVEL} ${TOP_LEVEL}.bit
15
#trce ${TOP_LEVEL} ${TOP_LEVEL}_map
16 2 fafa1971
 
17 23 fafa1971
 
18
 
19
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.