Comments (5)
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.
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.
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.
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.
Yes, RSTDAA as broadcast and SETNEWDA both work like intended - Thank you very much!
from i3c-slave-design.
Related Issues (20)
- Are unhandled CCCs passed through to the mr_* bus? HOT 2
- SDA negated prematurely during ACK HOT 2
- Request to have source uploaded as separate files instead of a zip file HOT 6
- Is support for "read current address" missing? HOT 1
- Unsupported syntax in Verilog 2005 HOT 4
- Latches inferred on dma_r[5:4] HOT 2
- MAP_DA_AUTO[12:8] = 0 causes compile error HOT 7
- Push pull and open drain HOT 3
- i2c_spike_ok error HOT 7
- Wrong parameter default MAP_DA_AUTO HOT 2
- Master ACK not detected during adr arbitration HOT 3
- The function of HJ? thank you very much HOT 1
- About REG_RULES[1] bit
- "i3c_time_control" module is missing HOT 3
- GETPID CCC not executed HOT 1
- i3c_autonomous_reg.v HOT 2
- Autonomous slave, IBI, no MDB, ACK pulse handoff HOT 2
- ACK behavior of I3C target before they are configured into I3C mode.
- the difference between PIN_MODEL == `PINM_COMBO and PINM_REG HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from i3c-slave-design.