Skip to content

Commit

Permalink
[RsForney] Delete errPosIf queue from RsForney block.
Browse files Browse the repository at this point in the history
  • Loading branch information
egorman44 committed Jul 9, 2024
1 parent eba79db commit 1896d13
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions src/main/scala/RsForney/RsForney.scala
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ class RsForney extends Module with GfParams {
val errPosIf = Input(Valid(new vecFfsIf(tLen)))
val syndIf = Input(Valid(Vec(redundancy, UInt(symbWidth.W))))
val errValIf = Output(Valid(new vecFfsIf(tLen)))
val errPosOutIf = Output(Valid(new vecFfsIf(tLen)))
})

//////////////////////////////////////
Expand Down Expand Up @@ -60,7 +59,7 @@ class RsForney extends Module with GfParams {
val errVal = Module(new ErrVal)
// TODO: Is 4 Entries enought ?
// TODO: add queue
val queueErrPos = Module(new Queue(new vecFfsIf(tLen), 4))
//val queueErrPos = Module(new Queue(new vecFfsIf(tLen), 4))
// ErrataLocator
errataLoc.io.errPosCoefIf <> errPosCoefIf
errEval.io.errataLocIf <> errataLoc.io.errataLocIf
Expand All @@ -78,15 +77,6 @@ class RsForney extends Module with GfParams {

io.errValIf <> errVal.io.errValIf

queueErrPos.io.enq.valid := io.errPosIf.valid
queueErrPos.io.enq.bits.vec := io.errPosIf.bits.vec
queueErrPos.io.enq.bits.ffs := io.errPosIf.bits.ffs

queueErrPos.io.deq.ready := io.errValIf.valid
io.errPosOutIf.bits.vec := queueErrPos.io.deq.bits.vec
io.errPosOutIf.bits.ffs := queueErrPos.io.deq.bits.ffs
io.errPosOutIf.valid := queueErrPos.io.deq.valid

}

// runMain Rs.GenForney
Expand Down

0 comments on commit 1896d13

Please sign in to comment.