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

Subversion Repositories minsoc

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 111 to Rev 112
    Reverse comparison

Rev 111 → Rev 112

/minsoc/branches/rc-1.0/utils/setup/minsoc-configure.sh
6,8 → 6,7
# ===== CONFIGURATIONS =====
# ==========================
 
DIR_TO_INSTALL=`pwd`
 
export DIR_TO_INSTALL=`pwd`
# Debug ?
export DEBUG=0;
. beautify.sh
71,5 → 70,4
errormsg "Directory doesn't exist. Please create it";
fi;
 
export ${DIR_TO_INSTALL}
bash configure.sh
/minsoc/branches/rc-1.0/utils/setup/minsoc-install.sh
5,8 → 5,8
 
# ===== CONFIGURATIONS =====
# ==========================
MINSOC_SVN_URL=http://opencores.org/ocsvn/minsoc/minsoc/branches/rc-0.1
DIR_TO_INSTALL=`pwd`
MINSOC_SVN_URL=http://opencores.org/ocsvn/minsoc/minsoc/branches/rc-1.0
export DIR_TO_INSTALL=`pwd`
 
# Debug ?
export DEBUG=0;
226,7 → 226,6
 
 
#Configuring MinSoC, Advanced Debug System and patching OpenRISC
export ${DIR_TO_INSTALL}
bash configure.sh
 
 
/minsoc/branches/rc-1.0/utils/setup/configure.sh
10,16 → 10,16
#Configuring Advanced Debug System to work with MinSoC
cecho "\nConfiguring Advanced Debug System to work with MinSoC"
execcmd "cd ${DIR_TO_INSTALL}/minsoc/rtl/verilog/adv_debug_sys/Hardware/adv_dbg_if/rtl/verilog"
sed "s%\`define DBG_JSP_SUPPORTED%//\`define DBG_JSP_SUPPORTED%" adbg_defines.v > TMPFILE && mv TMPFILE adbg_defines.v
execcmd "Turning off Advanced Debug System's JSP" "sed 's%\`define DBG_JSP_SUPPORTED%//\`define DBG_JSP_SUPPORTED%' adbg_defines.v > TMPFILE && mv TMPFILE adbg_defines.v"
 
#Compiling and moving adv_jtag_bridge debug modules for simulation
execcmd "cd ${DIR_TO_INSTALL}/minsoc/rtl/verilog/adv_debug_sys/Software/adv_jtag_bridge/sim_lib/icarus"
execcmd "make"
execcmd "Compiling VPI interface to connect GDB with simulation" "make"
execcmd "cp jp-io-vpi.vpi ${DIR_TO_INSTALL}/minsoc/bench/verilog/vpi"
 
#Patching OpenRISC Release 1 with Advanced Debug System patch for Watchpoints
execcmd "cd ${DIR_TO_INSTALL}/minsoc/rtl/verilog/or1200/rtl/verilog"
execcmd "patch -p0 < ${DIR_TO_INSTALL}/minsoc/rtl/verilog/adv_debug_sys/Patches/OR1200v1/or1200v1_hwbkpt.patch"
execcmd "Patching OpenRISC for watchpoint support" "patch -p0 < ${DIR_TO_INSTALL}/minsoc/rtl/verilog/adv_debug_sys/Patches/OR1200v1/or1200v1_hwbkpt.patch"
 
 
#Precompiling firmwares

powered by: WebSVN 2.1.0

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