Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FOFB system identification features: ABI #22

Merged
merged 10 commits into from
May 9, 2023
Merged

FOFB system identification features: ABI #22

merged 10 commits into from
May 9, 2023

Conversation

guilhermerc
Copy link
Contributor

@guilhermerc guilhermerc commented Apr 25, 2023

PR for fofb_sys_id first production ABI.

@guilhermerc guilhermerc changed the title FOFB system identification features: wishbone regs FOFB system identification features: ABI Apr 26, 2023
@guilhermerc guilhermerc force-pushed the sys-id-cheby branch 3 times, most recently from 7c356ea to b51fb40 Compare April 26, 2023 19:49
@guilhermerc guilhermerc force-pushed the sys-id-cheby branch 5 times, most recently from a4ad0fb to a9a01c2 Compare April 27, 2023 13:56
@guilhermerc guilhermerc marked this pull request as ready for review April 27, 2023 13:56
Copy link
Member

@ericonr ericonr left a comment

Choose a reason for hiding this comment

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

There are some ~4000 and 511 words padding that seem to be a bit too big

@guilhermerc guilhermerc force-pushed the sys-id-cheby branch 4 times, most recently from fcd9671 to 9a8c677 Compare April 27, 2023 19:38
@guilhermerc
Copy link
Contributor Author

I've addressed all the requested changes.

@guilhermerc guilhermerc force-pushed the sys-id-cheby branch 6 times, most recently from ea8ddd1 to a065d3a Compare May 3, 2023 18:53
@guilhermerc guilhermerc deleted the branch devel May 5, 2023 13:57
@guilhermerc guilhermerc closed this May 5, 2023
@guilhermerc guilhermerc reopened this May 5, 2023
@guilhermerc guilhermerc changed the base branch from sys-id-feats to devel May 5, 2023 15:23
@guilhermerc guilhermerc force-pushed the sys-id-cheby branch 3 times, most recently from e32e1a0 to 0102379 Compare May 5, 2023 16:51
@augustofg augustofg mentioned this pull request May 5, 2023
@guilhermerc guilhermerc force-pushed the sys-id-cheby branch 8 times, most recently from 0de1fcf to ff3341e Compare May 5, 2023 19:59
Add trigger interface to effectivate what was set via wishbone on
PRBS_CTL_RST, PRBS_CTL_BPM_POS_DISTORT_EN and PRBS_CTL_SP_DISTORT_EN.

Since this changes the ABI behavior, but not drastically, its minor
version number is being increased (v1.1).
As per aaead18, the remaining FOFB
channels are now instantiated.
These will be useful for debugging.

TODO: still have to assert these on xwb_fofb_sys_id_tb.vhd
Logical triggers IDs allocated for things other than acquisitions must
begin right after the last acquisition channel ID.
Uses the same format as the regular sys id channel, but probes the
distorted versions of its signals.
Rename g_MAX_NUM_BPM_POS to g_MAX_NUM_BPM_POS_PER_FLAT so its clearer
that this is a value applied for each flatenizer.
These pulse syncers guarantee that we won't acquire/change stuff in the
middle of a FOFB cycle.
Cheby's generated header has a mismatching between
WB_FOFB_SYS_ID_REGS_PRBS_BPM_POS_DISTORT_DISTORT_RAM macro and 'struct
bpm_pos_distort' offset. This is temporarily fixed by proper padding the
struct.
@guilhermerc
Copy link
Contributor Author

@augustofg , can you take a last glance on this PR, please?

@augustofg
Copy link
Member

👍

@guilhermerc guilhermerc merged commit acdebe9 into devel May 9, 2023
@guilhermerc guilhermerc deleted the sys-id-cheby branch May 9, 2023 13:28
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.

None yet

3 participants