83 add golden waveform testing ala ibis 80#85
Open
capn-freako wants to merge 2 commits into
Open
Conversation
Implements section 10.11 of the IBIS 8.0 spec, which lets model makers
embed golden input/output data directly in .ibs files so any EDA tool
can verify a model produces its intended output.
- ibis/parser.py: new `ami_tc_param`, `ami_test_config`, and `algo_model`
parsers; `[Algorithmic Model]` now returns {"executables": [...],
"test_configs": {...}} instead of a bare executor list
- ibis/model.py: unpack the new dict, expose `test_configs` and
`executables` properties on `Model`
- testing/ami_test_config.py: `run_ami_test_config()` / `run_all_ami_test_configs()`
load the referenced files, call AMI_Init (and AMI_GetWave for
Time_domain), and compare against the golden IR / waveform /
params_out with configurable tolerances
- tests/: parser fixture + 2 parser tests; 12 runner tests covering
Statistical pass/fail, Time_domain pass/fail, optional golden IR,
missing config, and the run_all convenience wrapper
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2. review test_runs/example_rx/example_rx/pyami_test_def_channel_type_sweep.py to understand how test definitions are written 3. read section 10.11 of local/ver8_0.pdf to understand the new test we need to add 4. try ver8_0_sec_10_11.txt 5. yes, start with the parser extension 6. continue, but use 'uv run' as a prefix for all Bash commands 7. now write the test runner 8. now write a test for the test runner
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Hi David,
This seems a little to easy to believe.
So, would you mind checking it from an unbiased perspective?
I just used Claude Code to implement the change needed for the new Issue #83
It appears to have worked, but I'm skeptical.
(Check the sub-issue #84 for the prompts I used.)
Can you believe this?!
Thanks,
-db