mirror of
https://github.com/YosysHQ/yosys
synced 2025-07-13 07:56:40 +00:00
Fixed some visual studio warnings
This commit is contained in:
parent
6f1d694171
commit
bcc873b805
8 changed files with 10 additions and 10 deletions
|
@ -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"));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue