google / google/xls

[enhancement] Use data from `--trace_channels` to visualize data flow in designs

Open
#1,438 0 comments 0 reactions 0 assignees View on GitHub
enhancement ux
Dominant language
C++
Stars
1.9k
Forks
283
Avg merge
2d 10h
Merged PRs (30d)
135

Description

### What's hard to do? (limit 100 words)

In complex designs, understanding data flow is crucial for debugging and identifying bottlenecks. Errors and unhandled corner cases can propagate, causing issues in unrelated procs. Other aspects of the design that may be hard to track, like RAM contents, can also affect the data flow.

A tool that enables quick comprehension of data flow would greatly speed up the development process for complex designs.

### Current best alternative workaround (limit 100 words)

One can use `--trace_channels` option to get the information about the actual data passing through the design

### Your view of the "best case XLS enhancement" (limit 100 words)

It would be useful to log each transaction during a test to a file in a structured format. This data could then be used to create visualizations of the data flow and RAM contents. This could be something similar to [IR Visualization tool](https://google.github.io/xls/ir_visualization/).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.