Skip to content

Commit

Permalink
read_liberty: Fix omitted helper change
Browse files Browse the repository at this point in the history
  • Loading branch information
povik committed Aug 13, 2024
1 parent 309d808 commit ab5d6b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontends/liberty/liberty.cc
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ static RTLIL::SigSpec create_tristate(RTLIL::Module *module, RTLIL::SigSpec func
RTLIL::Cell *cell = module->addCell(NEW_ID, ID($tribuf));
cell->setParam(ID::WIDTH, GetSize(func));
cell->setPort(ID::A, func);
cell->setPort(ID::EN, create_inv_cell(module, three_state));
cell->setPort(ID::EN, module->NotGate(NEW_ID, three_state));
cell->setPort(ID::Y, module->addWire(NEW_ID));
return cell->getPort(ID::Y);
}
Expand Down

0 comments on commit ab5d6b0

Please sign in to comment.