mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-24 01:25:33 +00:00
Undo some ugly stuff and make more attempted fixes
This commit is contained in:
parent
ad1197d5ad
commit
4475b50ffa
4 changed files with 7 additions and 15 deletions
|
@ -195,8 +195,8 @@ void merge_operators(RTLIL::Module *module, RTLIL::Cell *mux, const std::vector<
|
|||
|
||||
for (auto &operand : muxed_operands) {
|
||||
operand.sig.extend_u0(max_width, operand.is_signed);
|
||||
// if (operand.sign != muxed_operands[0].sign)
|
||||
// operand = ExtSigSpec(module->Neg(NEW_ID, operand.sig, operand.is_signed));
|
||||
if (operand.sign != muxed_operands[0].sign)
|
||||
operand = ExtSigSpec(module->Neg(NEW_ID, operand.sig, operand.is_signed));
|
||||
}
|
||||
|
||||
for (const auto& p : ports) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue