Author Topic: RISC-V Development tools  (Read 7882 times)

0 Members and 1 Guest are viewing this topic.

Offline kfnight

  • Regular Contributor
  • *
  • Posts: 71
Re: RISC-V Development tools
« Reply #25 on: December 04, 2017, 04:18:09 pm »
I also don't understand why this metric matters at all. Who cares how many chips are sold.

I would assume Western Digital cares if it saves them millions of dollars in licensing fees.
 

Online ataradov

  • Super Contributor
  • ***
  • Posts: 11260
  • Country: us
    • Personal site
Re: RISC-V Development tools
« Reply #26 on: December 04, 2017, 04:40:09 pm »
I would assume Western Digital cares if it saves them millions of dollars in licensing fees.
Ok, but in this case it appears to be presented as some sort of achievement for the ISA.
Alex
 

Offline brucehoult

  • Super Contributor
  • ***
  • Posts: 4037
  • Country: nz
Re: RISC-V Development tools
« Reply #27 on: December 07, 2017, 07:46:40 pm »
I would assume Western Digital cares if it saves them millions of dollars in licensing fees.
Ok, but in this case it appears to be presented as some sort of achievement for the ISA.

1) someone big decided the ISA is worth using vs ARM and/or x86 (WD uses both in different products)

2) they are going to invest time and money into the software/tool ecosystem too. See the 2nd message in this thread.
 

Offline brucehoult

  • Super Contributor
  • ***
  • Posts: 4037
  • Country: nz
Re: RISC-V Development tools
« Reply #28 on: March 09, 2018, 01:36:24 am »
A little personal news ... I'm putting my RISC-V money where my mouth is and I've joined SiFive and will be moving from Moscow to San Mateo.

On Monday-Wednesday next week I'll be assisting Palmer in running a hackathon at the Embedded Linux Conference in Portland. There are three different categories. The winner of each category will receive a HiFive Unleashed quad core 1.5 GHz board, as well as a cash prize.

We'll be taking 50 boards for people to play with.

I've been playing with them in the office this week. They are very comparable on the integer tasks I've tried to an Odroid C2 (A53) at the same MHz, and definitely faster than Raspberry Pi 3 (also A53).

Of course the boards are selling for a lot more than those A53 boards at the moment, due to newness and low production rate. That will change in time.

https://www.sifive.com/blog/2018/03/03/all-aboard-part-11-risc-v-hackathon-presented-by-sifive/
 

Offline Scrts

  • Frequent Contributor
  • **
  • Posts: 797
  • Country: lt
Re: RISC-V Development tools
« Reply #29 on: March 09, 2018, 02:15:46 pm »
A little personal news ... I'm putting my RISC-V money where my mouth is and I've joined SiFive and will be moving from Moscow to San Mateo.

On Monday-Wednesday next week I'll be assisting Palmer in running a hackathon at the Embedded Linux Conference in Portland. There are three different categories. The winner of each category will receive a HiFive Unleashed quad core 1.5 GHz board, as well as a cash prize.

We'll be taking 50 boards for people to play with.

I've been playing with them in the office this week. They are very comparable on the integer tasks I've tried to an Odroid C2 (A53) at the same MHz, and definitely faster than Raspberry Pi 3 (also A53).

Of course the boards are selling for a lot more than those A53 boards at the moment, due to newness and low production rate. That will change in time.

https://www.sifive.com/blog/2018/03/03/all-aboard-part-11-risc-v-hackathon-presented-by-sifive/

What a move! Good luck!
I am watching RISC-V development very closely :-+
 

Offline kfnight

  • Regular Contributor
  • *
  • Posts: 71
Re: RISC-V Development tools
« Reply #30 on: March 09, 2018, 03:53:46 pm »
I wanted to go for just a day or two to the Embedded Linux conference, but they don't have single day admission.  :(
 

Offline brucehoult

  • Super Contributor
  • ***
  • Posts: 4037
  • Country: nz
Re: RISC-V Development tools
« Reply #31 on: March 09, 2018, 07:44:41 pm »
You could pop into the SiFive hackathon suite, no problem.

Even the showroom floor is probably pretty easy. They usually only check tags for the meals and maybe keynote. If that. Just walk in like you own the place.
 

Offline Boscoe

  • Frequent Contributor
  • **
  • Posts: 276
Re: RISC-V Development tools
« Reply #32 on: March 13, 2018, 01:54:32 pm »
Hi all,

