mirror of https://github.com/YosysHQ/yosys.git
Fix handling of signed memories
Signed-off-by: Clifford Wolf <clifford@clifford.at>
This commit is contained in:
parent
848c3c5c88
commit
fe2ee833e1
|
@ -1300,6 +1300,9 @@ RTLIL::SigSpec AstNode::genRTLIL(int width_hint, bool sign_hint)
|
|||
cell->parameters["\\CLK_POLARITY"] = RTLIL::Const(0);
|
||||
cell->parameters["\\TRANSPARENT"] = RTLIL::Const(0);
|
||||
|
||||
if (!sign_hint)
|
||||
is_signed = false;
|
||||
|
||||
return RTLIL::SigSpec(wire);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue