Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. OpenAI GPT–6 Astra breaks Enigma message that has resisted solution since 2005(cryptocellar.org)
    269comments
  2. Claude Opus 5.5(anthropic.com)
    194comments
  3. OpenAI is well positioned to fast-follow Jev(arcturus-labs.com)
    96comments
  4. 16-bit Intel 8088 chip(allpoetry.com)
    2comments
  5. Aging may be a program, not a breakdown(quantamagazine.org)
    discuss
  6. Writing Rust code that's fast by asking agents to make the code faster(minimaxir.com)
    14comments
  7. A WordPress vulnerability scored 9.2/10 is present in all versions since 2016(github.com/wordpress)
    2comments
  8. Apple has added persistent 'ads' to iOS, and it's driving users crazy(techradar.com)
    237comments
  9. Show HN: Drop – A rootless Linux sandbox with gVisor support(droprun.sh)
    27comments
  10. Show HN: AI·rete·RAG – a Rete rule engine decides, RAG explains why(ai-rete-rag.com)
    discuss
  11. Solitaire Alone Together(solitairealonetogether.com)
    11comments
  12. Can gzip be a language model?(nathan.rs)
    120comments
  13. MiMo v2.6(xiaomi.com)
    460comments
  14. Show HN: InstinctFlash – Run 5B world-action models in real time on Jetson Thor(github.com/general-instinct)
    discuss
  15. Spymarks, not Watermarks(brand.io)
    154comments
  16. I asked Meta’s Muse for its filesystem and it sent me 6.8GB(mouse.dev)
    83comments
  17. Meta’s Muse has a serious 0-day(arstechnica.com)
    28comments
  18. Xbox continues its “reset” with dramatic restructuring(arstechnica.com)
    12comments
  19. Vacate a drone restriction that criminalized recording immigration agents(eff.org)
    7comments
  20. MUNI Heritage Weekend in San Francisco(lawrence.lu)
    17comments
  21. Teleoperated Humans(jefftk.com)
    28comments
  22. The Economics of Open-Weight Inference(ornn.com)
    6comments
  23. Relativistic Raytracing(publish.obsidian.md)
    discuss
  24. Transformers Explained Visually(poloclub.github.io)
    84comments
  25. What Sun got wrong(dtrace.org)
    380comments
  26. I said no and Apple said yes(dbushell.com)
    516comments
  27. AMD's random number generator can't generate a 0?(flatassembler.net)
    148comments
  28. I don't want to read what you didn't write(colinbreck.com)
    387comments
  29. MiMo-v2.6-Pro: Intelligence, Performance and Price Analysis(artificialanalysis.ai)
    60comments
  30. Americans' Drinking Remains at Record Low: Gallup Poll(gallup.com)
    7comments

Create Your Own CPU on an FPGA

118 pointsby 11y agoembeddedmicro.com
20 comments
11y agoHN ↗

... using the "Lucid" HDL, which at first glance seems like a de-crufted Verilog.

11y agoHN ↗

Both of these are excellent projects to check out if you're interested in such things. And, bonus, the RISC-V folks have produced an open source, modern manufacturing process, 1GHz core that I hope is a game changer in open source hardware. It's not quite on par with ARM (lacking the billions in investment), but it's in the ballpark and it's the real deal. Definitely worth keeping up with.

11y agoHN ↗

Every Computer Engineering undergrad is rejoicing somebody just did their project for them.

11y agoHN ↗

This is not written in Verilog/VHDL. I doubt they will be able to pass this off as their own work.

11y agoHN ↗

I'll just leave this here: https://github.com/zeusk/CS242

I did this during my sophomore year, didn't care much about implementing a proper memory implementation as that was way beyond the scope of our course.

11y agoHN ↗

Does anyone have knowledge about the comparison of different FPGA boards?

I've seen the Mojo v3 from Embedded Micro, the Papilio line of dev boards, and the miniSpartan6+ from Scarab Hardware.

It looks like all these dev boards are pretty similar since they use almost identical xilinx chips. Ideally, I'd like to find a board for which there is a robust community, good support, lots of examples, and has enough capacity/performance to take on more complicated projects with increased learning/skill.

I'm leaning towards the Mojo v3 board, since it seems very easy and has shields to expand capability, but does anyone have any experience, recommendations, or "I wish I had known..." stories for FPGA development?

11y agoHN ↗

Basically, go with the market leaders, either altera or xilinx.

Altera DE brand is used in universities all over the world and they have their alteraforum (which is really old fashioned but does the job).

I would go with a DE2 or something like that. (Which has a Cyclone IV)

11y agoHN ↗

almost 10 years ago i wrote vhdl code on spartan series cards, and that time i noticed that Xilinx IDE was really far from Visual Studio. hope things have changed since then. So my suggestion is to check development tools as well, if you dont need the "best" board just, but also the ease of development

11y agoHN ↗

The Spartan series and Xilinx ISE are dead now. The new future is Vivado and 7 series FPGAs. I guess Vivado is better in some ways but it's integration with version control software is pathetic.

11y agoHN ↗

I like the Avnet MicroZed which is built around a Xilinx Zynq. The Zynq is a latest generation FPGA and dual core ARM on a chip. There's a decent community and all the development tools are free.

11y agoHN ↗

No discussion of CPU design is complete without trying to run your design as fast as possible. That's how people discovered that pipelining is good, and a flat implementation (such as the one in that code) is slow.

11y agoHN ↗

There is a trade-off between performance and area. Pipelined designs are bigger (not least because of all that pipeline registers).

11y agoHN ↗

Very good point. This is even more critical in a FPGA as you are working with a fairly constrained resource.

There were a number of people in my first hardware design course that had a great idea right up until they found it didn't fit on the xilinks chips we had in the lab.

11y agoHN ↗

From the proposed flat design, adding pipelining would probably add 10-20% more area, and double or triple the speed. Definitely worth exploring (and would indeed make for a great follow-up post).

11y agoHN ↗

Only if it's a 3-stage pipeline without a hazard detection. Otherwise the area would at least double. But, yes, I'd also like to see a pipelined core in this new HDL.

11y agoHN ↗

Don't forget simplicity - their goal is learning by creating a "super basic CPU" for which you can write "some assembly". Including pipelining in this design would distract from the main purpose.

It would make a nice topic for a follow-up tutorial though.

11y agoHN ↗

Does anyone have any tips on determining if a given CPU core will fit onto a given FPGA? Most of the boards in the hobbyist price range seem kinda ... underwhelming.

11y agoHN ↗

You can just download the CAD free version (Quartus II or ISE) and compile it for a target FPGA board.