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

[wb_acq_core] Channels with 768 bits width causes alignment issues #18

Open
augustofg opened this issue Apr 12, 2023 · 0 comments
Open

Comments

@augustofg
Copy link
Member

When testing an acquisition with 768 bits (24 atoms of 32 bits each) sample width, the samples are not properly aligned during read, so we get a slice of the previous sample mixed with the actual sample. Doing some investigation we determined that the TRIG_POS register is calculated incorrectly.

guilhermerc added a commit to lnls-dig/fofb-ctrl-gw that referenced this issue Apr 13, 2023
1. Changed FOFB sys id channel width from 768 to 1024 as a workaround
   for the bug described on [1];
2. Swapped each 2 16-bit FOFB processing setpoints so they end up being
   allocated on RAM in descending order after ACQ endiannes procedures.
3. Reverse the blocks of signals.

[1] lnls-dig/infra-cores#18
guilhermerc added a commit to lnls-dig/fofb-ctrl-gw that referenced this issue Apr 13, 2023
1. Changed FOFB sys id channel width from 768 to 1024 as a workaround
   for the bug described on [1];
2. Swapped each 2 16-bit FOFB processing setpoints so they end up being
   allocated on RAM in descending order after ACQ endianness procedures.
3. Repositioned the acquired signals to keep consistency with other ACQ
   cores.

[1] lnls-dig/infra-cores#18
guilhermerc added a commit to lnls-dig/fofb-ctrl-gw that referenced this issue Apr 13, 2023
1. Changed FOFB sys id channel width from 768 to 1024 as a workaround
   for the bug described on [1];
2. Swapped each 2 16-bit FOFB processing setpoints so they end up being
   allocated on RAM in descending order after ACQ endianness procedures.
3. Repositioned the acquired signals to keep consistency with other ACQ
   cores.

[1] lnls-dig/infra-cores#18
guilhermerc added a commit to lnls-dig/fofb-ctrl-gw that referenced this issue Apr 17, 2023
1. Changed FOFB sys id channel width from 768 to 1024 as a workaround
   for the bug described on [1];
2. Swapped each 2 16-bit FOFB processing setpoints so they end up being
   allocated on RAM in descending order after ACQ endianness procedures.
3. Repositioned the acquired signals to keep consistency with other ACQ
   cores.

[1] lnls-dig/infra-cores#18
guilhermerc added a commit to lnls-dig/fofb-ctrl-gw that referenced this issue Apr 17, 2023
1. Changed FOFB sys id channel width from 768 to 1024 as a workaround
   for the bug described on [1];
2. Swapped each 2 16-bit FOFB processing setpoints so they end up being
   allocated on RAM in descending order after ACQ endianness procedures.
3. Repositioned the acquired signals to keep consistency with other ACQ
   cores.

[1] lnls-dig/infra-cores#18
guilhermerc added a commit to lnls-dig/fofb-ctrl-gw that referenced this issue Apr 18, 2023
1. Changed FOFB sys id channel width from 768 to 1024 as a workaround
   for the bug described on [1];
2. Swapped each 2 16-bit FOFB processing setpoints so they end up being
   allocated on RAM in descending order after ACQ endianness procedures.
3. Repositioned the acquired signals to keep consistency with other ACQ
   cores.

[1] lnls-dig/infra-cores#18
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

No branches or pull requests

1 participant