mirror of
https://github.com/YosysHQ/yosys
synced 2025-07-24 21:27:00 +00:00
Use State::S{0,1}
This commit is contained in:
parent
3486235338
commit
046e1a5214
10 changed files with 19 additions and 19 deletions
|
@ -301,7 +301,7 @@ struct MemoryMapWorker
|
|||
|
||||
RTLIL::Wire *w = w_seladdr;
|
||||
|
||||
if (wr_bit != RTLIL::SigSpec(1, 1))
|
||||
if (wr_bit != State::S1)
|
||||
{
|
||||
RTLIL::Cell *c = module->addCell(genid(cell->name, "$wren", i, "", j, "", wr_offset), "$and");
|
||||
c->parameters["\\A_SIGNED"] = RTLIL::Const(0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue