Skip to content

Commit

Permalink
Fix wire detection
Browse files Browse the repository at this point in the history
  • Loading branch information
mmicko committed May 29, 2024
1 parent 64cb914 commit 4715f9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion techlibs/nanoxplore/nx_carry.cc
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ static void nx_carry_chain(Module *module)
IdString names_A[] = { ID(A1), ID(A2), ID(A3), ID(A4) };
IdString names_B[] = { ID(B1), ID(B2), ID(B3), ID(B4) };
IdString names_S[] = { ID(S1), ID(S2), ID(S3), ID(S4) };
if (c.second.at(0)->getPort(ID(CI)).is_wire()) {
if (c.second.at(0)->getPort(ID(CI)).as_bit().is_wire()) {
cell = module->addCell(NEW_ID, ID(NX_CY));
cell->setPort(ID(CI), State::S0);

Expand Down

0 comments on commit 4715f9c

Please sign in to comment.