GithubHelp home page GithubHelp logo

Comments (5)

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

It looks like I have a merge error in i3c_ccc_slave.v. I will need to update. The logic should look like:
// the ccc_mask is used to stop unhandled CCCs from being send to
// app
generate if (ID_AS_REGS[`IDREGS_CCCMSK_b]) begin : ccc_unhandled
wire base_msk = cf_CccMask[0] & (idata_byte[6:0]<=8'h1F);
wire basebx_msk = cf_CccMask[1] & (idata_byte>=8'h20) & (idata_byte<=8'h48);
wire basedx_msk = cf_CccMask[2] & (idata_byte>=8'hA0) & (idata_byte<=8'hBF);
wire metb_msk = cf_CccMask[3] & (idata_byte>=8'h49) & (idata_byte<=8'h64);
wire metd_msk = cf_CccMask[4] & (idata_byte>=8'hC0) & (idata_byte<=8'hE3);
wire vendb_msk = cf_CccMask[5] & (idata_byte>=8'h65) & (idata_byte<=8'h7F);
wire vendd_msk = cf_CccMask[6] & (idata_byte>=8'hE4) & (idata_byte<=8'hFF);
assign ccc_uh_mask = base_msk | basebx_msk | basedx_msk |
metb_msk | metd_msk | vendb_msk | vendd_msk;
end else begin
assign ccc_uh_mask = 1'b1;
end endgenerate

from i3c-slave-design.

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

I have updated the zip and unzipped copy. This was a merge error. Also, SlvNack updated to not impact 7E (which violates the spec) but still NACKs directed CCCs.

from i3c-slave-design.

sdolezal avatar sdolezal commented on July 28, 2024

ok, great - GETPID is now working with the patched slave. RSTDAA still isn't. It gets ACKed by the slave but no changes of "is_i3c" in engine or "dyn_addr", "i3c_addr" or "dyn_addr_chg" in daa. I'll take a closer look tomorrow - thanks so far!

from i3c-slave-design.

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

Note that RSTDAA as a directed CCC has been deprecated. We only use RSTDAA as a broadcast. A master should only use SETNEWDA if it wants to change the DA of a slave.

from i3c-slave-design.

sdolezal avatar sdolezal commented on July 28, 2024

Yes, RSTDAA as broadcast and SETNEWDA both work like intended - Thank you very much!

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.