Giter VIP home page Giter VIP logo

Comments (2)

tcal-x avatar tcal-x commented on June 11, 2024

NOTICE: DUE TO PERSONNEL CHANGES AT GOOGLE, THIS PROJECT IS NOT CURRENTLY MAINTAINED.

Hi @SHIBSIE , you have done nothing wrong. It has to do with the fact that the Basys3 board has no extra external memory (in comparison, Digilent's Arty board has a large external memory). As a consequence, the Litex-boards target file for Basys3 doesn't declare a "main_ram" memory region. This is what causes the error that you see.

Aside: This used to be the case also for the Kosagi Fomu board. It has a large (128kB) on-FPGA RAM, but it used to be a single sram region. We handled that by modifying the linker script to put all of the sections that typically go into main_ram into sram. (When Litex-boards made a change that split the 128kB into 64kB sram and 64kB main_ram, we had to do another hack to shift all of the memory back into the sram region: https://github.com/google/CFU-Playground/blob/main/soc/board_specific_workflows/ice40up5k.py#L74-L77).

Back to the Basys3. I guess we never attempted putting CFU Playground on it. The first question is, can we build an on-FPGA RAM large enough for our needs. For the no-tflm project, I would guess that the answer is yes. Then, we'd need to make a custom linker.ld script for the basys3.

I think I remember (this was a long time ago when I looked at it) that on Basys3, the FPGA could not access the flash -- the flash could only be used to hold the bitstream to configure the FPGA, but not as extra storage that the FPGA could access. This is unfortunate since it means we need to put even code and read-only data into our limited on-FPGA RAM. I think that is why I gave up on trying to use Basys3.

I'll try to find time to dig out my Basys3 board in the next few days, but I cannot promise anything.

from cfu-playground.

SHIBSIE avatar SHIBSIE commented on June 11, 2024

Hello, Thank you for your quick response. I get what the problem is, I was just using the basys3 board becuase I had it on hand and wanted to test out if everything was working fine, but for my project I will be using a bigger board.

Do you have any idea if the ZedBoard would work alright? Thank you for your response and time.

from cfu-playground.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.