Skip to content

Commit ff6c1b0

Browse files
committed
In -> parmys/parmys-plugin/parmys_update.cc: Updated lines 509 and 511 so luptr->bits.at(i) is luptr->bits().at(i). New yosys changed ->bits from member to function
1 parent 54e1df0 commit ff6c1b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

parmys/parmys-plugin/parmys_update.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -506,9 +506,9 @@ void define_logical_function_yosys(nnode_t *node, Module *module)
506506
lutptr = &cell->parameters.at(ID::LUT);
507507
for (int i = 0; i < (1 << node->num_input_pins); i++) {
508508
if (i == 3 || i == 5 || i == 6 || i == 7) //"011 1\n101 1\n110 1\n111 1\n"
509-
lutptr->bits.at(i) = RTLIL::State::S1;
509+
lutptr->bits().at(i) = RTLIL::State::S1;
510510
else
511-
lutptr->bits.at(i) = RTLIL::State::S0;
511+
lutptr->bits().at(i) = RTLIL::State::S0;
512512
}
513513
} else {
514514
cell->parameters[ID::A_WIDTH] = RTLIL::Const(int(node->num_input_pins));

0 commit comments

Comments
 (0)