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

fgen, iir needs 64bit registers #4

Closed
lneuhaus opened this issue May 17, 2016 · 2 comments
Closed

fgen, iir needs 64bit registers #4

lneuhaus opened this issue May 17, 2016 · 2 comments

Comments

@lneuhaus
Copy link
Owner

to uniformize and avoid future bugs, we must add a 64bit float register type

@lneuhaus
Copy link
Owner Author

lneuhaus commented May 17, 2016

Solution: LongRegister
implemented in fgen, not sure that its useful for IQ. Can represent arbitrary length of bits, just like python int

@lneuhaus
Copy link
Owner Author

Solved with LongRegister.

Usage:
addr = 0x124
class MyModule(BaseModule):
myverylongregister = LongRegister(addr, bits = 1234)

returns pyton int with 1234 bit representation from 0x124 to subsequent addresses in fpga :)

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