Skip to content

en devel getting started

Ryota Shioya edited this page Aug 27, 2022 · 10 revisions

Getting started

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

1. Development Environment

See this wiki page and setup the required environment.

2. Environment Variables

See this wiki page and setup the required variables.

3. Simulation on Verilator/Modelsim/QuestaSim/Vitis(Vivado)

  • 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.mk
    • For Vivado, specify Makefile.vivado, like make -f Makefile.vivado.mk
    • The above sub-command is "kanata", not "konata".
  • Note
  • Visualization of simulation results
    • If the simulation is successful, "kanata.log" is generated in Processor/Src
    • Use Konata to visualize logs

4. Synthesis for Xilinx Zynq FPGA and run on a board

5. Synthesis for ASIC

[TODO]

6. Before editing the code