3
0
Fork 0
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:
Clifford Wolf 2014-10-17 06:02:38 +02:00
parent 18cb8b4636
commit 34caeeb4f3
3 changed files with 3 additions and 3 deletions

View file

@ -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)