Skip to content

en devel getting started

Susumu Mashimo edited this page Feb 5, 2020 · 10 revisions

Getting started

  • This section describes the procedure from compiling the source code to perform functional simulation.

Development Environment

See this wiki page and setup the required environment.

Environment Variables

See this wiki page and setup the required variables.

Simulation on Verilator/Modelsim/QuestaSim/Vitis

  • Move to "Processor/Src" and make as follows.
    • For Modelsim / QuestaSim
      make
      make run        # run simulation
      make kanata     # run simulation & outputs a konata log file
      
    • For Verilator, specify Makefile.verilator, like make -f Makefile.verilator
    • For Vivado, specify Makefile.vivado, like make -f Makefile.vivado
  • The above sub-command is "kanata", not "konata".
  • See this wiki page to learn how to compile and run your code on RSD on Verilator.
  • See Functional simulation for details.

Visualization of simulation results

  • If the simulation is successful, "kanata.log" is generated in Processor/Src
  • Use Konata to visualize logs

Synthesis for Xilinx Zynq FPGA and run on a board

Before editing the code