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
    from Rev 107 to Rev 108
    Reverse comparison

Rev 107 → Rev 108

/prj/scripts/simvhdl.sh
6,6 → 6,20
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."
29,7 → 43,8
do
if [ -f $MINSOC_DIR/$dir/$file ]
then
echo "$MINSOC_DIR/$dir/$file" >> $OUTPUT
adapted_file=`adaptpath $MINSOC_DIR/$dir/$file`
echo "$adapted_file" >> $OUTPUT
FOUND=1
break
fi
/prj/scripts/xilinxprj.sh
7,6 → 7,19
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."
30,8 → 43,9
do
if [ -f $MINSOC_DIR/$dir/$file ]
then
adapted_file=`adaptpath $MINSOC_DIR/$dir/$file`
echo -n '`include "' >> $SRC_OUTPUT
echo -n "$MINSOC_DIR/$dir/$file" >> $SRC_OUTPUT
echo -n "$adapted_file" >> $SRC_OUTPUT
echo '"' >> $SRC_OUTPUT
FOUND=1
break
49,8 → 63,10
then
for file in src/blackboxes/*.v
do
dir=`pwd`
adapted_file=`adaptpath $dir/$file`
echo -n '`include "' >> $SRC_OUTPUT
echo -n "`pwd`/$file" >> $SRC_OUTPUT
echo -n "$adapted_file" >> $SRC_OUTPUT
echo '"' >> $SRC_OUTPUT
done
fi
/prj/scripts/xilinxxst.sh
9,6 → 9,19
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."
31,13 → 44,15
 
for dir in "${PROJECT_DIR[@]}"
do
DIR_PATH="$DIR_PATH \"$MINSOC_DIR/$dir\" "
adapted_dir=`adaptpath $MINSOC_DIR/$dir`
DIR_PATH="$DIR_PATH \"$adapted_dir\" "
done
 
DIR_PATH="$DIR_PATH }"
echo $DIR_PATH >> $DIR_OUTPUT
 
echo "-ifn $MINSOC_DIR/prj/xilinx/${PROJECT_FILE}" >> $DIR_OUTPUT
adapted_project_file=`adaptpath $MINSOC_DIR/prj/xilinx/${PROJECT_FILE}`
echo "-ifn $adapted_project_file" >> $DIR_OUTPUT
echo "-ifmt Verilog" >> $DIR_OUTPUT
echo "-ofn ${TOP_MODULE_NAME}" >> $DIR_OUTPUT
echo "-ofmt NGC" >> $DIR_OUTPUT
/prj/scripts/simverilog.sh
6,6 → 6,20
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."
23,7 → 37,8
 
for dir in "${PROJECT_DIR[@]}"
do
echo "+incdir+$MINSOC_DIR/$dir" >> $OUTPUT
adapted_dir=`adaptpath $MINSOC_DIR/$dir`
echo "+incdir+$adapted_dir" >> $OUTPUT
done
 
for file in "${PROJECT_SRC[@]}"
34,7 → 49,8
do
if [ -f $MINSOC_DIR/$dir/$file ]
then
echo "$MINSOC_DIR/$dir/$file" >> $OUTPUT
adapted_file=`adaptpath $MINSOC_DIR/$dir/$file`
echo "$adapted_file" >> $OUTPUT
FOUND=1
break
fi

powered by: WebSVN 2.1.0

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