diff options
author | Clifford Wolf <clifford@clifford.at> | 2014-08-21 12:43:51 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2014-08-21 12:43:51 +0200 |
commit | 7bfc4ae12030648cd73686d3779c6d412a3c33c0 (patch) | |
tree | dff31bd0f98d3c75f3c394cb6f0420bb0855933f /frontends/ast/ast.h | |
parent | 38addd4c67905e3d1514ba839f07d94058e42560 (diff) | |
download | yosys-7bfc4ae12030648cd73686d3779c6d412a3c33c0.tar.gz yosys-7bfc4ae12030648cd73686d3779c6d412a3c33c0.tar.bz2 yosys-7bfc4ae12030648cd73686d3779c6d412a3c33c0.zip |
Added Verilog/AST support for DPI functions (dpi_call() still unimplemented)
Diffstat (limited to 'frontends/ast/ast.h')
-rw-r--r-- | frontends/ast/ast.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/frontends/ast/ast.h b/frontends/ast/ast.h index ef54d76f4..88917c64b 100644 --- a/frontends/ast/ast.h +++ b/frontends/ast/ast.h @@ -46,6 +46,7 @@ namespace AST AST_MODULE, AST_TASK, AST_FUNCTION, + AST_DPI_FUNCTION, AST_WIRE, AST_MEMORY, @@ -278,6 +279,9 @@ namespace AST // set set_line_num and get_line_num to internal dummy functions (done by simplify() and AstModule::derive // to control the filename and linenum properties of new nodes not generated by a frontend parser) void use_internal_line_num(); + + // call a DPI function + AstNode *dpi_call(const std::string &rtype, const std::string &fname, const std::vector<std::string> &argtypes, const std::vector<AstNode*> &args); } namespace AST_INTERNAL |