News for hackers. Stuff that matters.
Re:Pineapple ONE: open-source 32 bit RISC-V CPU that you can... by ReactiveJelly on Monday September 18, 2023 @12:55AM (#37552384)
Yeah that is cool, because I hear that the tooling for FPGAs is still very proprietary. And it doesn't do much good if one's CPU is "Click the CPU button on the FPGA GUI"

EEPROMS, I assume, you can build your own programmer pretty easily?

Re:Pineapple ONE: open-source 32 bit RISC-V CPU that you can... by segfaultbuserr on Monday September 18, 2023 @02:01AM (#37552743)
> EEPROMS, I assume, you can build your own programmer pretty easily?

Programming a EEPROM by bitbanging it from a microcontroller is a basic programming exercise. First, send a special unlock sequence according to the datasheet (usually with a lot of 0x55 0xAA). Next, put all the address bits on the address lines, strobe that in via a control line. Finally, put all the data bits on the data lines, strobe that in via a control line. You only need around 100 lines of code to create a basic programmer (although making a universal one capable of programming all existing models on the market would be non-trivial, as it requires a massive look-up table similar to the one in "flashrom").

Re:Pineapple ONE: open-source 32 bit RISC-V CPU that you can... by RetroTechie on Monday September 18, 2023 @05:27AM (#37554016)
PALs & GALs are also relatively simple components programmable using non-proprietary hw & sw.

There are some FPGA families supported by fully open source toolchain today.

And there's CPLDs, which fall in between complexity wise.

Any of those would offer much shorter propagation delays (read: higher clocks) than EEPROMs.

Re:Pineapple ONE: open-source 32 bit RISC-V CPU that you can... by techdragon on Monday September 18, 2023 @09:42PM (#37564706)
I recently contemplated using a CPLD for a project and discovered that (at least the ones I was able to find suppliers and documentation for) are even less open source friendly than FPGAs are, none of the CPLDs I found seemed to have any open source tooling that I could find.

I would love to be corrected on this because other than proprietary tooling that only supports windows … a CPLD seemed perfect for this project.