-
Notifications
You must be signed in to change notification settings - Fork 2
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
DOT output format #48
Conversation
README.md
Outdated
@@ -221,6 +221,7 @@ The list of arguments for `hls`-mode is presented below: | |||
* `--out-sv-lib <PATH>`: *optional* filesystem-path option; used to specify the output SystemVerilog file for generated operations library. | |||
* `--out-dfcir <PATH>`: *optional* filesystem-path option; used to specify the output DFCIR file. | |||
* `--out-firrtl <PATH>`: *optional* filesystem-path option; used to specify the output FIRRTL file. | |||
* `--out-dot <PATH>`: *optional* filesystem-path option; used to specify the output .dot file. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The following renaming is proposed:
".dot" -> "DOT"
It will look more relevant to existing descriptions in this file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed.
src/model/dfcxx/lib/dfcxx/kernel.cpp
Outdated
outputStreams, | ||
sched); | ||
bool result = true; | ||
// Compile the kernel to .dot if such stream is specified. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.dot -> DOT
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed.
src/options.h
Outdated
@@ -195,6 +197,9 @@ struct HlsOptions final : public AppOptions { | |||
outputGroup->add_option(OUT_FIRRTL_ARG, | |||
outNames[OUT_FORMAT_ID_INT(FIRRTL)], | |||
"Path to output scheduled FIRRTL"); | |||
outputGroup->add_option(OUT_DOT_ARG, | |||
outNames[OUT_FORMAT_ID_INT(Dot)], | |||
"Path to output a DFCxx kernel in .dot format."); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.dot -> DOT
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed.
src/model/dfcxx/lib/dfcxx/kernel.cpp
Outdated
#include <unordered_map> | ||
#include <string> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lexicographical order is broken
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed.
This Pull Request introduces
.dot
-file output format for DFCxx dataflow graph, mentioned in #27.