Akaria NS BSP (Board Support Package) is available to the public and you can try NS Family Processor soon and free. Akaria NS BSP can be run using Arty-A7 FPGA Development Board by Digilent and any of JTAG Debugger, for example Flyswatter2, DLP-USB1232H, etc. .

All components to make it run are availabe on this site free of chage, but if you would like a ready-to-run environment, you can also buy a complete Akaria NS BSP package from Hagiwara Electornics.
See here..
*At this time, this product is only available for purchase in Japan

 

This site provides following data

  • Akaria NS31A FPGA bitstream
  • Akaria NS Family toolchain
  • Akaria NS BSP software platform
  • Akaria NS31A on Arty-A7 sample test application

 

Akaria NS31A FPGA bitstream
You can download NS31A FPGA bitstream data and documents including User Manual: akaria-ns31-arty-fpga-231219.tar.gz (5.40MB).
To view the User Manuals (Akaria NS31A and NS31A FPGA on Arty A7) immediatly

 

Akaria NS Family toolchain (akaria-riscv-toolchain)
You can get toolchain source codes and compiled binary including compiler, linker, library, etc from following GitHub site.
https://github.com/nsitexe/akaria-riscv-toolchain

Open on-chip debugger, openocd is available for NS Family. you can download compiled software binaries and sample configuration files and docker files to reproduce compilation: akaria-openocd.tar.gz (29.5MB).
If you need source code, download from below and build with the release tag of “v0.12.0”
https://github.com/openocd-org/openocd

 

Akaria NS BSP software platform (akaria-bmetal)
You can download the source codes following
https://github.com/nsitexe/akaria-bmetal

 

Akaria NS31A on Arty-A7 sample test applicaion (akaria-ns31-arty)
You can download the source codes following
https://github.com/nsitexe/akaria-ns31-arty

 

Getting Started

1. Download each data from the links provided on this site.

2. Write FPGA bitstream in your Arty-A7 Board. refer to "Akaria_NS31A_Arty_bitstream_writing.pdf" in akaria-ns31-arty-fpga.
DIP-SW[3:0]=2'b0101 is recommend setting for first use.

3. Install the toolchain, refer to https://github.com/nsitexe/akaria-riscv-toolchain

4. Build the akaria-bmetal, The command to build runtime for NS31A on Arty-A7 is following
    $ mkdir build
    $ cd build
    $ cmake ../ -G Ninja \
      -DCMAKE_BUILD_TYPE=RelWithDebInfo \
      -DCMAKE_INSTALL_PREFIX=../test/sysroot/ \
      -DARCH=riscv \
      -DCROSS_COMPILE=riscv64-unknown-elf- \
      -DCC=gcc \
      -DDEFCONF=riscv_nsitexe_ns31_arty
    $ ninja
    $ ninja install
* When you occur errors by failing to find commands, try following command
    $ sudo apt install cmake g++ ninja-build doxygen graphviz

5. Put "akaria-ns31-arty" on akaria-bmetal/test/ . change directory to akaria-bmetal/test/akaria-ns31-arty and make. 
refer to https://github.com/nsitexe/akaria-ns31-arty
Following is command to build blink LED sample application.
    $ cd sample_blink_led
    $ make
"sample_blink_led.elf" will be created.

6. Launch openocd
    $ sudo /opt/openocd/bin/openocd -c 'bindto 0.0.0.0' -f /opt/openocd/sample/akaria-ns31-arty-flyswatter2.cfg
* When you occur errors about "libftdi", try following a command
    $ sudo apt install libftdi1

7. Launch gdb
    $ /opt/riscv/riscv64-unknown-elf/bin/riscv64-unknown-elf-gdb  sample_blink_led.elf
    (gdb) target remote localhost:3333
    (gdb) monitor reset halt
    (gdb) load
    (gdb) c