MSSGE_Setup_with_Xilinx_14.2_and_Matlab_2012a - david-macmahon/wiki_convert_test GitHub Wiki
This page explains how to set up the MSSGE toolflow for CASPER development with the Xilinx 14.4 tools and Matlab 2012a/b.
- ''Note: Compiling for ROACH1/2 can use a lot of RAM. We recommend that you have more than 8GB for your 14.4 compilation machines and ideally an SSD.
 
Upgrades to the Tool-Flow Repository
- bee_xps has changed to casper_xps, this means that to run compile your design you need to now run casper_xps NOT bee_xps!
 - The BEE2_XPS_LIB_PATH has been changed to XPS_BASE_PATH, you will need to update your startsg scripts with this.
 - The xps_lib directory has been changed to xsp_base, this also requires a change to the start scripts.
 - The name of the yellow block library has changed to casper xps blockset, update this in your start scripts.
 - BEE_XPS_HW_ROUTES.mat has changed to xps_hw_routes.mat
 - All code pertaining to iBOBs and BEE2s is removed, including the plb bus.
 - The GAVRT lib has been removed.
 
Required software
- Ubuntu 12.04 64bit
 - Matlab R2012b
 - Xilinx v14.4
 - MSSGE libraries
 
Tool-Flow Setup
- Install Ubuntu 12.04
 - Install Matlab 2012b
 - Install Xilinx 14.4
 - Clone the mlib_devel repository
 - Edit the startsg and startup.m scripts (in the root mlib_devel directory) to use your Xilinx and Matlab install path
 - Run startsg "./startsg"
 
Tweaks to be able to compile
Xilinx removed support for several hardware pcores we use for ROACH1/2 from the 14 versions. So the current solution is to add the following pcores from the Xilinx 11 install to your XPS_ROACH_BASE/pcores folder or to your 14 install directory at Xilinx/14.4/ISE_DS/EDK/hw/XilinxProcessorIPLib/pcore. Link to the 11 opb pcores
- bram_if_cntlr_v1_00_a
 - bram_if_cntlr_v1_00_b
 - ipif_common_v1_00_c
 - opb_arbiter_v1_02_e
 - opb_bram_if_cntlr_v1_00_a
 - opb_ipif_v3_00_a
 - opb_opb_lite_v1_00_a
 - opb_v20_v1_10_c
 - proc_common_v1_00_a
 
The syntax in the Xilinx Perl scripts is not supported under the Ubuntu default shell Dash. Change the symbolic link sh -> dash to sh -> bash:
- cd /bin/
 - sudo rm sh
 - sudo ln -s bash sh
 
Point gmake to make by creating the symbolic link gmake -> make:
- cd /usr/bin/
 - sudo ln -s make gmake