mirror of
https://github.com/verilator/verilator.git
synced 2026-09-02 18:58:51 +02:00
Support dynamic loading of VPI extensions (#7727)
This commit is contained in:
@@ -104,6 +104,8 @@ private:
|
||||
puts("\n");
|
||||
|
||||
if (v3Global.opt.vpi()) {
|
||||
// VPI shared libraries requested via +verilator+vpi+<lib> are loaded by
|
||||
// contextp->commandArgs() above, before the statically-linked startup routines.
|
||||
puts("// Hook VPI startup routines and invoke callback\n");
|
||||
puts("if (vlog_startup_routines) {\n");
|
||||
puts(/**/ "for (auto routinep = &vlog_startup_routines[0]; *routinep; routinep++)"
|
||||
|
||||
Reference in New Issue
Block a user