User Tools

Site Tools


Release 1.0: Setup

If you used the installation script to install the complete system, you don't have to set up MinSoC anymore. But if you want to download a fresh MinSoC copy and already have the required tools, it is easier to download MinSoC and only set it up.

Assure yourself of having the following tools installed before trying to set up MinSoC:

  1. GNU Toolchain for OpenRISC
  2. adv_jtag_bridge for software upload and debug (Software released together with the Advanced Debug System)
  3. Icarus Verilog

How To

Check out MinSoC from the Subversion repository:

svn co minsoc

To oonfigure the system then, use the setup script:

bash minsoc/utils/setup/

Alternatively you can proceed with the manual set up.

You can now simulate or synthesize the system.

Manual Setup

  1. Configure your system as standard system, no board, only simulation:
    cd minsoc/backend/std
  2. Configure Advanced Debug System to work with MinSoC turning off the JSP server
    • edit minsoc/rtl/verilog/adv_debug_sys/Hardware/adv_dbg_if/rtl/verilog/adbg_defines.v
    • Comment out, “`define DBG_JSP_SUPPORTED”
  3. Compile and move adv_jtag_bridge debug modules for simulation
    cd minsoc/rtl/verilog/adv_debug_sys/Software/adv_jtag_bridge/sim_lib/icarus
    cp jp-io-vpi.vpi minsoc/bench/verilog/vpi
  4. Patch or1200_rel1 for watchpoint support
    cd minsoc/rtl/verilog/or1200/rtl/verilog
    patch -p0 < ../../../../../utils/setup/or1200v1_hwbkpt.patch
1_0/configuration.txt · Last modified: 2012/10/31 11:11 by Constantinos Xanthopoulos