forked from olofk/fusesoc
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add command to draw a dependency graph
The new command `fusesoc dep graph` creates a GraphViz .dot file listing all dependencies for a given core with given flags. This file can be either manually converted into an image using the `dot` tool (part of the GraphViz package), or automatically converted with FuseSoC through the `--output-format` command line option. Full documentation: ``` $ fusesoc dep graph --help usage: fusesoc dep graph [-h] [--target TARGET] [--tool TOOL] [--output-format OUTPUT_FORMAT] core positional arguments: core Core to build the dependency graph for. optional arguments: -h, --help show this help message and exit --target TARGET Target to build the dependency graph for. --tool TOOL Tool to build the dependency graph for. --output-format OUTPUT_FORMAT Convert output into desired format (requires dot). All dot-supported formats can be used, run 'dot -T?' for a complete list. ``` Based on inital work by Stefan Wallentowitz in olofk#99 Fixes olofk#98
- Loading branch information
1 parent
d21e21c
commit 9923913
Showing
3 changed files
with
130 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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