ReonV/bin/route_lattice

19 lines
645 B
Bash
Executable file

#!/bin/sh
# route entity ucf-file device path isplib package
echo edif2ngd -l $5 -d $3 $4/$1.edf
edif2ngd -l $5 -d $3 $4/$1.edf
echo ngdbuild -a $5 -d $3 $1.ngo $1.ngd
ngdbuild -a $5 -d $3 $1.ngo $1.ngd
echo map -a $5 -p $3 -t $6 -s 5 $1.ngd -o $1.ncd
map -a $5 -p $3 -t $6 -s 5 $1.ngd -o $1.ncd
#par -cs 1 -w $1 $1.ncd $2
#par -e 1 -i 10 -w $1 $1.ncd $2
echo par -cs 1 -e 1 -i 10 -w $1 $1.ncd
par -cs 1 -e 1 -i 10 -w $1 $1.ncd
#trce -v 1 $1.ncd $2
echo trce -v 1 $1.ncd
trce -v 1 $1.ncd
#bitgen -f $7 -w $1.ncd $2
echo bitgen -f $7 -w $1.ncd
bitgen -f $7 -w $1.ncd
#synsvf -exe $ISPVM_DIR/ispufw -prj $1 -op p -if $1.bit -oft -int -of $1.mcs