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

Subversion Repositories minsoc

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /minsoc/trunk/prj/scripts
    from Rev 108 to Rev 107
    Reverse comparison

Rev 108 → Rev 107

/simvhdl.sh
6,20 → 6,6
PROJECT=$1
OUTPUT=$2
 
ENV=`uname -o`
 
function adaptpath
{
if [ "$ENV" == "Cygwin" ]
then
local cygpath=`cygpath -w $1`
local result=`echo $cygpath | sed 's/\\\\/\\//g'`
echo "$result"
else
echo "$1"
fi
}
 
if [ ! -f $PROJECT ]
then
echo "Unexistent project file."
43,8 → 29,7
do
if [ -f $MINSOC_DIR/$dir/$file ]
then
adapted_file=`adaptpath $MINSOC_DIR/$dir/$file`
echo "$adapted_file" >> $OUTPUT
echo "$MINSOC_DIR/$dir/$file" >> $OUTPUT
FOUND=1
break
fi
/simverilog.sh
6,20 → 6,6
PROJECT=$1
OUTPUT=$2
 
ENV=`uname -o`
 
function adaptpath
{
if [ "$ENV" == "Cygwin" ]
then
local cygpath=`cygpath -w $1`
local result=`echo $cygpath | sed 's/\\\\/\\//g'`
echo "$result"
else
echo "$1"
fi
}
 
if [ ! -f $PROJECT ]
then
echo "Unexistent project file."
37,8 → 23,7
 
for dir in "${PROJECT_DIR[@]}"
do
adapted_dir=`adaptpath $MINSOC_DIR/$dir`
echo "+incdir+$adapted_dir" >> $OUTPUT
echo "+incdir+$MINSOC_DIR/$dir" >> $OUTPUT
done
 
for file in "${PROJECT_SRC[@]}"
49,8 → 34,7
do
if [ -f $MINSOC_DIR/$dir/$file ]
then
adapted_file=`adaptpath $MINSOC_DIR/$dir/$file`
echo "$adapted_file" >> $OUTPUT
echo "$MINSOC_DIR/$dir/$file" >> $OUTPUT
FOUND=1
break
fi
/xilinxprj.sh
7,19 → 7,6
SRC_OUTPUT=$2
TOP_MODULE=$3
 
ENV=`uname -o`
 
function adaptpath
{
if [ "$ENV" == "Cygwin" ]
then
local cygpath=`cygpath -w $1`
echo "$cygpath"
else
echo "$1"
fi
}
 
if [ ! -f $PROJECT ]
then
echo "Unexistent project file."
43,9 → 30,8
do
if [ -f $MINSOC_DIR/$dir/$file ]
then
adapted_file=`adaptpath $MINSOC_DIR/$dir/$file`
echo -n '`include "' >> $SRC_OUTPUT
echo -n "$adapted_file" >> $SRC_OUTPUT
echo -n "$MINSOC_DIR/$dir/$file" >> $SRC_OUTPUT
echo '"' >> $SRC_OUTPUT
FOUND=1
break
63,10 → 49,8
then
for file in src/blackboxes/*.v
do
dir=`pwd`
adapted_file=`adaptpath $dir/$file`
echo -n '`include "' >> $SRC_OUTPUT
echo -n "$adapted_file" >> $SRC_OUTPUT
echo -n "`pwd`/$file" >> $SRC_OUTPUT
echo '"' >> $SRC_OUTPUT
done
fi
/xilinxxst.sh
9,19 → 9,6
TOP_MODULE_NAME=$4
TOP_MODULE=$5
 
ENV=`uname -o`
 
function adaptpath
{
if [ "$ENV" == "Cygwin" ]
then
local cygpath=`cygpath -w $1`
echo "$cygpath"
else
echo "$1"
fi
}
 
if [ ! -f $PROJECT ]
then
echo "Unexistent project file."
44,15 → 31,13
 
for dir in "${PROJECT_DIR[@]}"
do
adapted_dir=`adaptpath $MINSOC_DIR/$dir`
DIR_PATH="$DIR_PATH \"$adapted_dir\" "
DIR_PATH="$DIR_PATH \"$MINSOC_DIR/$dir\" "
done
 
DIR_PATH="$DIR_PATH }"
echo $DIR_PATH >> $DIR_OUTPUT
 
adapted_project_file=`adaptpath $MINSOC_DIR/prj/xilinx/${PROJECT_FILE}`
echo "-ifn $adapted_project_file" >> $DIR_OUTPUT
echo "-ifn $MINSOC_DIR/prj/xilinx/${PROJECT_FILE}" >> $DIR_OUTPUT
echo "-ifmt Verilog" >> $DIR_OUTPUT
echo "-ofn ${TOP_MODULE_NAME}" >> $DIR_OUTPUT
echo "-ofmt NGC" >> $DIR_OUTPUT

powered by: WebSVN 2.1.0

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