Giter VIP home page Giter VIP logo

Comments (8)

smunaut avatar smunaut commented on August 23, 2024

Tried reverting to 5e3383c (which is the last commit before the "cleanup") and this works as expected.

So definitely something got broken ...

from litepcie.

smunaut avatar smunaut commented on August 23, 2024

Checked 76c7381ad8d7eab01020fd9bbe0249166535f2a8 and it fails (it's the merge commit of the "cleanup").

I'm looking at the phy req_sink and what's sent seems similar in both cases, but what comes back is not :/

from litepcie.

smunaut avatar smunaut commented on August 23, 2024

dumps.zip

from litepcie.

smunaut avatar smunaut commented on August 23, 2024

For some reason the straddle option is turned on in uspciephy.py and usppciephy.py but the conversion logic doesn't support that mode of operation at all ...

 "AXISTEN_IF_RC_STRADDLE"       : True,

Turning that off fixes my issue.

I'm not sure how it works for anyone with that enabled ...

from litepcie.

smunaut avatar smunaut commented on August 23, 2024

My bad ... this fix is not complete. It's one problem but 526a3d05aafcf8877b7cb9f893de82f3bd85a6e4 also breaks it ...

from litepcie.

smunaut avatar smunaut commented on August 23, 2024

I think that commit hasn't been tested when address_width == 32.
Or when on zynq mp ( device ID == xczu )

from litepcie.

enjoy-digital avatar enjoy-digital commented on August 23, 2024

xczu is maybe missing here:

force_64b = (LiteXContext.platform.device[:4] in ["xcku", "xcvu"]) and (data_width in [256])

from litepcie.

smunaut avatar smunaut commented on August 23, 2024

Yes, it is.

But that alone doesn't solve the problem.
If I set address_width = 64 (and add xczu), then it works.
But in 32 bit mode it doesn't. The address ends up wrong on what's sent to the core ( upper and lower 32 bits are swapped ).

from litepcie.

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.