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.
I added the ability to run the circuit and change the pins interactively to use in auto testing.
This is useful when the circuit has a complex state that might mutate itself based on the pin input (triggers or memory cells).
An example:
![image](https://private-user-images.githubusercontent.com/8657078/276791196-60d7e54a-10ca-4cf2-a40f-1fc530bd24b5.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTgwNTE2NjQsIm5iZiI6MTcxODA1MTM2NCwicGF0aCI6Ii84NjU3MDc4LzI3Njc5MTE5Ni02MGQ3ZTU0YS0xMGNhLTRjZjItYTQwZi0xZmM1MzBiZDI0YjUucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDYxMCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA2MTBUMjAyOTI0WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9OTRiZTQ1NjkyYjdiNDE4MzA2YThjZjBkM2M0YTRkZGE5OTQ2YzBlNWVlMjQ4YzM1OGEwNTVhNWI3YjdmMmI3NSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.b3VpKjF8P1Gf0IsWDEDcOtN0wAWJmuziYcIdOAP4iEM)
The RCS trigger:
Here is how a user can interact with the circuit from the command line:
![telegram-cloud-photo-size-2-5298784097939870538-y](https://private-user-images.githubusercontent.com/8657078/276790655-e83bbd7a-850b-4e64-bebb-c49b97a7740a.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTgwNTE2NjQsIm5iZiI6MTcxODA1MTM2NCwicGF0aCI6Ii84NjU3MDc4LzI3Njc5MDY1NS1lODNiYmQ3YS04NTBiLTRlNjQtYmViYi1jNDliOTdhNzc0MGEuanBnP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDYxMCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA2MTBUMjAyOTI0WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ODY3M2MzNzYyZGFmNTc2MTdmZDEyMzk0OWQ0N2VkOGRmN2FjZTRlOTUyZWQ3MzI0YWQ5NjkzODgxZDI5NTg1NCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.WVD2M1wkoka6K1RpYB5t8T6ewMEqeRSDrgG4vVE0reQ)
At this state this pr is a draft and some cleanup is needed before it can be merged.
I'm collecting contributors input on how to improve or what to add.
Related to #1581 #1546