Comparator: don't compare addr_beat when it's irrelevant
This commit is contained in:
parent
669e3b0d96
commit
38a9421c75
@ -338,7 +338,7 @@ class ComparatorSink(implicit val p: Parameters) extends Module
|
||||
|
||||
assert (g.is_builtin_type, "grant not builtin")
|
||||
assert (base.g_type === g.g_type, "g_type mismatch")
|
||||
assert (base.addr_beat === g.addr_beat || !g.hasData(), "addr_beat mismatch")
|
||||
assert (base.addr_beat === g.addr_beat || !g.hasMultibeatData(), "addr_beat mismatch")
|
||||
assert (base.data === g.data || !g.hasData(), "data mismatch")
|
||||
|
||||
assert_conds.zipWithIndex.foreach { case (cond, i) =>
|
||||
|
Loading…
Reference in New Issue
Block a user