Bump firesim | fix testchipip segfaults
This commit is contained in:
@@ -107,7 +107,7 @@ class WithArty100TSerialTLToGPIO extends HarnessBinder({
|
|||||||
|
|
||||||
// Maps the UART device to the on-board USB-UART
|
// Maps the UART device to the on-board USB-UART
|
||||||
class WithArty100TUART(rxdPin: String = "A9", txdPin: String = "D10") extends HarnessBinder({
|
class WithArty100TUART(rxdPin: String = "A9", txdPin: String = "D10") extends HarnessBinder({
|
||||||
case (th: HasHarnessInstantiators, port: UARTPort) => {
|
case (th: HasHarnessInstantiators, port: UARTPort, chipId: Int) => {
|
||||||
val ath = th.asInstanceOf[LazyRawModuleImp].wrapper.asInstanceOf[Arty100THarness]
|
val ath = th.asInstanceOf[LazyRawModuleImp].wrapper.asInstanceOf[Arty100THarness]
|
||||||
val harnessIO = IO(chiselTypeOf(port.io)).suggestName("uart")
|
val harnessIO = IO(chiselTypeOf(port.io)).suggestName("uart")
|
||||||
harnessIO <> port.io
|
harnessIO <> port.io
|
||||||
@@ -126,7 +126,7 @@ class WithArty100TUART(rxdPin: String = "A9", txdPin: String = "D10") extends Ha
|
|||||||
class WithArty100TPMODUART extends WithArty100TUART("G2", "F3")
|
class WithArty100TPMODUART extends WithArty100TUART("G2", "F3")
|
||||||
|
|
||||||
class WithArty100TJTAG extends HarnessBinder({
|
class WithArty100TJTAG extends HarnessBinder({
|
||||||
case (th: HasHarnessInstantiators, port: JTAGPort) => {
|
case (th: HasHarnessInstantiators, port: JTAGPort, chipId: Int) => {
|
||||||
val ath = th.asInstanceOf[LazyRawModuleImp].wrapper.asInstanceOf[Arty100THarness]
|
val ath = th.asInstanceOf[LazyRawModuleImp].wrapper.asInstanceOf[Arty100THarness]
|
||||||
val harnessIO = IO(chiselTypeOf(port.io)).suggestName("jtag")
|
val harnessIO = IO(chiselTypeOf(port.io)).suggestName("jtag")
|
||||||
harnessIO <> port.io
|
harnessIO <> port.io
|
||||||
|
|||||||
@@ -100,7 +100,7 @@ class WithSimAXIMem extends HarnessBinder({
|
|||||||
case (th: HasHarnessInstantiators, port: AXI4MemPort, chipId: Int) => {
|
case (th: HasHarnessInstantiators, port: AXI4MemPort, chipId: Int) => {
|
||||||
val mem = LazyModule(new SimAXIMem(port.edge, size=port.params.master.size)(Parameters.empty))
|
val mem = LazyModule(new SimAXIMem(port.edge, size=port.params.master.size)(Parameters.empty))
|
||||||
withClock(port.io.clock) { Module(mem.module) }
|
withClock(port.io.clock) { Module(mem.module) }
|
||||||
mem.io_axi4.head <> port.io
|
mem.io_axi4.head <> port.io.bits
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Submodule generators/testchipip updated: b3b7443538...263980a9f5
Submodule sims/firesim updated: e975893595...c113e2d600
Reference in New Issue
Block a user