Skip to content

Commit

Permalink
Add optional buffering for C channel as well in error
Browse files Browse the repository at this point in the history
  • Loading branch information
mwachs5 authored Feb 14, 2020
1 parent 3be738b commit eba1fee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scala/devices/tilelink/Error.scala
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class TLError(params: DevNullParams, buffer: Boolean = true, beatBytes: Int = 4)
da.bits.corrupt := edge.hasData(da.bits)

if (params.acquire) {
val c = Queue(in.c, 1)
val c = if (buffer) {Queue(in.c, 1)} else in.c
val dc = Wire(in.d)

val c_last = edge.last(c)
Expand Down

0 comments on commit eba1fee

Please sign in to comment.