-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactored tuning script + no more phab inf loop
- Loading branch information
1 parent
38ed943
commit 0ede8d7
Showing
2 changed files
with
193 additions
and
144 deletions.
There are no files selected for viewing
This file contains 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
Oops, something went wrong.
0ede8d7
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.
@ryankrebs016 that PHAB loop limit of 9 is pretty low, actually: you wouldn't see it messing around, but a 1-in-1024 event isn't that large from an automation point of view
0ede8d7
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’ll keep this in mind if it starts causing issues. Right now Cosmin is seeing this loop get stuck indefinitely on a station so I’m just trying stop it
0ede8d7
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.
You probably want to have it check to see if PHAB is actually toggling at all beforehand: in the code it just assumes it's OK:
change to
The only way I can think of this happening is if the timing is such that the PHASE signal (which toggles the PHAB flipflop) is so short that it disappears, but even that's weird because the PHASE signal's wider than say WR_STRB so who knows.