Line 1... |
Line 1... |
#!/bin/bash
|
#!/bin/bash
|
|
|
|
#NON STANDARD SCRIPT, USE ANOTHER AS TEMPLATE, NON STANDARD PART IS MARKED AS COMMENT
|
|
|
#new boards have to udpate this
|
#new boards have to udpate this
|
BOARD=spartan3e_starter_kit #this has to have the name of the directory this file is in
|
BOARD=spartan3e_starter_kit #this has to have the name of the directory this file is in
|
DEVICE_PART='xc3s500e-4-fg320'
|
DEVICE_PART='xc3s500e-4-fg320'
|
CONSTRAINT_FILE='spartan3e_starter_kit.ucf'
|
CONSTRAINT_FILE='spartan3e_starter_kit.ucf'
|
#~new boards update
|
#~new boards update
|
Line 30... |
Line 32... |
echo "because it relies on the directory structure of the minsoc system."
|
echo "because it relies on the directory structure of the minsoc system."
|
echo ""
|
echo ""
|
exit 1
|
exit 1
|
fi
|
fi
|
|
|
|
#NON STANDARD SCRIPT PART
|
|
echo "THIS SCRIPT HAS A NON-STANDARD BEGINNING."
|
|
echo "__________________________________________________________________________"
|
|
echo "Spartan3E Starter Kit requires another configuration for or1200_r3."
|
|
echo "or1200_r1 should work fine, roll back this for minsoc release-1.0."
|
|
|
|
echo ""
|
|
echo "Copying or1200_defines.v, to or1200 implementation directory..."
|
|
echo "(minsoc/rtl/verilog/or1200/rtl/verilog)"
|
|
echo "__________________________________________________________________________"
|
|
cp $BOARD_DIR/or1200_defines.v $MINSOC_DIR/rtl/verilog/or1200/rtl/verilog
|
|
echo ""
|
|
echo "REGULAR SCRIPT STARTS NOW"
|
|
echo "__________________________________________________________________________"
|
|
#~NON STANDARD SCRIPT PART
|
|
|
echo ""
|
echo ""
|
echo "Configuring SoC board's specific files for firmware compilation, "
|
echo "Configuring SoC board's specific files for firmware compilation, "
|
echo "testbench generation and synthesis."
|
echo "testbench generation and synthesis."
|
echo "Firmware and testbench looks for board specific files under minsoc/backend."
|
echo "Firmware and testbench looks for board specific files under minsoc/backend."
|
echo "Synthesis work under minsoc/syn."
|
echo "Synthesis work under minsoc/syn."
|