mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-20 21:03:40 +00:00
Some fixes in handling of signed arrays
This commit is contained in:
parent
81bdf0ad0f
commit
56e2bb88ae
2 changed files with 7 additions and 0 deletions
|
@ -1271,6 +1271,7 @@ RTLIL::SigSpec AstNode::genRTLIL(int width_hint, bool sign_hint)
|
|||
wire->attributes["\\src"] = stringf("%s:%d", filename.c_str(), linenum);
|
||||
|
||||
int mem_width, mem_size, addr_bits;
|
||||
is_signed = id2ast->is_signed;
|
||||
id2ast->meminfo(mem_width, mem_size, addr_bits);
|
||||
|
||||
RTLIL::SigSpec addr_sig = children[0]->genRTLIL();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue