aboutsummaryrefslogtreecommitdiffstats
path: root/frontends/ast/ast.h
diff options
context:
space:
mode:
authorrafaeltp <rafael.tp@gmail.com>2018-10-20 17:01:09 -0700
committerGitHub <noreply@github.com>2018-10-20 17:01:09 -0700
commitf25d0de6f80233b0af02067bea839bff19f62a3c (patch)
treeac816776d2a0e78f9de10eb03d7e76e78d6b5b36 /frontends/ast/ast.h
parentc7770d9eeaf9fba0c9d07e7cce020fe89ec71600 (diff)
parent23b69ca32b2ef93fc4b3f724099bfecdee0af869 (diff)
downloadyosys-f25d0de6f80233b0af02067bea839bff19f62a3c.tar.gz
yosys-f25d0de6f80233b0af02067bea839bff19f62a3c.tar.bz2
yosys-f25d0de6f80233b0af02067bea839bff19f62a3c.zip
Merge pull request #1 from YosysHQ/master
updating
Diffstat (limited to 'frontends/ast/ast.h')
-rw-r--r--frontends/ast/ast.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/frontends/ast/ast.h b/frontends/ast/ast.h
index 8187b1ac6..08f91c9c3 100644
--- a/frontends/ast/ast.h
+++ b/frontends/ast/ast.h
@@ -308,6 +308,11 @@ namespace AST
// 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);
+
+ // Helper functions related to handling SystemVerilog interfaces
+ std::pair<std::string,std::string> split_modport_from_type(std::string name_type);
+ AstNode * find_modport(AstNode *intf, std::string name);
+ void explode_interface_port(AstNode *module_ast, RTLIL::Module * intfmodule, std::string intfname, AstNode *modport);
}
namespace AST_INTERNAL