-
Notifications
You must be signed in to change notification settings - Fork 813
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
[pattgen,dv] Start to tidy up cnt_rollover #26319
Open
rswarbrick
wants to merge
18
commits into
lowRISC:master
Choose a base branch
from
rswarbrick:pattgen-dv-tidyup-1
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
c59e1ac
[pattgen,dv] Use extern definitions in pattgen_env_cfg
rswarbrick 0159232
[pattgen,dv] Move num_runs to pattgen_stress_all_vseq
rswarbrick 214b406
[pattgen,dv] Tidy up how some sequence delays get configured
rswarbrick a813ded
[pattgen,dv] Simplify how channels get started
rswarbrick 3b15362
[pattgen,dv] Simplify how we control if errors are injected
rswarbrick 09d7d69
[pattgen,dv] Move error_injected_enb from cfg object to sequence
rswarbrick e004afd
[pattgen,dv] Inline trivial task into pattgen_base_vseq::body
rswarbrick 116bc5a
[pattgen,dv] Replace pattgen_base_vseq::right_rotation
rswarbrick 9fd0e1d
[pattgen,dv] Merge pattgen_base_vseq::setup_pattgen_channel_*
rswarbrick b420876
[pattgen,dv] Make pattgen_base_vseq::wait_for_channel_ready simpler
rswarbrick 9324c95
[pattgen,dv] Tweak pattgen_base_vseq::control_channels
rswarbrick d1eab5e
[pattgen,dv] Define a function for channel select enum -> mask
rswarbrick 2e05a03
[pattgen,dv] Simplify clear_interrupts task
rswarbrick 44b8b48
[pattgen,dv] Add docs and use extern methods in pattgen_base_vseq
rswarbrick 712420a
[pattgen,dv] Get rid of channel_select_e
rswarbrick ab00925
[pattgen,dv] Get rid of pattgen_low_polarity_pct
rswarbrick 1c625d6
[pattgen,dv] Tidy up testplan for cnt_rollover
rswarbrick 5e9ad0c
[pattgen,dv] Reformat and document pattgen_cnt_rollover_vseq
rswarbrick 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 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.
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 tried to understand this by looking at #26317 with no luck. Am I thick in the head or is the spec for pattgen rather confusing?
Also, it seems with small constraints you are able to test the behavior is correct. So is the problem that you cannot test the behavior for larger values of the config registers, and that is the reason you would need to set the counters to values close to rollover?
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.
It's rather confusing (and I'm enthusiastically hacking away to try to tidy lots of this up). I think the original testplan authors wanted to make sure we "sent entire patterns" with maximal values of prediv and/or length. But those counters are enormous! So we either need to abandon doing so or force an internal signal. But the existing code seemed rather silly.