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

Subversion Repositories minsoc

[/] [minsoc/] [trunk/] [backend/] [altera_3c25_board/] [configure] - Diff between revs 96 and 97

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

Rev 96 Rev 97
Line 41... Line 41...
        echo ""
        echo ""
        exit 1
        exit 1
fi
fi
 
 
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 and family for qsf file under $MAKEFILE_DIR will patched and stored "
    echo "Device part and family for files under $SYNSRC_DIR will 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 ""
    sed "s/$FIND_PART/$DEVICE_PART/g" $MAKEFILE_DIR/$PROJECT_FILE > TMPFILE
    sed "s/$FIND_PART/$DEVICE_PART/g" $MAKEFILE_DIR/$PROJECT_FILE > TMPFILE
    sed "s/$FIND_FAMILY/$FAMILY_PART/g" TMPFILE > TMPFILE2
    sed "s/$FIND_FAMILY/$FAMILY_PART/g" TMPFILE > TMPFILE2
    #sed "s/$FIND_VERSION/$SW_VERSION/g" TMPFILE> TMPFILE
    #sed "s/$FIND_VERSION/$SW_VERSION/g" TMPFILE> TMPFILE
Line 75... Line 83...
    rm TMPFILE
    rm TMPFILE
    echo ""
    echo ""
    echo "Generated quartus settings file in $SYNSUPPORT_DIR/$PROJECT_FILE"
    echo "Generated quartus settings file in $SYNSUPPORT_DIR/$PROJECT_FILE"
    echo ""
    echo ""
 
 
    echo "Copying Makefile to synthesis directory..."
    echo "Copying Makefile from $MAKEFILE_DIR to synthesis directory, $SYN_DIR..."
    cp $MAKEFILE_DIR/$MAKEFILE $SYN_DIR/$MAKEFILE
    cp $MAKEFILE_DIR/$MAKEFILE $SYN_DIR/$MAKEFILE
    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-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.