tilelink2 Parameters: fix width=1 address truncation bug
This commit is contained in:
parent
98a4facac7
commit
26f9e2dfbd
@ -322,7 +322,7 @@ case class TLEdgeParameters(
|
|||||||
require (maxTransfer >= manager.beatBytes)
|
require (maxTransfer >= manager.beatBytes)
|
||||||
|
|
||||||
val bundle = TLBundleParameters(
|
val bundle = TLBundleParameters(
|
||||||
addrHiBits = log2Up(manager.maxAddress + 1) - log2Up(manager.beatBytes),
|
addrHiBits = log2Up(manager.maxAddress + 1) - log2Ceil(manager.beatBytes),
|
||||||
dataBits = manager.beatBytes * 8,
|
dataBits = manager.beatBytes * 8,
|
||||||
sourceBits = log2Up(client.endSourceId),
|
sourceBits = log2Up(client.endSourceId),
|
||||||
sinkBits = log2Up(manager.endSinkId),
|
sinkBits = log2Up(manager.endSinkId),
|
||||||
|
Loading…
Reference in New Issue
Block a user