Recent

Author Topic: What is the current status of Risc-V Target?  (Read 441 times)

MiR

  • Jr. Member
  • **
  • Posts: 80
What is the current status of Risc-V Target?
« on: November 02, 2019, 03:09:34 pm »
I just received a few cheap Risc-V boards from China:

https://www.seeedstudio.com/Sipeed-Longan-Nano-RISC-V-GD32VF103CBT6-Development-Board-p-4205.html

https://www.seeedstudio.com/Sipeed-Maixduino-for-RISC-V-AI-IoT-p-4046.html

does anybody know what the status of the Risc-V Target is?

It looks like on the extra branch for this there was no activity for nearly a year. Is the target already useable?

MiR

marcov

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 7801
Re: What is the current status of Risc-V Target?
« Reply #1 on: November 02, 2019, 03:16:35 pm »
The riscv branch was merged into trunk on sept 28th, 2018. So that branch is now stale.

I don't know what the exact status of the risc port is.

MiR

  • Jr. Member
  • **
  • Posts: 80
Re: What is the current status of Risc-V Target?
« Reply #2 on: November 02, 2019, 03:19:43 pm »
Good to know, I just followed the documentation in the wiki and that still points to the extra branch(es)

Laksen

  • Hero Member
  • *****
  • Posts: 637
    • J-Software
Re: What is the current status of Risc-V Target?
« Reply #3 on: November 02, 2019, 03:21:55 pm »
I would consider the RISC-V 64 bit target in trunk basically working. It's not tested nightly due to lack of hardware.

RISC-V 32 bit is not tested and cleaned up, but might work. Once hardware, like the Sipeed stuff, starts becoming available it will get worked on :)

MiR

  • Jr. Member
  • **
  • Posts: 80
Re: What is the current status of Risc-V Target?
« Reply #4 on: November 02, 2019, 03:24:06 pm »
Sounds good, I will give the 64bits version a try....

MiR

_Bernd

  • New Member
  • *
  • Posts: 16
Re: What is the current status of Risc-V Target?
« Reply #5 on: December 28, 2019, 01:55:33 am »
I am testing RISC-V 32 embedded with PicoRV32 in a FPGA. Basic stuff seems to work. Nice :-)

Regards, Bernd.

PascalDragon

  • Hero Member
  • *****
  • Posts: 852
  • Compiler Developer
Re: What is the current status of Risc-V Target?
« Reply #6 on: December 28, 2019, 09:19:07 am »
I am testing RISC-V 32 embedded with PicoRV32 in a FPGA. Basic stuff seems to work. Nice :-)
If you discover problems, don't hesitate to report them, cause while I got riscv64-linux working, riscv32-linux aborts with a segmentation fault when initializing the standard input/output, so there is probably still some problem with code generation (if I had to guess I'd say parameter passing with var parameters as it fails in Assign when accesing the file record).

MiR

  • Jr. Member
  • **
  • Posts: 80
Re: What is the current status of Risc-V Target?
« Reply #7 on: December 28, 2019, 09:29:18 am »
I also started work, implemented controller units for the logan nano and the hifive rev b board. i have yet to understand how interrupts work on those chips.....