mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-22 05:43:40 +00:00
cxxrtl: expose eval() and commit() via the C API.
This commit is contained in:
parent
347dd01c2f
commit
5349a922e4
2 changed files with 20 additions and 0 deletions
|
@ -43,6 +43,14 @@ void cxxrtl_destroy(cxxrtl_handle handle) {
|
|||
delete handle;
|
||||
}
|
||||
|
||||
int cxxrtl_eval(cxxrtl_handle handle) {
|
||||
return handle->module->eval();
|
||||
}
|
||||
|
||||
int cxxrtl_commit(cxxrtl_handle handle) {
|
||||
return handle->module->commit();
|
||||
}
|
||||
|
||||
size_t cxxrtl_step(cxxrtl_handle handle) {
|
||||
return handle->module->step();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue