mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-05 10:50:25 +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
|
@ -157,9 +157,9 @@ struct FsmExpand
|
|||
A.replace(input_sig, RTLIL::SigSpec(in_val));
|
||||
B.replace(input_sig, RTLIL::SigSpec(in_val));
|
||||
S.replace(input_sig, RTLIL::SigSpec(in_val));
|
||||
assert(A.is_fully_const());
|
||||
assert(B.is_fully_const());
|
||||
assert(S.is_fully_const());
|
||||
log_assert(A.is_fully_const());
|
||||
log_assert(B.is_fully_const());
|
||||
log_assert(S.is_fully_const());
|
||||
truth_tab.push_back(ct.eval(cell, A.as_const(), B.as_const(), S.as_const()));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue