mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-06 06:03:23 +00:00
Fixes in $alu SAT- and eval-models
This commit is contained in:
parent
635b922afe
commit
50ac284823
2 changed files with 5 additions and 6 deletions
|
@ -178,8 +178,8 @@ struct ConstEval
|
|||
RTLIL::SigSpec sig_co = cell->getPort("\\CO");
|
||||
|
||||
bool any_input_undef = !(sig_a.is_fully_def() && sig_b.is_fully_def() && sig_ci.is_fully_def() && sig_bi.is_fully_def());
|
||||
sig_a.extend(SIZE(sig_y), signed_a);
|
||||
sig_b.extend(SIZE(sig_y), signed_b);
|
||||
sig_a.extend_u0(SIZE(sig_y), signed_a);
|
||||
sig_b.extend_u0(SIZE(sig_y), signed_b);
|
||||
|
||||
bool carry = sig_ci[0] == RTLIL::S1;
|
||||
bool b_inv = sig_bi[0] == RTLIL::S1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue