Skip to content

changes to improve multiboard sync#342

Merged
meeg merged 30 commits intomainfrom
multiboard_sync
Jun 17, 2025
Merged

changes to improve multiboard sync#342
meeg merged 30 commits intomainfrom
multiboard_sync

Conversation

@meeg
Copy link
Copy Markdown
Contributor

@meeg meeg commented Jun 17, 2025

Various changes to simplify/improve the use of multi-board synchronization.

  • add a step_rounds argument to acquire() etc., to allow running one round at a time - needed for correct sequencing of setup steps
  • add a get_rounds() method to grab the round-by-round results of a program
  • tweak the standard tProc v2 firmware projects so the tProc core and timing clocks are in integer-multiple relation - needed for jitter-free synchronization
  • fix a bug in tProc v2 r23 which led to bad DMA transfers if the core and AXI clocks were not related - needed for the previous item

Note that soft_avgs has been renamed everywhere to rounds in tProc v2, for consistency. This might break some user code. tProc v1 code can continue to use either as a config dictionary key.

meeg and others added 30 commits May 31, 2025 00:41
@meeg meeg merged commit 74dd3c1 into main Jun 17, 2025
1 check passed
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

@meeg is there any reason why you've removed the external proc_stop connection to the PMOD?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

It's not used normally - typical programs have a finite duration and you want the whole thing to run, the only thing you want under external control is when the program starts. If you have some reason you want to force the program to stop, you will probably be doing that through software.

I originally wired both the start and stop ports because the tProc had both, but I heard from someone who was playing with external start; they saw spurious stops which they thought were coming from noise on the stop pin (which they had left floating). So, better not to wire it.

@meeg meeg mentioned this pull request Jun 28, 2025
@meeg meeg deleted the multiboard_sync branch June 30, 2025 16:52
@meeg meeg mentioned this pull request Jul 17, 2025
@meeg meeg mentioned this pull request Jul 31, 2025
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.

3 participants