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

Generate dependency graph #99

Closed
wants to merge 1 commit into from
Closed

Conversation

wallento
Copy link
Collaborator

Usage: fusesoc gengraph

It generates a dot file .dot to be further processed with
graphviz.

Usage: fusesoc gengraph <core>

It generates a dot file <core>.dot to be further processed with
graphviz.
@olofk
Copy link
Owner

olofk commented Apr 16, 2016

Cool. Thanks. I'll need to hold this a bit though, since it depends on your sanitized name functions, which aren't in FuseSoC yet

@wallento
Copy link
Collaborator Author

Oh, for sure. I missed this

@olofk
Copy link
Owner

olofk commented Feb 27, 2017

I like the functionality, but I'm pretty sure this one won't apply any more after the new dependency handler was introduced. I can take another look if you find time to rebase it, but please close it otherwise

@olofk olofk closed this Jan 17, 2018
imphil added a commit to imphil/fusesoc that referenced this pull request Mar 18, 2020
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
imphil added a commit to lowRISC/fusesoc that referenced this pull request Mar 19, 2020
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
imphil added a commit to lowRISC/fusesoc that referenced this pull request Mar 23, 2020
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
rswarbrick pushed a commit to rswarbrick/fusesoc that referenced this pull request Apr 2, 2020
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
rswarbrick pushed a commit to rswarbrick/fusesoc that referenced this pull request Apr 2, 2020
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
imphil added a commit to lowRISC/fusesoc that referenced this pull request Apr 6, 2020
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
imphil added a commit to lowRISC/fusesoc that referenced this pull request Apr 6, 2020
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
msfschaffner pushed a commit to msfschaffner/fusesoc that referenced this pull request Apr 17, 2020
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
rswarbrick pushed a commit to rswarbrick/fusesoc that referenced this pull request Jun 12, 2020
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
rswarbrick pushed a commit to rswarbrick/fusesoc that referenced this pull request Jul 1, 2020
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
rswarbrick pushed a commit to rswarbrick/fusesoc that referenced this pull request Jul 1, 2020
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
rswarbrick pushed a commit to lowRISC/fusesoc that referenced this pull request Jul 2, 2020
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
rswarbrick pushed a commit to lowRISC/fusesoc that referenced this pull request Sep 23, 2020
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
imphil added a commit to lowRISC/fusesoc that referenced this pull request Mar 24, 2021
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
imphil added a commit to lowRISC/fusesoc that referenced this pull request Oct 1, 2021
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
vogelpi pushed a commit to vogelpi/fusesoc that referenced this pull request Jul 15, 2022
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
bwitherspoon pushed a commit to bwitherspoon/fusesoc that referenced this pull request Dec 17, 2023
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
bwitherspoon pushed a commit to bwitherspoon/fusesoc that referenced this pull request Dec 17, 2023
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
bwitherspoon pushed a commit to bwitherspoon/fusesoc that referenced this pull request Mar 9, 2024
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
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.

None yet

2 participants