Skip to content

Add missing resets to FFs - #127

Closed
clayton8 wants to merge 35 commits into
chipsalliance:v1p5from
clayton8:v1p5-add-missing-resets
Closed

clayton8 wants to merge 35 commits into
chipsalliance:v1p5from
clayton8:v1p5-add-missing-resets

Conversation

@clayton8

@clayton8 clayton8 commented Feb 3, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

- Add new RI test that does complext reads and writes
- Add new capabilities to COCOCTB source repo for start/stop capabilities
1. Merge 3 FSMs into one
2. Fix many issues reguarding B2B transactions with Sr
3. Properly handle protocol errors
4. Add RI error interrupt controls
[884]     W425                          N.A                 error     i3c-core/src/ctrl/bus_tx_flow.sv                                                           68    5    Function uses a global variable: data
[885]     W425                          N.A                 error     i3c-core/src/ctrl/bus_tx_flow.sv                                                           69    5    Function uses a global variable: tx_req_i.req_bit
[882]     W121                          N.A                 error     i3c-core/src/ctrl/bus_tx_flow.sv                                                           65    5    Name 'req_value_d' is not unique - may shadow another variable(Previously used at line no. 46 in i3c-core/src/ctrl/bus_tx_flow.sv)
[883]     W121                          N.A                 error     i3c-core/src/ctrl/bus_tx_flow.sv                                                           66    5    Name 'bit_counter_en' is not unique - may shadow another variable(Previously used at line no. 41 in i3c-core/src/ctrl/bus_tx_flow.sv)
- RI detects and reports INDIRECT_FIFO overflow error
- RI detects and reports RX_FIFO overflow error
- RI detects and reports invalid write length to CSR
HDR was not exiting properly due to us not validating the address
with an addr_valid signal. Also the addr_valid signal wasn't getting
cleared properly from a stop or entering HDR mode.

RI now properly handles HDR mode + invalid command sequences like
Write + Sr + CCC or Write + Sr + Write (invalid)
RI write was broken due to error logic incorrectly detecting an error
- Add many different error scenario tests
- Add override classes for the cocotbext_i3c classes to fix some functions
  and add additional functionality
- Remove a ton of timers to reduce runtime
1. Disable monitor used by everyone except the HDR exit pattern and reset pattern when in HDR mode
2. Separate bus asses for HDR and reset pattern detectors that are always enabled assuming FW enables I3C bus
3. I3C HDR exit pattern detect should not include the stop. That is an "extra step"
4. Reset pattern logic now utilized the enable_i
5. Reset pattern logic now uses the bus type instead of individual wires
7. Fix bug where sda stable_low was tied off to 0 but was used by the reset pattern detect
@clayton8

clayton8 commented Feb 6, 2026

Copy link
Copy Markdown
Collaborator Author

Duplicate of #129

@clayton8 clayton8 marked this as a duplicate of #129 Feb 6, 2026
@clayton8 clayton8 closed this Feb 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant