diff options
author | dh73 <dh73_fpga@qq.com> | 2017-11-08 20:24:01 -0600 |
---|---|---|
committer | dh73 <dh73_fpga@qq.com> | 2017-11-08 20:24:01 -0600 |
commit | cf8cc50bf51c2fa36a3189e131a7e7fe0807ae8f (patch) | |
tree | 456b6aae2215835e602851eafc3b52bb6bb6f3de /passes/opt/opt_rmdff.cc | |
parent | 1fc061d90c45166f87d92f76b6fae1ec517be72f (diff) | |
parent | 9ae25039fb6e28db639372d67c1b72c4170feaa3 (diff) | |
download | yosys-cf8cc50bf51c2fa36a3189e131a7e7fe0807ae8f.tar.gz yosys-cf8cc50bf51c2fa36a3189e131a7e7fe0807ae8f.tar.bz2 yosys-cf8cc50bf51c2fa36a3189e131a7e7fe0807ae8f.zip |
Merge https://github.com/cliffordwolf/yosys
Diffstat (limited to 'passes/opt/opt_rmdff.cc')
-rw-r--r-- | passes/opt/opt_rmdff.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/passes/opt/opt_rmdff.cc b/passes/opt/opt_rmdff.cc index 02f3e93f5..edec42c4d 100644 --- a/passes/opt/opt_rmdff.cc +++ b/passes/opt/opt_rmdff.cc @@ -430,6 +430,8 @@ struct OptRmdffPass : public Pass { assign_map.set(module); dff_init_map.set(module); + mux_drivers.clear(); + init_attributes.clear(); for (auto wire : module->wires()) { @@ -534,6 +536,7 @@ struct OptRmdffPass : public Pass { assign_map.clear(); mux_drivers.clear(); + init_attributes.clear(); if (total_count || total_initdrv) design->scratchpad_set_bool("opt.did_something", true); |