What does HackerNews think of microwatt?

A tiny Open POWER ISA softcore written in VHDL 2008

Language: Verilog

I have several OpenPOWER systems, including the POWER9 I use as my usual desktop. Besides IBM and other server manufacturers like Tyan and Wistron, you can get them as Raptor workstations and servers.

If you want an OpenPOWER design to play with, look at Microwatt ( https://github.com/antonblanchard/microwatt ) which is complete enough to boot Linux.

The ISA is open and royalty free.

There are at least three open cores, all IBM funded or designed:

https://github.com/antonblanchard/microwatt https://github.com/openpower-cores/a2o https://github.com/openpower-cores/a2i

The last two are older but they work. Microwatt is developing by leaps and bounds.

At the other end of the scale, if anyone wants to play you can run a little openpower CPU on an FPGA with completely open source. https://github.com/antonblanchard/microwatt

It's capable of running Linux, some example docs are https://shenki.github.io/boot-linux-on-microwatt/ The toolchain consists of "apt install gcc-powerpc64le-linux-gnu" on Debian, no funny downloads. And if you want to target a Lattice ECP5 board even the FPGA tools are also all open, thanks to Yosys and friends.

All the openpower ISA spec PDFs are available for perusing on the openpower site.

What is the intended usage for that? As in used in Consumer PC ?

Would microWatts [1] fit that purpose? Not only do you have an Open ISA as in OpenPower, you also have an Open implementation of that ISA. AFAIK RISC-V doesn't have anything similar, only open source design in embedded usage.

Otherwise a low cost POWER10 ( or now Power10 without the capital... and I hate it ) wont make much sense. You are talking about ~30mm2+ per core design. It is huge.

[1] https://github.com/antonblanchard/microwatt

Down thread folks were asking to run BeOS binaries on it, sounds like a great opportunity for a couple fun hacks.

* ppc -> risc-v binary translator, much more tractable with fixed width 32 bit instructions

* running this on an FPGA that already includes a RISC-V core like PolarFire and then instantiate a softcore PPC. hack Haiku to run the PPC processes on that core. Extra bonus points to dynamically instantiate PPC cores to meet load, make fast ones, wide ones, slow ones.

What a time to be alive!

https://github.com/antonblanchard/microwatt

You could even build your own Power ISA system with Microwatt, which is fully synthesizeable and growing by leaps and bounds.

https://github.com/antonblanchard/microwatt

(Disclaimer: minor contributor)

I really liked PA-RISC. I thought it was a clean ISA with good performance at the time and avoided many of the pitfalls of other implementations. I think HP didn't want to pour lots of money into it to keep it competitive, though, and was happy to bail out for Itanium when it was viable. My big C8000 is a power hungry titan, makes the Quad G5 seem thrifty.

You might be interested in what Anton Blanchard has been up to with the power ISA soft cores, it seems like his work has spanned the bulk of the FPGA toolkits, and I think his latest is taped out for the SKY130 run. His work is also being adapted for an openBMC replacement, which would offer an opportunity to dust off some old Xzibit templates, so thats good.

https://github.com/antonblanchard/microwatt

https://github.com/antonblanchard/chiselwatt

https://www.efabless.com/projects/29

https://gitlab.raptorengineering.com/kestrel-collaboration/k...

>Power/PowerPC is still out there somewhere though.

https://openpowerfoundation.org

https://github.com/antonblanchard/microwatt

Unfortunately it isn't gaining any traction. From a Long term Cost perspective it is actually cheaper choosing ARM even if OpenPOWER is free. And ARM is already inexpensive.

The author has been writing about RISC-V with relation to Apple M1 and basically fanboying about it. It is basically the same as some guy coming in and say Rust will overtake C and C++.

And yet the article got interest, since it align with the general public and main stream media view of RSIC-V being the rising star. It is free. It must be better. etc.

I could have repeat most of his point with OpenPOWER. ( microWatts [1] ) And for many application there are lot of reason why OpenPOWER are much better than RISC-V. ( Rather unfortunate IBM is loathed by lots of people in the industry )

[1] https://github.com/antonblanchard/microwatt

Or similar from OpenPOWER, I thought people might be interested.

https://github.com/antonblanchard/microwatt

I wish I could upvote your comment a thousand times!

Thoughts on OpenPOWER vs ARM v8.2 in terms of ISA?

And for those who may be interested in OpenPOWER, https://github.com/antonblanchard/microwatt

Do you specifically mean PowerPC and not the POWER ISA?

If not, there's at least https://github.com/antonblanchard/microwatt

And the most powerful POWER system you can buy would be something based on the POWER9 processor.

https://github.com/antonblanchard/microwatt

Although I guess it is less relevant now Western Digital has open sourced their RISC-V design as well.

https://github.com/westerndigitalcorporation/swerv_eh1

Microwatt is the first fully open POWER core:

https://github.com/antonblanchard/microwatt

It's also structured very well, quite clean for learning purposes etc. The current goal so far as I know is to perfect this core, and fork for a more complex / powerful variant. Maybe by the time that's done, the open FPGA tooling will have caught up enough to be able to run a usefully fast (~200MHz) POWER soft core, all in FPGA logic...

I'd strongly prefer a ppc64 core over a RISC-V core for one simple reason: we have a wide deployed base of very powerful ppc64 machines, and not having to keep cross compilers and related environments around is a massive streamlining step that we don't even know the full effects of yet (it hasn't been legal until now to have the SoC under development running the same architecture as the high end workstations and servers used to develop [for] it). The demo of using mainline GCC on a POWER box to build a binary for the Microwatt (that would also run on the host with KVM, if desired, for fast trace and debug) was most impressive.

https://github.com/antonblanchard/microwatt

Written initially by a Distinguished Engineer at IBM and sponsored by IBM, this was released when the announcement was made at the OpenPOWER Summit.

Hiding in the details of your comment and partially in reply to the parent...

You can't fab the same POWER9 that ships from IBM, but like you implied, someone could (eventually) fab a POWER9 CPU built on an open-source core.

The microwatt project [0] was demoed at the OpenPOWER Summit and is an open-source softcore. I'm very interested in watching to see what happens with this project and how much of the ISA they end up implementing. They've run a subset of micropython [1] on it and apparently gotten a few FPGAs working. The Summit talk [2] mentioned DRAM support and Linux support potentially being on the roadmap.

[0]: https://github.com/antonblanchard/microwatt

[1]: https://github.com/mikey/micropython/commits/powerpc

[2]: https://www.youtube.com/watch?v=nvMiSNWEmYM&t=1h13m20s

The toy soft-core VHDL model that is referred to there will be available at https://github.com/antonblanchard/microwatt at some point in the next couple of days.