Comments (7)
from i3c-slave-design.
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:
- To prevent the out of bound error, MAP_CNT and PID_CNT both have to be non-zero.
- PID_CNT is set to MAP_DA_AUTO[12:8] which thus has to be non-zero.
- MAP_DA_AUTO being non-zero forces ENA_MAPPED[0] to be 1 according to the line above.
- 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.
from i3c-slave-design.
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.
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.
from i3c-slave-design.
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)
- 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
- 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
- CCCs are not being executed HOT 5
- 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.