URL
https://opencores.org/ocsvn/minsoc/minsoc/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 110 |
Rev 112 |
Line 8... |
Line 8... |
|
|
|
|
#Configuring Advanced Debug System to work with MinSoC
|
#Configuring Advanced Debug System to work with MinSoC
|
cecho "\nConfiguring 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"
|
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
|
#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 "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"
|
execcmd "cp jp-io-vpi.vpi ${DIR_TO_INSTALL}/minsoc/bench/verilog/vpi"
|
|
|
#Patching OpenRISC Release 1 with Advanced Debug System patch for Watchpoints
|
#Patching OpenRISC Release 1 with Advanced Debug System patch for Watchpoints
|
execcmd "cd ${DIR_TO_INSTALL}/minsoc/rtl/verilog/or1200/rtl/verilog"
|
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
|
#Precompiling firmwares
|
cecho "\nPrecompiling delivered firmwares";
|
cecho "\nPrecompiling delivered firmwares";
|
execcmd "cd ${DIR_TO_INSTALL}/minsoc/sw/utils"
|
execcmd "cd ${DIR_TO_INSTALL}/minsoc/sw/utils"
|
© copyright 1999-2025
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.