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

Subversion Repositories minsoc

[/] [minsoc/] [trunk/] [backend/] [spartan3e_starter_kit_eth/] [configure] - Diff between revs 105 and 141

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

Rev 105 Rev 141
Line 40... Line 40...
fi
fi
 
 
#NON STANDARD SCRIPT PART
#NON STANDARD SCRIPT PART
echo "THIS SCRIPT HAS A NON-STANDARD BEGINNING."
echo "THIS SCRIPT HAS A NON-STANDARD BEGINNING."
echo "__________________________________________________________________________"
echo "__________________________________________________________________________"
echo "Ethernet on Spartan3E Starter Kit requires another configuration for or1200."
echo "${BOARD} requires another configuration for or1200."
echo "For minsoc release-1.0 or1200_r1 will be used."
 
echo "This will need or1200_defines.v of or1200_r1 with same configuration."
 
 
 
echo ""
echo ""
echo "Copying or1200_defines.v, to or1200 implementation directory..."
echo "Copying or1200_defines.v, to or1200 implementation directory..."
echo "(minsoc/rtl/verilog/or1200/rtl/verilog)"
echo "(minsoc/rtl/verilog/or1200/rtl/verilog)"
echo "__________________________________________________________________________"
echo "__________________________________________________________________________"
Line 64... Line 62...
echo "Firmware and testbench looks for board specific files under $BACKEND_DIR."
echo "Firmware and testbench looks for board specific files under $BACKEND_DIR."
echo "Synthesis work under $SYN_DIR."
echo "Synthesis work under $SYN_DIR."
echo ""
echo ""
echo ""
echo ""
 
 
 
echo "Copying board specific SoC files from $BOARD_DIR to $BACKEND_DIR directory."
 
echo "__________________________________________________________________________"
 
echo ""
 
for file in "${BOARD_FILES[@]}"
 
do
 
    if [ $file != NONE ]
 
    then
 
        echo "Copying $file, to backend directory..."
 
        cp $BOARD_DIR/$file $BACKEND_DIR
 
    fi
 
done
 
echo ""
 
echo ""
 
 
echo "Generating project files for simulation and synthesis..."
echo "Generating project files for simulation and synthesis..."
 
echo "__________________________________________________________________________"
 
echo ""
make -C $MINSOC_DIR/prj
make -C $MINSOC_DIR/prj
echo "Generation complete."
echo "Generation complete."
echo "__________________________________________________________________________"
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."
 
    echo ""
 
    echo ""
else
else
    echo "Device part for files under $SYNSRC_DIR 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 $SYNSUPPORT_DIR."
    echo "Afterwards, they are copied to $SYNSUPPORT_DIR."
    echo "__________________________________________________________________________"
    echo "__________________________________________________________________________"
Line 96... Line 112...
    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
    cp $MAKEFILE_DIR/setup.bat $SYN_DIR/setup.bat
    cp $MAKEFILE_DIR/setup.bat $SYN_DIR/setup.bat
fi
 
echo ""
echo ""
echo ""
echo ""
 
 
 
 
echo "Copying board specific SoC files from $BOARD_DIR to $BACKEND_DIR directory."
 
echo "__________________________________________________________________________"
 
echo ""
 
for file in "${BOARD_FILES[@]}"
 
do
 
    if [ $file != NONE ]
 
    then
 
        echo "Copying $file, to backend directory..."
 
        cp $BOARD_DIR/$file $BACKEND_DIR
 
    fi
    fi
done
 
echo ""
echo "Configuration done."
echo ""
 
echo "Configuration done."
 

powered by: WebSVN 2.1.0

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