-
Notifications
You must be signed in to change notification settings - Fork 4
Bitfile versioning #18
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
c174551
Add bitfile_version to FPGA class
Ajstros d1008b1
Add bitfile_version to .h5 header in DDR3.save_data
Ajstros e2a886d
Merge branch 'main' of https://github.com/Ajstros/pyripherals into bi…
Ajstros fd36347
Add str_bitfile_version
Ajstros 43917b6
data_to_names accounts for bitfile version
Ajstros 4447d24
Fix data_to_names bitfile_version default value bug
Ajstros 48bc863
Account for KeyError when accessing BITFILE_VERSION Endpoint
Ajstros 56e3aab
Clarify bitfile version print
Ajstros 8879c36
Fix FIFO index and sample size in DDR3 parameters
Ajstros 1b7d68f
Add append option to DDR3.save_data
Ajstros 7ca046d
Fix append option
Ajstros cd15131
Fix append option
Ajstros c69c2db
Fix append option
Ajstros 3a9061c
Add full data return to DDR3.save_data
Ajstros 3378e0e
Return new data instead of all data
Ajstros 75ed379
Fix new data return
Ajstros cdba4d7
Fix new data return
Ajstros File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not certain how the default parameter self.fpga.bitfile_version will behave if DDR3 is instantiated before the FPGA is initialized. The preferred usage might be that the bitfile_version is determined from the h5 file. Doing so will allow for offline data analysis to be done without an FPGA instance.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code has been updated, as outlined below. The idea is that we will pass in the bitfile version number from the .h5 file when we call
data_to_names
. This keepsdata_to_names
indepedent from .h5 files, so that we keep the option of reading DDR data without saving to a .h5 file open.