Add busperf integration (PoC) - #4633
Open
rw1nkler wants to merge 3 commits into
Open
Conversation
Signed-off-by: Robert Winkler <rwinkler@antmicro.com>
Signed-off-by: Robert Winkler <rwinkler@antmicro.com>
Signed-off-by: Robert Winkler <rwinkler@antmicro.com>
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.
This pull request adds support for busperf analyzer that can be used to measure stalls on various bus interfaces in digital designs. The integration provides a way to automatically generate the configuration file for busperf that can be used in SystemVerilog simulation in a broader system. The provided functionality does not require any instrumentation on the design side.
It adds a set of Bazel rules:
xls_busperf_yamlto generate the bus description from a DSLX proc,busperf_analyzeto run busperf against a VCD and produce a text or HTML report.Signature generation in the main codegen toolchain was extended so a block's signature embeds its instantiated children's signatures recursively. This lets the bus description cover internal channels between a parent proc and its spawned children, not just the design's external interface.
A full worked example is included under
xls/experimental/busperf/examples/, comparing a stalling and a healthypipeline side by side. See xls/experimental/busperf/README.md and examples/README.md for usage and the exact commands to reproduce it.
Here is the final HTML report generated from the example with stalls, that reports observable backpressure
