ROHD Hierarchy: an API for compact, generic traversal of a remote design#653
Open
desmonddak wants to merge 5 commits intointel:mainfrom
Open
ROHD Hierarchy: an API for compact, generic traversal of a remote design#653desmonddak wants to merge 5 commits intointel:mainfrom
desmonddak wants to merge 5 commits intointel:mainfrom
Conversation
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.
…pact, canonical addresses
Description & Motivation
It would be nice to have a hierarchy api that allows us to remotely traverse a design hierarchy using compact addressing to support a devtools-based debugger. For example, if we receive a dictionary of the design, we can communicate requests for more data from the design by using a compressed addressing scheme like (5th instance, 4th instance below that, 15th signal) to receive a set of data on that signal. If we need 1000s of simulation values, for example, we do not need to transmit all names, providing an order of magnitude savings in transmission bandwidth.
This capability allows us to incrementally a design view over multiple data requests. For now, we primarily have two: a 'slim' view, which is the full hierarchy with names, and then a full view, which is all connectivity. This can be extended to allow for a more incremental dictionary load to allow a remote agent to use limited memory to transit a very large design.
Related Issue(s)
None.
Testing
Tests are provided with a small design fixture using a new netlist format in JSON, equivalent to Yosys JSON. A future netlist synthesizer will provide design data nd this
rohd_hierarchy adapterwill allow us to communicate between remote agents.Backwards-compatibility
No
Documentation
A
README.mdis included to describe the motivation, architecture, and key features of the api.