diff options
author | Clifford Wolf <clifford@clifford.at> | 2016-02-13 17:31:24 +0100 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2016-02-13 17:31:24 +0100 |
commit | bcc873b805f8ec74422752da530b71d8d762bded (patch) | |
tree | effe0c5495a8c2a55235bd2db1bd635923d97528 /passes/memory/memory_dff.cc | |
parent | 6f1d694171a5fd667f05402cc4e93fe2c66428e4 (diff) | |
download | yosys-bcc873b805f8ec74422752da530b71d8d762bded.tar.gz yosys-bcc873b805f8ec74422752da530b71d8d762bded.tar.bz2 yosys-bcc873b805f8ec74422752da530b71d8d762bded.zip |
Fixed some visual studio warnings
Diffstat (limited to 'passes/memory/memory_dff.cc')
-rw-r--r-- | passes/memory/memory_dff.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/passes/memory/memory_dff.cc b/passes/memory/memory_dff.cc index 2eec0207b..beb2016a9 100644 --- a/passes/memory/memory_dff.cc +++ b/passes/memory/memory_dff.cc @@ -164,7 +164,7 @@ struct MemoryDffWorker if (mux_cells_a.count(sig_data) || mux_cells_b.count(sig_data)) { - bool enable_invert = mux_cells_a.count(sig_data); + bool enable_invert = mux_cells_a.count(sig_data) != 0; Cell *mux = enable_invert ? mux_cells_a.at(sig_data) : mux_cells_b.at(sig_data); SigSpec check_q = sigmap(mux->getPort(enable_invert ? "\\B" : "\\A")); |