From: whitequark Date: Fri, 7 Dec 2018 17:04:41 +0000 (+0000) Subject: opt_lut: show original truth table for both cells. X-Git-Tag: yosys-0.9~390^2~1 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9eb03d458dcb2a3ba91a84739e764558b26e335c;p=yosys.git opt_lut: show original truth table for both cells. --- diff --git a/passes/opt/opt_lut.cc b/passes/opt/opt_lut.cc index ee3943f9c..4207fbdb9 100644 --- a/passes/opt/opt_lut.cc +++ b/passes/opt/opt_lut.cc @@ -388,8 +388,9 @@ struct OptLutWorker lutM_new_table[eval] = (RTLIL::State) evaluate_lut(lutB, eval_inputs); } - log(" Old truth table: %s.\n", lutM->getParam("\\LUT").as_string().c_str()); - log(" New truth table: %s.\n", lutM_new_table.as_string().c_str()); + log(" Cell A truth table: %s.\n", lutA->getParam("\\LUT").as_string().c_str()); + log(" Cell B truth table: %s.\n", lutB->getParam("\\LUT").as_string().c_str()); + log(" Merged truth table: %s.\n", lutM_new_table.as_string().c_str()); lutM->setParam("\\LUT", lutM_new_table); lutM->setPort("\\A", lutM_new_inputs);