URL
https://opencores.org/ocsvn/minsoc/minsoc/trunk
Subversion Repositories minsoc
Compare Revisions
- This comparison shows the changes necessary to convert path
/minsoc/branches/verilator/prj/scripts
- from Rev 139 to Rev 110
- ↔ Reverse comparison
Rev 139 → Rev 110
/simvhdl.sh
File deleted
simvhdl.sh
Property changes :
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: xilinxprj.sh
===================================================================
--- xilinxprj.sh (revision 139)
+++ xilinxprj.sh (nonexistent)
@@ -1,72 +0,0 @@
-#!/bin/bash
-
-#system workings
-MINSOC_DIR=`pwd`/..
-
-PROJECT=$1
-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."
- exit 1
-fi
-
-if [ -z "$SRC_OUTPUT" ]
-then
- echo "Third argument should be the destintion file for the source inclusions."
- exit 1
-fi
-echo -n "" > $SRC_OUTPUT
-
-source $PROJECT
-
-for file in "${PROJECT_SRC[@]}"
-do
- FOUND=0
-
- for dir in "${PROJECT_DIR[@]}"
- 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 '"' >> $SRC_OUTPUT
- FOUND=1
- break
- fi
- done
-
- if [ $FOUND != 1 ]
- then
- echo "FILE NOT FOUND: $file"
- exit 1
- fi
-done
-
-if [ -n "$TOP_MODULE" ]
-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 '"' >> $SRC_OUTPUT
- done
-fi
xilinxprj.sh
Property changes :
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: altvhdprj.sh
===================================================================
--- altvhdprj.sh (revision 139)
+++ altvhdprj.sh (nonexistent)
@@ -1,64 +0,0 @@
-#!/bin/bash
-
-#system workings
-MINSOC_DIR=`pwd`/..
-
-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."
- exit 1
-fi
-
-if [ -z "$OUTPUT" ]
-then
- echo "Second argument should be the destintion file for the file and directory inclusions."
- exit 1
-fi
-echo -n "" > $OUTPUT
-
-source $PROJECT
-
-for dir in "${PROJECT_DIR[@]}"
-do
- adapted_dir=`adaptpath $MINSOC_DIR/$dir`
- echo "set_global_assignment -name SEARCH_PATH $adapted_dir" >> $OUTPUT
-done
-
-for file in "${PROJECT_SRC[@]}"
-do
- FOUND=0
-
- for dir in "${PROJECT_DIR[@]}"
- do
- if [ -f $MINSOC_DIR/$dir/$file ]
- then
- adapted_file=`adaptpath $MINSOC_DIR/$dir/$file`
- echo "set_global_assignment -name VHDL_FILE $adapted_file" >> $OUTPUT
- FOUND=1
- break
- fi
- done
-
- if [ $FOUND != 1 ]
- then
- echo "FILE NOT FOUND: $file"
- exit 1
- fi
-done
altvhdprj.sh
Property changes :
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: simverilog.sh
===================================================================
--- simverilog.sh (revision 139)
+++ simverilog.sh (nonexistent)
@@ -1,64 +0,0 @@
-#!/bin/bash
-
-#system workings
-MINSOC_DIR=`pwd`/..
-
-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."
- exit 1
-fi
-
-if [ -z "$OUTPUT" ]
-then
- echo "Second argument should be the destintion file for the file and directory inclusions."
- exit 1
-fi
-echo -n "" > $OUTPUT
-
-source $PROJECT
-
-for dir in "${PROJECT_DIR[@]}"
-do
- adapted_dir=`adaptpath $MINSOC_DIR/$dir`
- echo "+incdir+$adapted_dir" >> $OUTPUT
-done
-
-for file in "${PROJECT_SRC[@]}"
-do
- FOUND=0
-
- for dir in "${PROJECT_DIR[@]}"
- do
- if [ -f $MINSOC_DIR/$dir/$file ]
- then
- adapted_file=`adaptpath $MINSOC_DIR/$dir/$file`
- echo "$adapted_file" >> $OUTPUT
- FOUND=1
- break
- fi
- done
-
- if [ $FOUND != 1 ]
- then
- echo "FILE NOT FOUND: $file"
- exit 1
- fi
-done
simverilog.sh
Property changes :
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: altvprj.sh
===================================================================
--- altvprj.sh (revision 139)
+++ altvprj.sh (nonexistent)
@@ -1,64 +0,0 @@
-#!/bin/bash
-
-#system workings
-MINSOC_DIR=`pwd`/..
-
-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."
- exit 1
-fi
-
-if [ -z "$OUTPUT" ]
-then
- echo "Second argument should be the destintion file for the file and directory inclusions."
- exit 1
-fi
-echo -n "" > $OUTPUT
-
-source $PROJECT
-
-for dir in "${PROJECT_DIR[@]}"
-do
- adapted_dir=`adaptpath $MINSOC_DIR/$dir`
- echo "set_global_assignment -name SEARCH_PATH $adapted_dir" >> $OUTPUT
-done
-
-for file in "${PROJECT_SRC[@]}"
-do
- FOUND=0
-
- for dir in "${PROJECT_DIR[@]}"
- do
- if [ -f $MINSOC_DIR/$dir/$file ]
- then
- adapted_file=`adaptpath $MINSOC_DIR/$dir/$file`
- echo "set_global_assignment -name VERILOG_FILE $adapted_file" >> $OUTPUT
- FOUND=1
- break
- fi
- done
-
- if [ $FOUND != 1 ]
- then
- echo "FILE NOT FOUND: $file"
- exit 1
- fi
-done
altvprj.sh
Property changes :
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: xilinxxst.sh
===================================================================
--- xilinxxst.sh (revision 139)
+++ xilinxxst.sh (nonexistent)
@@ -1,68 +0,0 @@
-#!/bin/bash
-
-#system workings
-MINSOC_DIR=`pwd`/..
-
-PROJECT=$1
-DIR_OUTPUT=$2
-PROJECT_FILE=$3
-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."
- exit 1
-fi
-
-if [ -z "$DIR_OUTPUT" ]
-then
- echo "Second argument should be the destintion file for the directory inclusions."
- exit 1
-fi
-echo -n "" > $DIR_OUTPUT
-
-source $PROJECT
-
-echo "set -tmpdir "./xst"" >> $DIR_OUTPUT
-echo "run" >> $DIR_OUTPUT
-
-DIR_PATH="-vlgincdir {"
-
-for dir in "${PROJECT_DIR[@]}"
-do
- adapted_dir=`adaptpath $MINSOC_DIR/$dir`
- DIR_PATH="$DIR_PATH \"$adapted_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 "-ifmt Verilog" >> $DIR_OUTPUT
-echo "-ofn ${TOP_MODULE_NAME}" >> $DIR_OUTPUT
-echo "-ofmt NGC" >> $DIR_OUTPUT
-echo "-p DEVICE_PART" >> $DIR_OUTPUT
-echo "-top ${TOP_MODULE_NAME}" >> $DIR_OUTPUT
-echo "-opt_mode Speed" >> $DIR_OUTPUT
-echo "-opt_level 1" >> $DIR_OUTPUT
-if [ -n "$TOP_MODULE" ]
-then
- echo "-iobuf yes" >> $DIR_OUTPUT
-else
- echo "-iobuf no" >> $DIR_OUTPUT
-fi
xilinxxst.sh
Property changes :
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property