GithubHelp home page GithubHelp logo

Comments (7)

pkimelman-nxp avatar pkimelman-nxp commented on July 28, 2024

from i3c-slave-design.

rosholm avatar rosholm commented on July 28, 2024

Thank you for the fast reply.

However, your suggestion will make bad_map trigger an error due to (~ENA_MAPPED[0]&|MAP_DA_AUTO) resolving to 1 (line 1275 in i3c_full_wrapper.v).

That's why we came up with the solution in my original post:

  1. To prevent the out of bound error, MAP_CNT and PID_CNT both have to be non-zero.
  2. PID_CNT is set to MAP_DA_AUTO[12:8] which thus has to be non-zero.
  3. MAP_DA_AUTO being non-zero forces ENA_MAPPED[0] to be 1 according to the line above.
  4. MAP_DA_AUTO[12:8] being non-zero forces MAP_DA_AUTO[2] to be 1 according to line 1278 in i3c_full_wrapper.v: (~MAP_DA_AUTO[2]&|MAP_DA_AUTO[12:6])

BR
/Anders

from i3c-slave-design.

pkimelman-nxp avatar pkimelman-nxp commented on July 28, 2024

from i3c-slave-design.

pkimelman-nxp avatar pkimelman-nxp commented on July 28, 2024

I have updated to branch-tag 1.1.11.a.1.0 which has just minor corrections - no change in logic. This includes fixing the defaults for unused MAP_DA_AUTO to avoid the warnings from tools. It also has the free version cut lines inside the if() of generate so no warnings. The micro-arch spec is now the integration guide with a checklist for back-end.
If you have any problems, let me know. Since very minor changes, this was not run through the test system.
One final note: because every file shows its version tag, GitHub will say I changed every file.

from i3c-slave-design.

rosholm avatar rosholm commented on July 28, 2024

The new code has syntax error in i3c_full_wrapper.v line 1294:
(|ENA_HDR) || (|ENA_TIMEC));
there is one end parenthesis too many.

Also, there still is an issue with the suggested/default configuration of ENA_MAPPED and MAP_DA_AUTO. The two expressions below (line 1278 and 1280) both evaluated to 1:

                   (~ENA_MAPPED[0]&|MAP_DA_AUTO) ||

and
(~MAP_DA_AUTO[2]&|MAP_DA_AUTO[12:7]) ||

BR
/Anders

from i3c-slave-design.

pkimelman-nxp avatar pkimelman-nxp commented on July 28, 2024

from i3c-slave-design.

pkimelman-nxp avatar pkimelman-nxp commented on July 28, 2024

Update checked in. Note that previous one had tag number backwards. Should be 1.1.11.a.0.1 and not 1.0. So, fixed that as well (matches source control, so can be pulled easily). The change applied only was the 3 assertions. The 12:9 vector allows "1" in the bottom bit of the PID width.

from i3c-slave-design.

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.