Skip to content
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

Support JSON debugging output #15

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

katat
Copy link

@katat katat commented Jan 14, 2023

This PR added API getJSONOutput, which can search and parse signals based on object keyword, such as this test. Any symbol string matching the regex text will be parsed and organized as json output for testing assertions.

I was inspired to make this feature, as there seems no similar APIs to help the debug process. In debugging, if I wanted to look into the signal values, I have to manually parse the symbols and values and this is quite a cumbersome process especially when the size of circuit is big.

This would be particularly useful when the number of different signals is large as it helps navigate the debugging targets without costing too much overhead unnecessarily parsing all the signals for every test.

@katat katat mentioned this pull request Jan 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant