diff --git a/techlibs/analogdevices/synth_analogdevices.cc b/techlibs/analogdevices/synth_analogdevices.cc index 2973bd619..75fc59e99 100644 --- a/techlibs/analogdevices/synth_analogdevices.cc +++ b/techlibs/analogdevices/synth_analogdevices.cc @@ -495,8 +495,10 @@ struct SynthAnalogDevicesPass : public ScriptPass } if (check_label("edif")) { - if (!edif_file.empty() || help_mode) - run(stringf("write_edif -pvector bra %s", edif_file.c_str())); + if (!edif_file.empty() || help_mode) { + run("delete t:$scopeinfo"); + run(stringf("write_edif %s", edif_file.c_str())); + } } } } SynthAnalogDevicesPass;