aboutsummaryrefslogtreecommitdiffstats
path: root/frontends/ast/ast.h
diff options
context:
space:
mode:
authorDavid Shah <dave@ds0.me>2020-01-19 21:15:51 +0000
committerDavid Shah <dave@ds0.me>2020-01-19 21:20:17 +0000
commit22c967e35e23d0688081818f49a11f0ec0853bb1 (patch)
tree20abfd2fd853ed65bce1935b9f4968e44a773cfd /frontends/ast/ast.h
parentb7be6cfd6544a351b885a869008bf10cec189b8b (diff)
downloadyosys-22c967e35e23d0688081818f49a11f0ec0853bb1.tar.gz
yosys-22c967e35e23d0688081818f49a11f0ec0853bb1.tar.bz2
yosys-22c967e35e23d0688081818f49a11f0ec0853bb1.zip
ast: Add support for $sformatf system function
Signed-off-by: David Shah <dave@ds0.me>
Diffstat (limited to 'frontends/ast/ast.h')
-rw-r--r--frontends/ast/ast.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/frontends/ast/ast.h b/frontends/ast/ast.h
index 918d178c7..14e1cec5e 100644
--- a/frontends/ast/ast.h
+++ b/frontends/ast/ast.h
@@ -244,6 +244,7 @@ namespace AST
void replace_variables(std::map<std::string, varinfo_t> &variables, AstNode *fcall);
AstNode *eval_const_function(AstNode *fcall);
bool is_simple_const_expr();
+ std::string process_format_str(const std::string &sformat, int next_arg, int stage, int width_hint, bool sign_hint);
// create a human-readable text representation of the AST (for debugging)
void dumpAst(FILE *f, std::string indent) const;