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

Subversion Repositories minsoc

[/] [minsoc/] [branches/] [rc-1.0/] [backend/] [spartan3e_starter_kit/] [configure] - Diff between revs 109 and 116

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

Rev 109 Rev 116
Line 63... Line 63...
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 95... Line 113...
    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-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.