mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-20 12:53:39 +00:00
Fixed a few VS warnings
This commit is contained in:
parent
18cb8b4636
commit
34caeeb4f3
3 changed files with 3 additions and 3 deletions
|
@ -107,7 +107,7 @@ struct SatGen
|
|||
{
|
||||
log_assert(timestep != 0);
|
||||
std::string pf = prefix + (timestep == -1 ? "" : stringf("@%d:", timestep));
|
||||
return imported_signals[pf].count(bit);
|
||||
return imported_signals[pf].count(bit) != 0;
|
||||
}
|
||||
|
||||
void getAsserts(RTLIL::SigSpec &sig_a, RTLIL::SigSpec &sig_en, int timestep = -1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue