xilinxvc707pciex1: better wrapper for AXI4-Lite control node (#12)
This commit is contained in:
parent
9cb80ac913
commit
178ac84b59
@ -38,18 +38,16 @@ class XilinxVC707PCIeX1(implicit p: Parameters) extends LazyModule {
|
|||||||
axi_to_pcie_x1.control :=
|
axi_to_pcie_x1.control :=
|
||||||
AXI4Buffer()(
|
AXI4Buffer()(
|
||||||
AXI4UserYanker()(
|
AXI4UserYanker()(
|
||||||
AXI4Fragmenter()(
|
|
||||||
AXI4IdIndexer(idBits=0)(
|
|
||||||
TLToAXI4(beatBytes=4)(
|
TLToAXI4(beatBytes=4)(
|
||||||
control)))))
|
TLFragmenter(4, p(coreplex.CacheBlockBytes))(
|
||||||
|
control))))
|
||||||
|
|
||||||
master :=
|
master :=
|
||||||
TLWidthWidget(8)(
|
TLWidthWidget(8)(
|
||||||
AXI4ToTL()(
|
AXI4ToTL()(
|
||||||
AXI4UserYanker(capMaxFlight=Some(8))(
|
AXI4UserYanker(capMaxFlight=Some(8))(
|
||||||
AXI4Fragmenter()(
|
AXI4Fragmenter()(
|
||||||
AXI4IdIndexer(idBits=0)(
|
axi_to_pcie_x1.master))))
|
||||||
axi_to_pcie_x1.master)))))
|
|
||||||
|
|
||||||
intnode := axi_to_pcie_x1.intnode
|
intnode := axi_to_pcie_x1.intnode
|
||||||
|
|
||||||
|
@ -205,7 +205,8 @@ class VC707AXIToPCIeX1(implicit p:Parameters) extends LazyModule
|
|||||||
address = List(AddressSet(0x50000000L, 0x03ffffffL)),
|
address = List(AddressSet(0x50000000L, 0x03ffffffL)),
|
||||||
resources = device.reg,
|
resources = device.reg,
|
||||||
supportsWrite = TransferSizes(1, 4),
|
supportsWrite = TransferSizes(1, 4),
|
||||||
supportsRead = TransferSizes(1, 4))),
|
supportsRead = TransferSizes(1, 4),
|
||||||
|
interleavedId = Some(0))), // AXI4-Lite never interleaves responses
|
||||||
beatBytes = 4)))
|
beatBytes = 4)))
|
||||||
|
|
||||||
val master = AXI4MasterNode(Seq(AXI4MasterPortParameters(
|
val master = AXI4MasterNode(Seq(AXI4MasterPortParameters(
|
||||||
|
Loading…
Reference in New Issue
Block a user