mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-07 03:31:24 +00:00
Using log_assert() instead of assert()
This commit is contained in:
parent
d86a25f145
commit
7bd2d1064f
52 changed files with 236 additions and 251 deletions
|
@ -24,7 +24,6 @@
|
|||
#include <sstream>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <assert.h>
|
||||
|
||||
static RTLIL::SigSpec find_any_lvalue(const RTLIL::Process *proc)
|
||||
{
|
||||
|
@ -288,7 +287,7 @@ static void proc_dff(RTLIL::Module *mod, RTLIL::Process *proc, ConstEval &ce)
|
|||
inputs.append(it->signal);
|
||||
compare.append(it->type == RTLIL::SyncType::ST0 ? RTLIL::State::S1 : RTLIL::State::S0);
|
||||
}
|
||||
assert(inputs.size() == compare.size());
|
||||
log_assert(inputs.size() == compare.size());
|
||||
|
||||
RTLIL::Cell *cell = mod->addCell(NEW_ID, "$ne");
|
||||
cell->parameters["\\A_SIGNED"] = RTLIL::Const(false, 1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue