mirror of
https://github.com/YosysHQ/yosys
synced 2026-01-21 01:24:44 +00:00
verific: add support for setting VHDL default library path in VerificPass
This commit is contained in:
parent
8101c87fab
commit
8382980927
1 changed files with 8 additions and 0 deletions
|
|
@ -3688,6 +3688,14 @@ struct VerificPass : public Pass {
|
|||
veri_file::AddLOption(args[++argidx].c_str());
|
||||
continue;
|
||||
}
|
||||
if (GetSize(args) > argidx && args[argidx] == "-set_vhdl_default_library_path") {
|
||||
for (argidx++; argidx < GetSize(args); argidx++) {
|
||||
#ifdef VERIFIC_VHDL_SUPPORT
|
||||
vhdl_file::SetDefaultLibraryPath(args[argidx].c_str());
|
||||
#endif
|
||||
}
|
||||
goto check_error;
|
||||
}
|
||||
#endif
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue