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

Subversion Repositories minsoc

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

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

Rev 105 Rev 141
Line 15... Line 15...
SYNSUPPORT_DIR=$SYN_DIR/buildSupport
SYNSUPPORT_DIR=$SYN_DIR/buildSupport
MAKEFILE_DIR=$SYN_DIR/altera
MAKEFILE_DIR=$SYN_DIR/altera
 
 
PROJECT_FILE=minsoc_top.qsf
PROJECT_FILE=minsoc_top.qsf
 
 
SYN_FILES=(adbg_top.prj jtag_top.prj or1200_top.prj uart_top.prj minsoc_top.prj altera_virtual_jtag.prj)
SYN_FILES=(adbg_top.vprj jtag_top.vprj or1200_top.vprj uart_top.vprj minsoc_top.vprj altera_virtual_jtag.vhdprj)
MAKEFILE=Makefile
MAKEFILE=Makefile
 
 
FIND_PART='DEVICE_PART'
FIND_PART='DEVICE_PART'
FIND_FAMILY='FAMILY_PART'
FIND_FAMILY='FAMILY_PART'
FIND_VERSION='SW_VERSION'
FIND_VERSION='SW_VERSION'
Line 50... Line 50...
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 "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 and family for files under $SYNSRC_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 $SYNSUPPORT_DIR."
    echo "Afterwards, they are copied to $SYNSUPPORT_DIR."
    echo "__________________________________________________________________________"
    echo "__________________________________________________________________________"
Line 86... Line 102...
    echo ""
    echo ""
 
 
    echo "Copying Makefile from $MAKEFILE_DIR to synthesis directory, $SYN_DIR..."
    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
    cp $MAKEFILE_DIR/setup.bat $SYN_DIR/setup.bat
    cp $MAKEFILE_DIR/setup.bat $SYN_DIR/setup.bat
 
    echo "For synthesis help go to $SYN_DIR and type \"make\"."
    echo ""
    echo ""
 
 
    echo "Copying board specific SoC files from $BOARD_DIR to $BACKEND_DIR directory."
 
    echo "__________________________________________________________________________"
 
    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 "Configuration done."
 
    echo "For synthesis help go to $SYN_DIR and type \"make\"."
 
fi
fi
 
 
 
echo "Configuration done."

powered by: WebSVN 2.1.0

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