-
Notifications
You must be signed in to change notification settings - Fork 1k
Add association-list-based helper functions into Rosette backend #5128
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
gussmith23
merged 32 commits into
YosysHQ:main
from
gussmith23:gussmith23-rosette-backend-updates
Dec 3, 2025
+130
−22
Merged
Changes from 16 commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
fd5918c
get_field_names for structs
gussmith23 7b4c9c5
Add optional keyword-based constructor
gussmith23 10b8fdd
Rename argument
gussmith23 1fdfba2
Add helper for accessing by base name
gussmith23 c1111f1
Add output helper as well
gussmith23 a55dc80
Rename parameter
gussmith23 af51097
Convert to 'assoc list helpers'
gussmith23 8ec9de0
Use ir.inputs()/ir.outputs()
gussmith23 d8b27d4
Bugfix
gussmith23 9faa61d
Remove gate on smt and rkt tests
gussmith23 51560b0
Start adding Rosette simulation facilties
gussmith23 8a9d724
Finish up functions and tests, TODO: CLI
gussmith23 a1d68fe
Add option for using assoc list helpers in tests
gussmith23 3c54d8a
tests/functional: Auto parallelize
KrystalDelusion 108a4ed
tests/functional: Reduce CI to 100 steps
KrystalDelusion dcf72ff
Document tests/functional prereqs
KrystalDelusion 6fe35fa
Merge remote-tracking branch 'origin/main' into gussmith23-rosette-ba…
gussmith23 d603b7b
Update ABC
gussmith23 9909049
Undo formatting changes
gussmith23 ded7c9c
More formatting undos'
gussmith23 4037404
Remove unknown change
gussmith23 473edd1
Undo formatting
gussmith23 5d5a7ab
remove unused
gussmith23 ddcd930
Capture error case more correctly
gussmith23 ade6379
Explicitly store whether to use association lists
gussmith23 e223087
Undo more changes that slipped in from somewhere? a merge maybe?
gussmith23 5f84b8b
Undo some other changes
gussmith23 0f8e1e3
Undo more changes
gussmith23 fb8a1ad
Add back param
gussmith23 62e666c
Make run-test work from anywhere
gussmith23 38ee4fc
Undo more unnecessary changes
gussmith23 dd65dd6
Fixes
gussmith23 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
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
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,2 @@ | ||
| #!/usr/bin/env bash | ||
| pytest -v -m "not smt and not rkt" "$@" | ||
| pytest -v -n auto "$@" --steps 100 |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| """Python utilities for simulating Rosette code.""" | ||
KrystalDelusion marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
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.
Uh oh!
There was an error while loading. Please reload this page.