Skip to content

cdc_2phase: make sync stages configurable#336

Merged
phsauter merged 2 commits into
v2-devfrom
phsauter/cdc-2phase
Jul 2, 2026
Merged

cdc_2phase: make sync stages configurable#336
phsauter merged 2 commits into
v2-devfrom
phsauter/cdc-2phase

Conversation

@phsauter

@phsauter phsauter commented Jul 2, 2026

Copy link
Copy Markdown
Collaborator

Makes SyncStages configurable for cc_cdc_2phase and forwards it into the source and destination synchronizers. Adds timed async-boundary test coverage for the 2-phase CDC.

@colluca colluca left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM apart from following nitpick :)

Comment thread .gitlab-ci.yml
- cc_addr_decode_tb
- cc_cb_filter_tb
- cc_cdc_2phase_tb
- cc_cdc_2phase_clearable_tb

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess alphabetical order is in some sense wrong, unless you interpret _tb as a suffix that does not count towards the ordering. But I'd keep the ordering definition naive 😁

@phsauter phsauter changed the title cdc_2phase: expose sync stages, improve tb cdc_2phase: make sync stages configurable Jul 2, 2026
@phsauter phsauter force-pushed the phsauter/cdc-2phase branch from d4a1978 to d671979 Compare July 2, 2026 14:22
@phsauter phsauter merged commit f942742 into v2-dev Jul 2, 2026
5 checks passed
@phsauter phsauter deleted the phsauter/cdc-2phase branch July 2, 2026 14:28
phsauter added a commit that referenced this pull request Jul 2, 2026
#337)

Depends on #336, since the FIFO side split uses the configurable 2-phase
CDC halves. Forwards SyncStages, splits the FIFO into source/destination
sides connected only through async signals, and updates the timed FIFO
TB to exercise that split.
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.

2 participants