News for hackers. Stuff that matters.
Re:Pineapple ONE: open-source 32 bit RISC-V CPU that you can... by charcircuit on Sunday September 17, 2023 @04:11PM (#37548862)
>Our goal is to prove that designing a “modern” CPU isn’t that hard

I don't understand what is modern about the CPU that was designed. It looks like a toy CPU that got a marketing campaign made for it.

Re:Pineapple ONE: open-source 32 bit RISC-V CPU that you can... by sethhochberg on Sunday September 17, 2023 @04:40PM (#37549080)
I think it’s fair enough in this case to say “modern” probably means “modern programming languages can compile and run on it”

There’s some question in the comments here about how much of the ISA is actually implemented but it should theoretically be possible to write Rust code and run it on this thing, for example. There are many other toy CPU designs out there which are much more limited in terms of what can compile to run on them.

Re:Pineapple ONE: open-source 32 bit RISC-V CPU that you can... by ninjha on Sunday September 17, 2023 @05:37PM (#37549601)
Architecture-wise, even a regular modern CPU isn't that hard. For example, Berkeley has the BOOMv3 core[0] which is performance-competitive[1] with commercial chips taped out in the last few years. I think commercial chips are faster because of improvements in analog design, and not some super special architecture sauce (although I'm sure there's some special sauce -- it's probably not the defining factor).

[0]: https://boom-core.org

[1]: https://carrv.github.io/2020/papers/CARRV2020_paper_15_Zhao....

Re:Pineapple ONE: open-source 32 bit RISC-V CPU that you can... by msla on Sunday September 17, 2023 @09:19PM (#37551101)
A modern CPU needs two things:

1. Privilege levels with preemption.

2. Hardware support for virtual memory.

At that point, it can run OSes broadly similar to what most people are using in practice.

Re:Pineapple ONE: open-source 32 bit RISC-V CPU that you can... by charcircuit on Sunday September 17, 2023 @09:41PM (#37551241)
I disagree. Modern refers to using the learnings and improvements that have been made over the last few decades of designing CPUs. To me including 2 features doesn't necessarily make a design modern.
Re:Pineapple ONE: open-source 32 bit RISC-V CPU that you can... by msla on Monday September 18, 2023 @11:29AM (#37557554)
My point is to separate the absolute toys (CPUs which are on a level with the 6502) from the somewhat more complicated designs that can be used to demonstrate fundamental concepts beyond just decoding and executing instructions.
Re:Pineapple ONE: open-source 32 bit RISC-V CPU that you can... by Joker_vD on Monday September 18, 2023 @07:10AM (#37554683)
Ah, yes, those two things from the sixties to run that OS from the seventies.
Re:Pineapple ONE: open-source 32 bit RISC-V CPU that you can... by JBiserkov on Sunday September 17, 2023 @09:21PM (#37551117)
They put modern in quotes. What does that tell us?
Re:Pineapple ONE: open-source 32 bit RISC-V CPU that you can... by charcircuit on Sunday September 17, 2023 @09:49PM (#37551274)
That they are building their design using discrete parts which is not a modern way thing to synthesize logic to.
Re:Pineapple ONE: open-source 32 bit RISC-V CPU that you can... by unmole on Monday September 18, 2023 @12:26AM (#37552231)
Right because a RISC-V CPU isn't modern.
Re:Pineapple ONE: open-source 32 bit RISC-V CPU that you can... by charcircuit on Monday September 18, 2023 @05:52AM (#37554164)
You can make an outdated CPU design with any ISA.