Coder Social home page Coder Social logo

Comments (3)

andreiw avatar andreiw commented on June 11, 2024

A TLP fragment will have a status field like 0xeffff400 or 0xe000040.

A read from FPGA_REG_CORE will have a status like 0xeffffff3. So that 3 works, I suppose. And 1 signals for a FPGA_REG_PCIE. Am I on the right path? But what prevents replies from mixing with TLP receiving?

from pcileech-fpga.

ufrisk avatar ufrisk commented on June 11, 2024

The LeechCore protocol is 8 DWORDs long. 1 status DWORD and 7 data DWORDS.
the 4 hi-bits are set to 'E'
then there are 4 status bits for each data DWORD. The two high-bits are context dependent, the low two bits tell which type of data there is:
00 = TLP
01 = PCIe CFG
10 = Loopback
11 = Internal CFG

I hope this explains it a bit, and best wishes with your project!

from pcileech-fpga.

andreiw avatar andreiw commented on June 11, 2024

Thanks a lot!

from pcileech-fpga.

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.