diff options
author | Clifford Wolf <clifford@clifford.at> | 2015-01-15 13:08:19 +0100 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2015-01-15 13:08:19 +0100 |
commit | df9d096a7d88955dcf44d9e30a9ba49238b478db (patch) | |
tree | 3e9c47e37f83bc3f7b880bb76b53f9387c41ce37 /frontends/ast/simplify.cc | |
parent | a588a4a5c95d14e62678c98b14af139903980be3 (diff) | |
download | yosys-df9d096a7d88955dcf44d9e30a9ba49238b478db.tar.gz yosys-df9d096a7d88955dcf44d9e30a9ba49238b478db.tar.bz2 yosys-df9d096a7d88955dcf44d9e30a9ba49238b478db.zip |
Ignoring more system task and functions
Diffstat (limited to 'frontends/ast/simplify.cc')
-rw-r--r-- | frontends/ast/simplify.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/frontends/ast/simplify.cc b/frontends/ast/simplify.cc index 552fc04bc..6128ac684 100644 --- a/frontends/ast/simplify.cc +++ b/frontends/ast/simplify.cc @@ -157,7 +157,9 @@ bool AstNode::simplify(bool const_fold, bool at_zero, bool in_lvalue, int stage, return false; // deactivate all calls to non-synthesis system taks - if ((type == AST_FCALL || type == AST_TCALL) && (str == "$display" || str == "$stop" || str == "$finish")) { + if ((type == AST_FCALL || type == AST_TCALL) && (str == "$display" || str == "$strobe" || str == "$monitor" || str == "$time" || str == "$stop" || str == "$finish" || + str == "$dumpfile" || str == "$dumpvars" || str == "$dumpon" || str == "$dumpoff" || str == "$dumpall")) { + log_warning("Ignoring call to system %s %s at %s:%d.\n", type == AST_FCALL ? "function" : "task", str.c_str(), filename.c_str(), linenum); delete_children(); str = std::string(); } |