-
Notifications
You must be signed in to change notification settings - Fork 2
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
Update opalkelly bitfiles #49
Conversation
ohh my bet. I thought I could only pull request this one commit of bitfiles and not all previous commits and branches from the last month. Sorry about that |
Haha yes if you rebase that last commit off main then you can do that. I can help with that on monday |
I was playing around locally for my understanding, so I'm posting anyway. @MarcelMB If you do:
It should be like this, with only the FPGA bit file changes commited. So, changes after
|
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.
Some updates I'd like to request other than rebasing are:
- Notes for the FPGA bitfiles convention (in case we forget things like what
J2_2
or these frequencies mean). I think this can go somewhere indocs/api/stream_daq.md
. - Can you change the dir name of
previous_bitfiles
to a convention that expresses what these other bitfiles are and delete files that should technically be the same as the new ones? Or if that is uncertain, I think just deleting stuff inprevious_bitfiles
should be good because we can always return to earlier commits.
Agreed - ideally we never have anything old just hanging out without a purpose, and also ideally we have a structured system that describes all the parameters that go into making a bitfile and then name/organize them accordingly. If one bitfile supercedes another, it should just take its place bc there is only one name/position/etc. For a bitfile with those parameters. |
|
but still having the same pull request with all previous commits to be pushed to main not just this one branch. So not sure |
9235c6e
to
bcb69df
Compare
I did the interactive rebase as @t-sasatani suggested and worked all well. Thanks!!! |
After rebasing is there still a PR needed since its already on main? |
Awesome! The Git graph looks good now.
Yes, we need this because it's just been rooted from the main branch, and the changes haven't been merged to the main yet. |
OK pushed a couple fixes here - in the last failing run, the error message was super opaque and we hit a timeout. The problem is ultimately that the paths to the bitstream files weren't updated when the filenames changed, so the Added a few guardrails for that:
Do y'all remember why we have two sets of configs, one in the tests and one in the main package? Since we aren't really doing anything specific with the tests in the config and their format is still settling down, we should probably just test against all the configs in the package itself, right? Also I'm not sure what the status is on the |
while 8 and 6 MHz opal kelly bitfiles were working, the others ones were not. This is updated. Same pins on opal kelly board. No changes required in hardware
636c118
to
c7f4213
Compare
Also could we avoid putting |
Oh yes, verifying the bitstream path in the model makes more sense. I'd appreciate it if either of you can do these updates because my current network situation is horrible atm and can't pull.
I would rather want to have both because the CI test data and the current hardware data format specifics can be different. We should update the test binary a bit more often, but it'll be painful to replace the test binary and hashes for each OS every time we make minor changes like a single buffer length or preamble. We might want some new devops stuff to update test data and hash,, though that could be future PR.
There's no reason to leave this so let's delete this.
Not as scary as spaces but agreed. I prefer doing it in this PR. |
I think the goal of the tests should be to mimic the actual behavior of the device as closely as possible, otherwise we aren't really testing whether the software works in the wild, but point taken on this being tricky, and think that we should have versioned schema for all our data formats - it's fine to update data format on the firmware, especially while still in beta testing, but we should have record and notice of that with predictable compatibility guarantees. for the sake of this PR this is fine to leave as is, but we should probably revisit this later about what kind of consistency guarantees we want to make between hardware, firmware, and software so that updates don't break things :). I'll make an issue for this now.
i'll do these now. edit: done |
Thanks for the edits!
There might be some confusion here. I mean, some parameters differ, but the structure is the same. So it's like testing |
The PRs are accumulating, so I will merge those passing the test and have review approval. |
only two out of the opal kelly btifiles were working previously 6 and * MHZ but now added more frequencies. Keeping the old bit files for opal kelly but also uploaded the new ones which require no change on FPGA hardware or any other changes in Miniscope-io despite modifying the bitstream variable in the .yml config file for a recording.
so would be easy to add to main since only bitfiles will be added. no general change in code