I'm interested in RISC-V as an Altera user there isn't a free softcore in the tools. I like the idea behind RV and it's possibilities.

Now, I downloaded the source for the RISC V from SiFive but have no idea how to integrate it into a project and get it running on an FPGA, is this possible? Are there any guides?

Thanks
 

Offline andersm

  • Super Contributor
  • ***
  • Posts: 1198
  • Country: fi
Re: RISC-V Development tools
« Reply #33 on: March 13, 2018, 03:26:04 pm »
I'm interested in RISC-V as an Altera user there isn't a free softcore in the tools.
The Nios II "economy" core is free (and low-performance), isn't it?

Online ataradov

  • Super Contributor
  • ***
  • Posts: 11260
  • Country: us
    • Personal site
Re: RISC-V Development tools
« Reply #34 on: March 13, 2018, 03:31:05 pm »
Now, I downloaded the source for the RISC V from SiFive but have no idea how to integrate it into a project and get it running on an FPGA, is this possible? Are there any guides?
SiFive core is not really a softcore. It is a real core built to be implemented in silicon.

For simple cores actually designed for FPGAs you need to look at something like PicoRV32 (https://github.com/cliffordwolf/picorv32), or my absolutely drop dead simple implementation (https://github.com/ataradov/riscv), which has projects for MAX 10 FPGAs, but easy enough to port to others.

None of them are going to be in any drag and drop style system builders, since NIOS II is a far better choice for actual work, if you plan to stick with Altera. And that's the whole point of making NIOS II, so that you stick with Altera, so there is not a whole lot of incentive for them to use anything else.
« Last Edit: March 13, 2018, 03:37:13 pm by ataradov »
Alex
 
The following users thanked this post: newbrain

Offline brucehoult

  • Super Contributor
  • ***
  • Posts: 4037
  • Country: nz
Re: RISC-V Development tools
« Reply #35 on: March 14, 2018, 05:18:36 am »
About three times shorter source code than PicoRV32. Under 1000 lines. Nice. Although there are also fewer options.

How many LUTs does it work out to?
 

Online ataradov

  • Super Contributor
  • ***
  • Posts: 11260
  • Country: us
    • Personal site
Re: RISC-V Development tools
« Reply #36 on: March 14, 2018, 05:30:31 am »
Here is a table from my notes, it may be a bit outdated, but the final numbers should be very similar. RVC - compressed ISA support, BS - Barrel Shifter, MUL - single cycle hardware multiplier.

Code: [Select]
Config    |  LE  | REG | MUL |
----------+------+-----+-----+
RVC + BS  | 2256 | 441 |   - |
RVC + MUL | 1807 | 410 |   8 |
RVC       | 1972 | 481 |   - |
BS        | 1970 | 442 |   - |
MUL       | 1511 | 410 |   8 |
-         | 1662 | 481 |   - |
----------+------+-----+-----+

It synthesizes at at least 60 MHz in the slowest grade MAX 10.

« Last Edit: March 14, 2018, 05:33:39 am by ataradov »
Alex
 
The following users thanked this post: newbrain

Offline mac.6

  • Regular Contributor
  • *
  • Posts: 225
  • Country: fr
Re: RISC-V Development tools
« Reply #37 on: March 14, 2018, 01:39:25 pm »
Hi all,

I'm interested in RISC-V as an Altera user there isn't a free softcore in the tools. I like the idea behind RV and it's possibilities.

Now, I downloaded the source for the RISC V from SiFive but have no idea how to integrate it into a project and get it running on an FPGA, is this possible? Are there any guides?

Thanks

You can try VexRisc from SpinalHDL project, bigger than PicoRV32 and other but nicely scalable (and there is a DE2 nano project). There is also microriscy from pulpino project which is a risc-v derivative.
 

Offline ale500

  • Frequent Contributor
  • **
  • Posts: 415
Re: RISC-V Development tools
« Reply #38 on: March 20, 2018, 08:25:39 pm »
Hei Ataradov,

I tried your RISCV, very impressive. I used the gcc I compiled for the PicoRISCV project and had to add an start file with a jump to the entry function. I massaged for a DE10-Lite board, very nice.

Thanks for sharing !
 

Offline ehughes

  • Frequent Contributor
  • **
  • Posts: 409
  • Country: us
Re: RISC-V Development tools
« Reply #39 on: March 20, 2018, 10:20:30 pm »
Segger offers a commercially supported pckage for RISC V with Embedded Studio.    There debugger is top notch so I would expect it to be a good tool.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf