mirror of https://github.com/YosysHQ/yosys.git
Merge pull request #4505 from YosysHQ/micko/ext_register
Initialize extensions when Verific pass is registered
This commit is contained in:
commit
7c3666ff68
|
@ -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 New Issue