top | item 19010078

(no title)

eternal_virgin | 7 years ago

I've been meaning to get started with RISC-V for some time now but can't find much on it for total beginners online. Can anyone recommend a starting point for a total noob?

discuss

order

TomVDB|7 years ago

What do you want to do with it?

“Starting” is a bit ambiguous.

But I suggest that you first simple read the ISA specification. It’s surprisingly readable and if contains justifications for some design decisions.

After that, buy a small FPGA board and run a picorv32 CPU in it. Or one of the many other RISC-V soft cores.

eternal_virgin|7 years ago

Ah, I'm mostly hoping to learn how it works and what I can do with it. Trying to find a hardware-based pet project!

eBombzor|7 years ago

Since RISC-V uses Chisel instead of Verilog, you will probably need this first: https://github.com/freechipsproject/chisel-bootcamp

For actually learning RISC-V, you can check out these books: https://riscv.org/risc-v-books/

The Patterson and Hennessy book is a great starting point and the RISC-V reader is great reference.

sitkack|7 years ago

The error is understandable, the main prototype RISC-V core is written in Chisel and the "Rocket Core Generator" is written in Chisel. The RISC-V team at Berkeley has a lot of overlap with the Chisel team. So it is easy to think RISC-V is all Chisel. I believe Chisel, Chisel, RISC-V, Chisel, if that makes any sense.

https://riscv.org/wp-content/uploads/2015/01/riscv-rocket-ch...

https://github.com/freechipsproject/rocket-chip (parametric SoC generator, Chisel)

https://github.com/ucb-bar/riscv-sodor (Chisel)

https://chisel.eecs.berkeley.edu/

dooglius|7 years ago

> Since RISC-V uses Chisel instead of Verilog

What do you mean? The core here is entirely Verilog/SystemVerilog

chrisseaton|7 years ago

> Since RISC-V uses Chisel instead of Verilog

How can an ISA ‘use Chisel’? It’s a spec not an implementation.