aboutsummaryrefslogtreecommitdiffstats
path: root/frontends/ast/ast.h
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2019-03-02 12:36:46 -0800
committerClifford Wolf <clifford@clifford.at>2019-03-02 12:36:46 -0800
commitae9286386de117991f887f919f5af3fac40173cc (patch)
tree5497828d0a1e4fa70feaceec76bf15a7ab8fe38e /frontends/ast/ast.h
parentce6695e22c7d2b8856ec5bb93a94264555aa55b5 (diff)
downloadyosys-ae9286386de117991f887f919f5af3fac40173cc.tar.gz
yosys-ae9286386de117991f887f919f5af3fac40173cc.tar.bz2
yosys-ae9286386de117991f887f919f5af3fac40173cc.zip
Only run derive on blackbox modules when ports have dynamic size
Signed-off-by: Clifford Wolf <clifford@clifford.at>
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 89f7e6e4f..8b185ff51 100644
--- a/frontends/ast/ast.h
+++ b/frontends/ast/ast.h
@@ -239,6 +239,7 @@ namespace AST
bool has_const_only_constructs(bool &recommend_const_eval);
void replace_variables(std::map<std::string, varinfo_t> &variables, AstNode *fcall);
AstNode *eval_const_function(AstNode *fcall);
+ bool is_simple_const_expr();
// create a human-readable text representation of the AST (for debugging)
void dumpAst(FILE *f, std::string indent) const;