mirror of
https://github.com/YosysHQ/yosys
synced 2025-07-28 06:57:57 +00:00
Added "plugin" command
This commit is contained in:
parent
752650a062
commit
a3494fa9ed
6 changed files with 136 additions and 10 deletions
|
@ -22,6 +22,7 @@
|
|||
#include <readline/readline.h>
|
||||
#include <readline/history.h>
|
||||
|
||||
#include <dlfcn.h>
|
||||
#include <unistd.h>
|
||||
#include <limits.h>
|
||||
|
||||
|
@ -98,6 +99,12 @@ void yosys_shutdown()
|
|||
yosys_tcl_interp = NULL;
|
||||
}
|
||||
#endif
|
||||
|
||||
for (auto &it : loaded_plugins)
|
||||
dlclose(it.second);
|
||||
|
||||
loaded_plugins.clear();
|
||||
loaded_plugin_aliases.clear();
|
||||
}
|
||||
|
||||
RTLIL::IdString new_id(std::string file, int line, std::string func)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue