Skip to content

Allow a variable number of instructions per pseudoclock #35

New issue

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

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

Already on GitHub? # to your account

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

philipstarkey
Copy link
Member

@philipstarkey philipstarkey commented Apr 25, 2025

Warning

This isn't well tested!

Fixes #31

This introduces a new command setnuminstructions <pseudoclock:int> <num_instructions:int> that allows you to reallocate instructions storage from one pseudoclock to another.

For example, you could split your pseudoclock instructions such that only a small number (<100) were used for a Novatech DDS9m clock (assuming that most of the Novatech instructions were used in a couple of labscript ramps), with the remaining 14,900 were reallocated to another pseudoclock.

…pseudoclock. There is a bug in the default allocation algorithm that prevents increasing the number of pseudoclocks. This needs fixing later!
@philipstarkey philipstarkey requested a review from dihm April 25, 2025 13:31
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow uneven splitting of instructions between pseudoclocks
1 participant