mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-12 17:06:15 +00:00
Added Verilog/AST support for DPI functions (dpi_call() still unimplemented)
This commit is contained in:
parent
38addd4c67
commit
7bfc4ae120
8 changed files with 135 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue