Bump firechip
This commit is contained in:
@@ -15,7 +15,7 @@ import freechips.rocketchip.prci.{ClockBundle, ClockBundleParameters}
|
|||||||
import freechips.rocketchip.util.{ResetCatchAndSync}
|
import freechips.rocketchip.util.{ResetCatchAndSync}
|
||||||
import sifive.blocks.devices.uart._
|
import sifive.blocks.devices.uart._
|
||||||
|
|
||||||
import testchipip.serdes.{ExternalSyncSerialIO}
|
import testchipip.serdes.{ExternalSyncPhitIO}
|
||||||
import testchipip.tsi.{SerialRAM}
|
import testchipip.tsi.{SerialRAM}
|
||||||
import icenet.{CanHavePeripheryIceNIC, SimNetwork, NicLoopback, NICKey, NICIOvonly}
|
import icenet.{CanHavePeripheryIceNIC, SimNetwork, NicLoopback, NICKey, NICIOvonly}
|
||||||
|
|
||||||
@@ -69,7 +69,7 @@ class WithFireSimIOCellModels extends Config((site, here, up) => {
|
|||||||
class WithTSIBridgeAndHarnessRAMOverSerialTL extends HarnessBinder({
|
class WithTSIBridgeAndHarnessRAMOverSerialTL extends HarnessBinder({
|
||||||
case (th: FireSim, port: SerialTLPort, chipId: Int) => {
|
case (th: FireSim, port: SerialTLPort, chipId: Int) => {
|
||||||
port.io match {
|
port.io match {
|
||||||
case io: ExternalSyncSerialIO => {
|
case io: ExternalSyncPhitIO => {
|
||||||
io.clock_in := th.harnessBinderClock
|
io.clock_in := th.harnessBinderClock
|
||||||
val ram = Module(LazyModule(new SerialRAM(port.serdesser, port.params)(port.serdesser.p)).module)
|
val ram = Module(LazyModule(new SerialRAM(port.serdesser, port.params)(port.serdesser.p)).module)
|
||||||
ram.io.ser.in <> io.out
|
ram.io.ser.in <> io.out
|
||||||
|
|||||||
@@ -265,7 +265,7 @@ class FireSimSmallSystemConfig extends Config(
|
|||||||
new freechips.rocketchip.subsystem.WithExtMemSize(1 << 28) ++
|
new freechips.rocketchip.subsystem.WithExtMemSize(1 << 28) ++
|
||||||
new testchipip.serdes.WithSerialTL(Seq(testchipip.serdes.SerialTLParams(
|
new testchipip.serdes.WithSerialTL(Seq(testchipip.serdes.SerialTLParams(
|
||||||
client = Some(testchipip.serdes.SerialTLClientParams(idBits = 4)),
|
client = Some(testchipip.serdes.SerialTLClientParams(idBits = 4)),
|
||||||
phyParams = testchipip.serdes.ExternalSyncSerialParams(width=32)
|
phyParams = testchipip.serdes.ExternalSyncSerialPhyParams(phitWidth=32, flitWidth=32)
|
||||||
))) ++
|
))) ++
|
||||||
new testchipip.iceblk.WithBlockDevice ++
|
new testchipip.iceblk.WithBlockDevice ++
|
||||||
new chipyard.config.WithUARTInitBaudRate(BigInt(3686400L)) ++
|
new chipyard.config.WithUARTInitBaudRate(BigInt(3686400L)) ++
|
||||||
|
|||||||
Reference in New Issue
Block a user