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."
|