• leftzero@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    13
    ·
    edit-2
    2 days ago

    for those of us not willing to write a fucking CPU

    There’s insane maniacs who’ve written fucking CPUs in CSS, Minecraft, and Conway’s game of life, among many other environments not intended for writing fucking CPUs.

    Can’t some insane maniac simply write a fucking CPU for FPGAs and release it as open source?

    Plenty of insane maniacs have released lots of more useless stuff as open source, why not this?

    (Using insane maniac as a compliment here; the world would be a much more boring and unenjoyable place without insane maniacs willing to waste their time making it a better or at least more interesting place.)

    • ggtdbz@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      5
      ·
      2 days ago

      My fucking CPU comment was not that serious. The projects we were doing were just that. I have a notebook full of diagrams that I understand less and less every year.

      It was just a bit shitty that the CPU part wasn’t included with the chip itself. IIRC the nicer ones had hardware CPUs/CPU cores anyway.

      I meant it more as “hey I need to do this simple task, better write a processor real quick” which is not convenient. I’m almost certain there are dozens of FOSS RISC cores that could be burned to all of Xilinx’s FPGAs. It’s theoretically hardware agnostic but these are super popular parts.

      • white_nrdy@programming.dev
        link
        fedilink
        English
        arrow-up
        1
        ·
        10 hours ago

        There are in fact parts that have CPUs included. However these aren’t always the best route. Sometimes you don’t want a CPU in the design at all, since software is SLOW compared to RTL designs for certain applications (DSP, Data acquisition, etc).

        Xilinx has a number of SOC parts that bundle ARM cores alongside FPGA fabric, and they’re very tightly coupled to make passing data between them very efficient. These include the Zynq and Versal families.

        There are already some open source cores out there, including NEORV32. There are also closed source ones, like Xilinx’s Microblaze IP. Which comes in both ARM32/64 variants, as well as RISC-V now.

      • wonderingwanderer@sopuli.xyz
        link
        fedilink
        English
        arrow-up
        2
        ·
        2 days ago

        The FPGA itself is just the chip. You can find them pre-installed in development boards though, but these are more expensive. But at least they might of a microprocessor if that’s what you want.

        And if you’re fed up with Xilinx, check out Lattice semiconductors. They have a somewhat more open ecosystem

    • MalReynolds@slrpnk.net
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 days ago

      (Using insane maniac as a compliment here; the world would be a much more boring and unenjoyable place without insane maniacs willing to waste their time making it a better or at least more interesting place.)

      Thank you Sir/Maam, a better day was had here due to this…