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

Subversion Repositories minsoc

[/] [minsoc/] [trunk/] [backend/] [spartan3e_starter_kit_eth/] [configure] - Diff between revs 87 and 97

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 87 Rev 97
Line 55... Line 55...
echo "REGULAR SCRIPT STARTS NOW"
echo "REGULAR SCRIPT STARTS NOW"
echo "__________________________________________________________________________"
echo "__________________________________________________________________________"
#~NON STANDARD SCRIPT PART
#~NON STANDARD SCRIPT PART
 
 
echo ""
echo ""
echo "Configuring SoC board's specific files for firmware compilation, "
echo "This script sets up the SoC for simulations and synthesis."
echo "testbench generation and synthesis."
 
echo "Firmware and testbench looks for board specific files under minsoc/backend."
 
echo "Synthesis work under minsoc/syn."
 
echo ""
echo ""
 
echo "In order to do so, SoC board's specific files for firmware compilation, "
 
echo "testbench generation and synthesis are configured."
 
echo "Firmware and testbench looks for board specific files under $BACKEND_DIR."
 
echo "Synthesis work under $SYN_DIR."
 
echo ""
 
echo ""
 
 
 
echo "Generating project files for simulation and synthesis..."
 
make -C $MINSOC_DIR/prj
 
echo "Generation complete."
 
echo "__________________________________________________________________________"
echo ""
echo ""
 
 
if [ $CONSTRAINT_FILE == 'NONE' ]
if [ $CONSTRAINT_FILE == 'NONE' ]
then
then
    echo "Skipping synthesis preparation. Standard implementation can only be simulated."
    echo "Skipping synthesis preparation. Standard implementation can only be simulated."
else
else
    echo "Device part for files under minsoc/prj/xilinx will be patched and stored "
    echo "Device part for files under $SYNSRC_DIR will be patched and stored "
    echo "temporarily."
    echo "temporarily."
    echo "Afterwards, they are copied to minsoc/syn/buildSupport."
    echo "Afterwards, they are copied to $SYNSUPPORT_DIR."
    echo "__________________________________________________________________________"
    echo "__________________________________________________________________________"
    echo ""
    echo ""
    for file in "${SYN_FILES[@]}"
    for file in "${SYN_FILES[@]}"
    do
    do
        echo "Updating synthesis file, $file..."
        echo "Updating synthesis file, $file..."
Line 81... Line 89...
        sed "s/$FIND_PART/$DEVICE_PART/g" $SYNSRC_DIR/$file > TMPFILE
        sed "s/$FIND_PART/$DEVICE_PART/g" $SYNSRC_DIR/$file > TMPFILE
        sed "s/$FIND_CONSTRAINT/$CONSTRAINT_FILE/g" TMPFILE > TMPFILE2 && mv TMPFILE2 $SYNSUPPORT_DIR/$file
        sed "s/$FIND_CONSTRAINT/$CONSTRAINT_FILE/g" TMPFILE > TMPFILE2 && mv TMPFILE2 $SYNSUPPORT_DIR/$file
        rm TMPFILE
        rm TMPFILE
    done
    done
 
 
    echo "Updating Makefile file..."
    echo "Updating Makefile file under $MAKEFILE_DIR..."
    echo "Copying Makefile to synthesis directory..."
    echo "Copying Makefile to synthesis directory, $SYN_DIR..."
    echo ""
    echo ""
    sed "s/$FIND_PART/$DEVICE_PART/g" $MAKEFILE_DIR/$MAKEFILE > TMPFILE
    sed "s/$FIND_PART/$DEVICE_PART/g" $MAKEFILE_DIR/$MAKEFILE > TMPFILE
    sed "s/$FIND_CONSTRAINT/$CONSTRAINT_FILE/g" TMPFILE > TMPFILE2 && mv TMPFILE2 $SYN_DIR/$MAKEFILE
    sed "s/$FIND_CONSTRAINT/$CONSTRAINT_FILE/g" TMPFILE > TMPFILE2 && mv TMPFILE2 $SYN_DIR/$MAKEFILE
    rm TMPFILE
    rm TMPFILE
fi
fi
echo ""
echo ""
echo ""
echo ""
 
 
 
 
echo "Copying board specific SoC files to backend directory."
echo "Copying board specific SoC files from $BOARD_DIR to $BACKEND_DIR directory."
echo "__________________________________________________________________________"
echo "__________________________________________________________________________"
echo ""
echo ""
for file in "${BOARD_FILES[@]}"
for file in "${BOARD_FILES[@]}"
do
do
    if [ $file != NONE ]
    if [ $file != NONE ]

powered by: WebSVN 2.1.0

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