diff options
author | Clifford Wolf <clifford@clifford.at> | 2018-12-16 15:27:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-16 15:27:23 +0100 |
commit | 556341a77fccd990fa8c06c78b2b41a956b9b98f (patch) | |
tree | 3d17ec6597da109b30b13f3d1d92fdfef489ad65 /passes/opt/opt_lut.cc | |
parent | 0b9bb852c66ec2a6e9b4b510b3e2e32b8c6a6b16 (diff) | |
parent | d1f2cb01dcde4bd8972e28df9e600a4060b77344 (diff) | |
download | yosys-556341a77fccd990fa8c06c78b2b41a956b9b98f.tar.gz yosys-556341a77fccd990fa8c06c78b2b41a956b9b98f.tar.bz2 yosys-556341a77fccd990fa8c06c78b2b41a956b9b98f.zip |
Merge pull request #720 from whitequark/master
lut2mux: handle 1-bit INIT constant in $lut cells
Diffstat (limited to 'passes/opt/opt_lut.cc')
-rw-r--r-- | passes/opt/opt_lut.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/passes/opt/opt_lut.cc b/passes/opt/opt_lut.cc index ba2cc6ee7..be050c713 100644 --- a/passes/opt/opt_lut.cc +++ b/passes/opt/opt_lut.cc @@ -58,7 +58,7 @@ struct OptLutWorker } } - return lut_table.extract(lut_index).as_int(); + return lut_table.extract(lut_index).as_bool(); } void show_stats_by_arity() |