mirror of https://github.com/YosysHQ/yosys.git
Merge pull request #4157 from whitequark/cxxrtl-fix-4144
cxxrtl: fix typo in codegen for async set/clear
This commit is contained in:
commit
6707db93b9
|
@ -1446,7 +1446,7 @@ struct CxxrtlWorker {
|
||||||
f << indent;
|
f << indent;
|
||||||
dump_sigspec_lhs(cell->getPort(ID::Q));
|
dump_sigspec_lhs(cell->getPort(ID::Q));
|
||||||
f << " = ";
|
f << " = ";
|
||||||
dump_sigspec_lhs(cell->getPort(ID::Q));
|
dump_sigspec_rhs(cell->getPort(ID::Q));
|
||||||
f << ".update(";
|
f << ".update(";
|
||||||
dump_const(RTLIL::Const(RTLIL::S1, cell->getParam(ID::WIDTH).as_int()));
|
dump_const(RTLIL::Const(RTLIL::S1, cell->getParam(ID::WIDTH).as_int()));
|
||||||
f << ", ";
|
f << ", ";
|
||||||
|
@ -1458,7 +1458,7 @@ struct CxxrtlWorker {
|
||||||
f << indent;
|
f << indent;
|
||||||
dump_sigspec_lhs(cell->getPort(ID::Q));
|
dump_sigspec_lhs(cell->getPort(ID::Q));
|
||||||
f << " = ";
|
f << " = ";
|
||||||
dump_sigspec_lhs(cell->getPort(ID::Q));
|
dump_sigspec_rhs(cell->getPort(ID::Q));
|
||||||
f << ".update(";
|
f << ".update(";
|
||||||
dump_const(RTLIL::Const(RTLIL::S0, cell->getParam(ID::WIDTH).as_int()));
|
dump_const(RTLIL::Const(RTLIL::S0, cell->getParam(ID::WIDTH).as_int()));
|
||||||
f << ", ";
|
f << ", ";
|
||||||
|
|
Loading…
Reference in New Issue