-
Notifications
You must be signed in to change notification settings - Fork 29
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
[Bug] missing documentation on FastCounterInterface constraints #159
Comments
I started overhauling the FastCounterInterface in this branch. |
@timoML I have two questions on the fast counter interface:
|
|
For the time tagger we use in the lab (quTAG from qutools), There are TODO comments in the Swabian and Pi3 fast counter hardware files suggesting that this constraint also makes no sense for this hardware. |
That depends on the hardware implementation. If the hardware directly samples the signal with a clock, you usually end up with an integer fractional (M/D) of a base clock frequency (non-linear increments). A revision of this constraint should introduce case sensitive handling to cover both cases. |
I agree, the reworked FastCounterInterface should definitely have better support for linear binwidth increments.
|
Version
current main
What is affected by the bug?
The constraints for fast counter hardware are a dictionary. The keys are nowhere specified however. Therefore I am having difficulty in writing a hardware module implementing the
FastCounterInterface
.When does the bug occur?
not applicable
How do we replicate the issue?
not applicable
Expected behavior
The structure of the dictionary returned by
get_constraints()
is documented in the interface, e.g. in the docstring of this method.Relevant log output
No response
Additional Comments
Looking through existing hardware implementations, I could find the following keys in
FastComtec
:If this implementation is correct, the docstring for get_constraints() is actually incorrect, since it states:
Contact Details
No response
The text was updated successfully, but these errors were encountered: