mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-04 13:21:23 +00:00
Remove annoying neg thing
This commit is contained in:
parent
5173e329ea
commit
4e39064b88
1 changed files with 2 additions and 2 deletions
|
@ -195,8 +195,8 @@ void merge_operators(RTLIL::Module *module, RTLIL::Cell *mux, const std::vector<
|
||||||
|
|
||||||
for (auto &operand : muxed_operands) {
|
for (auto &operand : muxed_operands) {
|
||||||
operand.sig.extend_u0(max_width, operand.is_signed);
|
operand.sig.extend_u0(max_width, operand.is_signed);
|
||||||
if (operand.sign != muxed_operands[0].sign)
|
// if (operand.sign != muxed_operands[0].sign)
|
||||||
operand = ExtSigSpec(module->Neg(NEW_ID, operand.sig, operand.is_signed));
|
// operand = ExtSigSpec(module->Neg(NEW_ID, operand.sig, operand.is_signed));
|
||||||
}
|
}
|
||||||
|
|
||||||
for (const auto& p : ports) {
|
for (const auto& p : ports) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue