News for hackers. Stuff that matters.
Re:Verilog sources for Western Digital's open source RISC-V ... by eternal_virgin on Saturday January 26, 2019 @09:41PM (#19010078)
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?
Re:Verilog sources for Western Digital's open source RISC-V ... by TomVDB on Saturday January 26, 2019 @11:08PM (#19010303)
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.

Re:Verilog sources for Western Digital's open source RISC-V ... by eternal_virgin on Saturday January 26, 2019 @11:21PM (#19010328)
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!
Re:Verilog sources for Western Digital's open source RISC-V ... by TomVDB on Sunday January 27, 2019 @01:41AM (#19010627)
Buy yourself a TinyFPGA BX.

It’s a small (tiny!) FPGA board that’s still large enough to run a RISC-V CPU. It’s a full open source flow. And there are plenty of examples.

Get that first LED blinking!

Re:Verilog sources for Western Digital's open source RISC-V ... by dancek on Sunday January 27, 2019 @02:52AM (#19010788)
Or an UPduino which is still cheaper. I've had good experiences with one, though I'm only at the "PWM-animated LED" stage right now.

Oh, and https://www.nand2tetris.org is great. You implement a simple CPU, and though the language isn't a real-world one you learn enough to probably be able to implement a similar CPU on an FPGA using VHDL or Verilog.

Re:Verilog sources for Western Digital's open source RISC-V ... by eBombzor on Saturday January 26, 2019 @09:54PM (#19010109)
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.

Re:Verilog sources for Western Digital's open source RISC-V ... by sitkack on Sunday January 27, 2019 @12:40AM (#19010490)
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/

Re:Verilog sources for Western Digital's open source RISC-V ... by eBombzor on Sunday January 27, 2019 @12:56AM (#19010531)
Yup I'm an idiot but I can't seem to delete or edit my original submission :c

Thank you for the information.

Re:Verilog sources for Western Digital's open source RISC-V ... by sitkack on Sunday January 27, 2019 @02:54AM (#19010796)
Ur good. Chisel.
Re:Verilog sources for Western Digital's open source RISC-V ... by dooglius on Saturday January 26, 2019 @09:58PM (#19010115)
> Since RISC-V uses Chisel instead of Verilog

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

Re:Verilog sources for Western Digital's open source RISC-V ... by mepian on Saturday January 26, 2019 @10:06PM (#19010135)
I presume the parent generalized their experience with the BOOM and Rocket implementations of RISC-V, which do use Chisel, to the entire architecture.
Re:Verilog sources for Western Digital's open source RISC-V ... by eBombzor on Saturday January 26, 2019 @11:59PM (#19010409)
Sorry I am an idiot how do I edit/delete my comment so I can erase this misinformation?
Re:Verilog sources for Western Digital's open source RISC-V ... by yjftsjthsd-h on Sunday January 27, 2019 @12:04PM (#19012555)
Unfortunately, if you don't see an edit button on the comment then you can't edit it anymore. But props for admitting you're wrong and trying to correct it :-)
Re:Verilog sources for Western Digital's open source RISC-V ... by chrisseaton on Saturday January 26, 2019 @10:21PM (#19010183)
> Since RISC-V uses Chisel instead of Verilog

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