diff options
author | Eddie Hung <eddie@fpgeh.com> | 2019-08-10 08:26:41 -0700 |
---|---|---|
committer | Eddie Hung <eddie@fpgeh.com> | 2019-08-10 08:26:41 -0700 |
commit | 02b0d328ad4eadd2011344ef30e718262932cff8 (patch) | |
tree | 9a2f12a02bc3de4c72a3a33c48940a9db93149e1 /passes/opt/opt_expr.cc | |
parent | 849e0eeab4408ed23d16abbf9d98a3603b770514 (diff) | |
download | yosys-02b0d328ad4eadd2011344ef30e718262932cff8.tar.gz yosys-02b0d328ad4eadd2011344ef30e718262932cff8.tar.bz2 yosys-02b0d328ad4eadd2011344ef30e718262932cff8.zip |
cover_list -> cover as per @cliffordwolf
Diffstat (limited to 'passes/opt/opt_expr.cc')
-rw-r--r-- | passes/opt/opt_expr.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/passes/opt/opt_expr.cc b/passes/opt/opt_expr.cc index 66f360f6e..c803b5d3d 100644 --- a/passes/opt/opt_expr.cc +++ b/passes/opt/opt_expr.cc @@ -659,7 +659,7 @@ void replace_const_cells(RTLIL::Design *design, RTLIL::Module *module, bool cons break; } if (i > 0) { - cover_list("opt.opt_expr.fine", "$add", "$sub", cell->type.str()); + cover("opt.opt_expr.fine", "$add", "$sub", cell->type.str()); cell->setPort("\\A", sig_a.extract_end(i)); cell->setPort("\\B", sig_b.extract_end(i)); cell->setPort("\\Y", sig_y.extract_end(i)); @@ -704,7 +704,7 @@ void replace_const_cells(RTLIL::Design *design, RTLIL::Module *module, bool cons break; } if (i > 0) { - cover_list("opt.opt_expr.fine", "$alu", cell->type.str()); + cover_list("opt.opt_expr.fine.$alu"); cell->setPort("\\A", sig_a.extract_end(i)); cell->setPort("\\B", sig_b.extract_end(i)); cell->setPort("\\X", sig_x.extract_end(i)); |