aboutsummaryrefslogtreecommitdiffstats
path: root/passes/opt
diff options
context:
space:
mode:
authorwhitequark <whitequark@whitequark.org>2018-12-07 17:04:41 +0000
committerwhitequark <whitequark@whitequark.org>2018-12-07 17:04:41 +0000
commit9eb03d458dcb2a3ba91a84739e764558b26e335c (patch)
treeb003e9a5caf2352c6ce0907f638b503664527119 /passes/opt
parenta8ab7228240fb227f4178ca02037cdcf897ee19e (diff)
downloadyosys-9eb03d458dcb2a3ba91a84739e764558b26e335c.tar.gz
yosys-9eb03d458dcb2a3ba91a84739e764558b26e335c.tar.bz2
yosys-9eb03d458dcb2a3ba91a84739e764558b26e335c.zip
opt_lut: show original truth table for both cells.
Diffstat (limited to 'passes/opt')
-rw-r--r--passes/opt/opt_lut.cc5
1 files changed, 3 insertions, 2 deletions
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);