1
0

TransferSizes: just because a device CAN do more does not mean it should (#15)

Capping TransferSizes at 128 fits nicely in 3 size bits.
This commit is contained in:
Wesley W. Terpstra 2017-12-10 00:42:11 -08:00 committed by GitHub
parent ba7beb676d
commit 8b0d7ec91a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -38,8 +38,8 @@ class XilinxVC707MIGIsland(c : XilinxVC707MIGParams)(implicit p: Parameters) ext
resources = device.reg,
regionType = RegionType.UNCACHED,
executable = true,
supportsWrite = TransferSizes(1, 256*8),
supportsRead = TransferSizes(1, 256*8))),
supportsWrite = TransferSizes(1, 128),
supportsRead = TransferSizes(1, 128))),
beatBytes = 8)))
lazy val module = new LazyModuleImp(this) {

View File

@ -196,8 +196,8 @@ class VC707AXIToPCIeX1(implicit p:Parameters) extends LazyModule
address = List(AddressSet(0x60000000L, 0x1fffffffL)),
resources = Seq(Resource(device, "ranges")),
executable = true,
supportsWrite = TransferSizes(1, 256),
supportsRead = TransferSizes(1, 256))),
supportsWrite = TransferSizes(1, 128),
supportsRead = TransferSizes(1, 128))),
beatBytes = 8)))
val control = AXI4SlaveNode(Seq(AXI4SlavePortParameters(