mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-06 17:44:09 +00:00
Initialize extensions when verific pass is registered
This commit is contained in:
parent
118b2829db
commit
9566709426
|
@ -3006,6 +3006,11 @@ bool check_noverific_env()
|
||||||
|
|
||||||
struct VerificPass : public Pass {
|
struct VerificPass : public Pass {
|
||||||
VerificPass() : Pass("verific", "load Verilog and VHDL designs using Verific") { }
|
VerificPass() : Pass("verific", "load Verilog and VHDL designs using Verific") { }
|
||||||
|
|
||||||
|
#ifdef YOSYSHQ_VERIFIC_EXTENSIONS
|
||||||
|
void on_register() override { VerificExtensions::Reset(); }
|
||||||
|
#endif
|
||||||
|
|
||||||
void help() override
|
void help() override
|
||||||
{
|
{
|
||||||
// |---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|
|
// |---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|
|
||||||
|
|
Loading…
Reference in a new issue