Giter Site home page Giter Site logo

Comments (8)

jerryz123 avatar jerryz123 commented on June 19, 2024

This is a very old Chipyard (1.5.0), and our ability to support it is limited. Can you try again with the most recent version?

from chipyard.

ashutgupta28 avatar ashutgupta28 commented on June 19, 2024

@jerryz123
I am using chipard version 1.9.1

from chipyard.

jerryz123 avatar jerryz123 commented on June 19, 2024

Did you add ZCU102 support to your own branch? I don't believe the upstream has that board supported.

from chipyard.

ashutgupta28 avatar ashutgupta28 commented on June 19, 2024

@jerryz123
Yes. I have add ZCU102 supported files. I have also tested Rocket Core in FPGA and it is working also .
The command I am using to rocket core on FPGA is make SUB_PROEJECT=zcu102 verilog and it is working.
Similarly I have tested different configuration.

But in Tiny core even the default configuration is not working . Here I am giving make SUB_PROEJECT=zcu102 CONFIG=TInyRocketConfig verilog but it is giving me error. I am not able to find out what is the error .

from chipyard.

jerryz123 avatar jerryz123 commented on June 19, 2024

It is difficult for others to help you without being able to see what you implemented.
[error] at chipyard.fpga.zcu102.ZCU102FPGATestHarness.<init>(TestHarness.scala:84) suggests that line 84 in a TestHarness.scala you implemented is the source of the problem.

from chipyard.

ashutgupta28 avatar ashutgupta28 commented on June 19, 2024

But if this would be the case, then my different configuration is working ? Not only this I changed configuration from big core to Medium core , thats also working.
Only it is getting problem while running in Tiny Core.

I found somewhere that Rocket TinyCore uses a default scratchpad instead of a backing memory. This scratchpad 0x80000000 to 0x80003fff is overlapping with the memport's address range and I have remove the backing memory and L2 cache as well. like

class TinyRocketConfig extends Config(
  new chipyard.config.WithTLSerialLocation(
    freechips.rocketchip.subsystem.FBUS,
    freechips.rocketchip.subsystem.PBUS) ++                          // attach TL serial adapter to f/p busses
  new freechips.rocketchip.subsystem.WithIncoherentBusTopology ++    // use incoherent bus topology
  new freechips.rocketchip.subsystem.WithNBanks(0) ++                // remove L2$
  new freechips.rocketchip.subsystem.WithNoMemPort ++                // remove backing memory
  new freechips.rocketchip.subsystem.With1TinyCore ++                // single tiny rocket-core
  new chipyard.config.AbstractConfig)

But still not able to figure out what is the issue.
Note :
My design is compiling using verilator.

from chipyard.

T-K-233 avatar T-K-233 commented on June 19, 2024

I have run into similar issue when building for Arty FPGA designs.

I think TinyCore requires a vastly different configuration for the memory system compared to other Core Configs. If the resource is limited, could you try use the SmallCore?

class XXXConfig extends Config(
  ...
  new freechips.rocketchip.subsystem.WithNSmallCores(1)
  ...
)

It's still larger than TinyCore, but it shares the same system configuration as Medium and Big.

Hope this is helpful.

from chipyard.

lyxxcz avatar lyxxcz commented on June 19, 2024

Hello,I have a Xilinx ZCU102 and want to run the Rocket Core on it ,but don't know how to support it,can you tell me how you did it? Thank you.

from chipyard.

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.