Tang Nano 9K Simple PicoRV32-based SoC on FPGA

Sdílet
Vložit
  • čas přidán 12. 09. 2024

Komentáře • 10

  • @alecsei393ify
    @alecsei393ify Před 3 měsíci +1

    AWESOME!!! Content... i will try to build that on my Tang Nano 25K... thank you so much!!!

    • @electronics.tinker
      @electronics.tinker  Před 3 měsíci +1

      Thank you for this kind comment. Good luck with the 25K.

    • @stevetodd7383
      @stevetodd7383 Před 3 měsíci

      Nano 25K? Did you mean the Primer 25K? As far as I know the Nano range stops at 20K

    • @Mr_ASIC
      @Mr_ASIC Před 2 měsíci

      @@stevetodd7383 stops at 135K with hard riscv64

    • @stevetodd7383
      @stevetodd7383 Před 2 měsíci

      @@Mr_ASIC no, that’s the Tang Mega, and AFIK the version of the FPGA that Sipeed actually ships (as opposed to what they advertised), doesn’t actually have a RiSC-V core. It’s also MUCH more expensive than the Nano line (think roughly $200 vs 20 for a Nano.

  • @stevetodd7383
    @stevetodd7383 Před 3 měsíci +1

    Xilinx (and Intel/Altera) FPGAs have moved to using 6 input LUTs, so they can do more per LUT compared to the 4 input models used by the GOWIN. Because of that the numbers aren’t strictly comparable.
    Even given the above, a full fat version of the PicoRISC should fit in the 9K you have available. A little light cheating (e.g. using the DSP blocks for hardware multiplication) can cut usage down, and you can hook up the 8MB of onboard PSRAM rather than using the limited BRAM available.

    • @electronics.tinker
      @electronics.tinker  Před 3 měsíci +1

      The litex project proves what you say about doing more on even the Tang Nano 9K. It's easy to get it to spit out a much more complete and capable SoC than mine-- including the PSRAM. But if you want to add to it, you have to understand and buy into Litex's tools and methods. For me it's too much abstraction while I am still getting experience with FPGAs. Thanks for your comments.

    • @stevetodd7383
      @stevetodd7383 Před 3 měsíci +1

      LiteX automates the process of creating an in-FPGA SoC design, letting you create full systems. The Nano 9K is in its supported boards list, but that doesn’t mean you can build a fully spec’d system on one.
      There is nothing wrong with wanting to do your own thing, and the suggestions were there as things you could do to enhance it. You might want to think about how you could support uploading arbitrary code to it at runtime for example.

  • @user-ic8ne5is9e
    @user-ic8ne5is9e Před 23 dny

    Hello. Have you tried synthesizing a PicoRV32 microprocessor on a TangNano-20K board according to the Gowin PicoRV32 Quick Design manual
    Reference Manual IPUG915-1.3 with downloading the program from SPI-Flash?

    • @electronics.tinker
      @electronics.tinker  Před 23 dny +2

      No. I looked at it but decided that using the picorv32 direct from its author's git (github.com/YosysHQ/picorv32) was so much more transparent. It works the same way on the Tang Nano 20K. See my video on PicoRV32 interrupts. The github for it supports both the 9K and the 20K. Best wishes.