1
0

io.cnt bug in serializer

This commit is contained in:
Henry Cook 2014-04-14 17:12:30 -07:00
parent 1da8ef2ddf
commit 444d0449e3

View File

@ -201,6 +201,7 @@ class FlowThroughSerializer[T <: HasTileLinkData](gen: LogicalNetworkIO[T], n: I
when(io.out.ready) {
cnt := cnt + UInt(1)
when(wrap) {
cnt := UInt(0)
io.done := Bool(true)
active := Bool(false)
}