Skip to content

Commit

Permalink
[CalyxToHW] Add missing Srsh handling
Browse files Browse the repository at this point in the history
  • Loading branch information
mortbopet committed May 28, 2022
1 parent 32d8134 commit 23af016
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/Conversion/CalyxToHW/CalyxToHW.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,9 @@ struct ConvertCellOp : public OpInterfaceConversionPattern<CellInterface> {
.Case([&](RshLibOp op) {
convertArithBinaryOp<RshLibOp, ShrUOp>(op, wires, b);
})
.Case([&](SrshLibOp op) {
convertArithBinaryOp<SrshLibOp, ShrSOp>(op, wires, b);
})
.Case([&](LshLibOp op) {
convertArithBinaryOp<LshLibOp, ShlOp>(op, wires, b);
})
Expand Down

0 comments on commit 23af016

Please sign in to comment.