Bump fpga-shells
This commit is contained in:
Submodule fpga/fpga-shells updated: 19e0e87ced...dec6398a5c
@@ -18,7 +18,7 @@ import chipyard.{BuildSystem}
|
|||||||
|
|
||||||
// don't use FPGAShell's DesignKey
|
// don't use FPGAShell's DesignKey
|
||||||
class WithNoDesignKey extends Config((site, here, up) => {
|
class WithNoDesignKey extends Config((site, here, up) => {
|
||||||
case DesignKey => (p: Parameters) => new SimpleLazyModule()(p)
|
case DesignKey => (p: Parameters) => new SimpleLazyRawModule()(p)
|
||||||
})
|
})
|
||||||
|
|
||||||
class WithArty100TTweaks extends Config(
|
class WithArty100TTweaks extends Config(
|
||||||
|
|||||||
@@ -5,12 +5,12 @@ import chisel3.util._
|
|||||||
import freechips.rocketchip.diplomacy._
|
import freechips.rocketchip.diplomacy._
|
||||||
import org.chipsalliance.cde.config.{Parameters}
|
import org.chipsalliance.cde.config.{Parameters}
|
||||||
import freechips.rocketchip.tilelink._
|
import freechips.rocketchip.tilelink._
|
||||||
import freechips.rocketchip.prci.{ClockBundle, ClockBundleParameters}
|
import freechips.rocketchip.prci._
|
||||||
import freechips.rocketchip.subsystem.{SystemBusKey}
|
import freechips.rocketchip.subsystem.{SystemBusKey}
|
||||||
|
|
||||||
import sifive.fpgashells.shell.xilinx._
|
import sifive.fpgashells.shell.xilinx._
|
||||||
import sifive.fpgashells.shell._
|
import sifive.fpgashells.shell._
|
||||||
import sifive.fpgashells.clocks.{ClockGroup, ClockSinkNode, PLLFactoryKey, ResetWrangler}
|
import sifive.fpgashells.clocks._
|
||||||
import sifive.fpgashells.ip.xilinx.{IBUF, PowerOnResetFPGAOnly}
|
import sifive.fpgashells.ip.xilinx.{IBUF, PowerOnResetFPGAOnly}
|
||||||
|
|
||||||
import sifive.blocks.devices.uart._
|
import sifive.blocks.devices.uart._
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ import chipyard.{BuildSystem}
|
|||||||
|
|
||||||
// don't use FPGAShell's DesignKey
|
// don't use FPGAShell's DesignKey
|
||||||
class WithNoDesignKey extends Config((site, here, up) => {
|
class WithNoDesignKey extends Config((site, here, up) => {
|
||||||
case DesignKey => (p: Parameters) => new SimpleLazyModule()(p)
|
case DesignKey => (p: Parameters) => new SimpleLazyRawModule()(p)
|
||||||
})
|
})
|
||||||
|
|
||||||
// DOC include start: WithNexysVideoTweaks and Rocket
|
// DOC include start: WithNexysVideoTweaks and Rocket
|
||||||
|
|||||||
@@ -7,10 +7,10 @@ import freechips.rocketchip.diplomacy._
|
|||||||
import org.chipsalliance.cde.config.{Parameters}
|
import org.chipsalliance.cde.config.{Parameters}
|
||||||
import freechips.rocketchip.tilelink._
|
import freechips.rocketchip.tilelink._
|
||||||
import freechips.rocketchip.subsystem.{SystemBusKey}
|
import freechips.rocketchip.subsystem.{SystemBusKey}
|
||||||
|
import freechips.rocketchip.prci._
|
||||||
import sifive.fpgashells.shell.xilinx._
|
import sifive.fpgashells.shell.xilinx._
|
||||||
import sifive.fpgashells.shell._
|
import sifive.fpgashells.shell._
|
||||||
import sifive.fpgashells.clocks.{ClockGroup, ClockSinkNode, PLLFactoryKey, ResetWrangler}
|
import sifive.fpgashells.clocks._
|
||||||
|
|
||||||
import sifive.blocks.devices.uart._
|
import sifive.blocks.devices.uart._
|
||||||
|
|
||||||
|
|||||||
@@ -7,11 +7,12 @@ import org.chipsalliance.cde.config.{Parameters}
|
|||||||
import freechips.rocketchip.tilelink._
|
import freechips.rocketchip.tilelink._
|
||||||
import freechips.rocketchip.subsystem.{SystemBusKey}
|
import freechips.rocketchip.subsystem.{SystemBusKey}
|
||||||
import freechips.rocketchip.diplomacy.{IdRange, TransferSizes}
|
import freechips.rocketchip.diplomacy.{IdRange, TransferSizes}
|
||||||
|
import freechips.rocketchip.prci._
|
||||||
|
|
||||||
import sifive.fpgashells.shell.xilinx.{VC707Shell, UARTVC707ShellPlacer, PCIeVC707ShellPlacer, ChipLinkVC707PlacedOverlay}
|
import sifive.fpgashells.shell.xilinx.{VC707Shell, UARTVC707ShellPlacer, PCIeVC707ShellPlacer, ChipLinkVC707PlacedOverlay}
|
||||||
import sifive.fpgashells.ip.xilinx.{IBUF, PowerOnResetFPGAOnly}
|
import sifive.fpgashells.ip.xilinx.{IBUF, PowerOnResetFPGAOnly}
|
||||||
import sifive.fpgashells.shell._
|
import sifive.fpgashells.shell._
|
||||||
import sifive.fpgashells.clocks.{ClockGroup, ClockSinkNode, PLLFactoryKey, ResetWrangler}
|
import sifive.fpgashells.clocks.{PLLFactoryKey}
|
||||||
import sifive.fpgashells.devices.xilinx.xilinxvc707pciex1.{XilinxVC707PCIeX1IO}
|
import sifive.fpgashells.devices.xilinx.xilinxvc707pciex1.{XilinxVC707PCIeX1IO}
|
||||||
|
|
||||||
import sifive.blocks.devices.uart.{PeripheryUARTKey, UARTPortIO}
|
import sifive.blocks.devices.uart.{PeripheryUARTKey, UARTPortIO}
|
||||||
@@ -88,6 +89,7 @@ class VC707FPGATestHarness(override implicit val p: Parameters) extends VC707She
|
|||||||
}
|
}
|
||||||
|
|
||||||
class VC707FPGATestHarnessImp(_outer: VC707FPGATestHarness) extends LazyRawModuleImp(_outer) with HasHarnessInstantiators {
|
class VC707FPGATestHarnessImp(_outer: VC707FPGATestHarness) extends LazyRawModuleImp(_outer) with HasHarnessInstantiators {
|
||||||
|
override def provideImplicitClockToLazyChildren = true
|
||||||
val vc707Outer = _outer
|
val vc707Outer = _outer
|
||||||
|
|
||||||
val reset = IO(Input(Bool())).suggestName("reset")
|
val reset = IO(Input(Bool())).suggestName("reset")
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import chisel3._
|
|||||||
import freechips.rocketchip.diplomacy._
|
import freechips.rocketchip.diplomacy._
|
||||||
import org.chipsalliance.cde.config.{Parameters, Field}
|
import org.chipsalliance.cde.config.{Parameters, Field}
|
||||||
import freechips.rocketchip.tilelink.{TLInwardNode, TLAsyncCrossingSink}
|
import freechips.rocketchip.tilelink.{TLInwardNode, TLAsyncCrossingSink}
|
||||||
|
import freechips.rocketchip.prci._
|
||||||
import sifive.fpgashells.shell._
|
import sifive.fpgashells.shell._
|
||||||
import sifive.fpgashells.ip.xilinx._
|
import sifive.fpgashells.ip.xilinx._
|
||||||
import sifive.fpgashells.shell.xilinx._
|
import sifive.fpgashells.shell.xilinx._
|
||||||
@@ -79,7 +79,7 @@ class DDR2VCU118PlacedOverlay(val shell: VCU118FPGATestHarness, name: String, va
|
|||||||
ui.reset := /*!port.mmcm_locked ||*/ port.c0_ddr4_ui_clk_sync_rst
|
ui.reset := /*!port.mmcm_locked ||*/ port.c0_ddr4_ui_clk_sync_rst
|
||||||
port.c0_sys_clk_i := sys.clock.asUInt
|
port.c0_sys_clk_i := sys.clock.asUInt
|
||||||
port.sys_rst := sys.reset // pllReset
|
port.sys_rst := sys.reset // pllReset
|
||||||
port.c0_ddr4_aresetn := !ar.reset
|
port.c0_ddr4_aresetn := !(ar.reset.asBool)
|
||||||
|
|
||||||
// This was just copied from the SiFive example, but it's hard to follow.
|
// This was just copied from the SiFive example, but it's hard to follow.
|
||||||
// The pins are emitted in the following order:
|
// The pins are emitted in the following order:
|
||||||
|
|||||||
@@ -8,11 +8,11 @@ import org.chipsalliance.cde.config.{Parameters}
|
|||||||
import freechips.rocketchip.tilelink._
|
import freechips.rocketchip.tilelink._
|
||||||
import freechips.rocketchip.diplomacy.{IdRange, TransferSizes}
|
import freechips.rocketchip.diplomacy.{IdRange, TransferSizes}
|
||||||
import freechips.rocketchip.subsystem.{SystemBusKey}
|
import freechips.rocketchip.subsystem.{SystemBusKey}
|
||||||
|
import freechips.rocketchip.prci._
|
||||||
import sifive.fpgashells.shell.xilinx._
|
import sifive.fpgashells.shell.xilinx._
|
||||||
import sifive.fpgashells.ip.xilinx.{IBUF, PowerOnResetFPGAOnly}
|
import sifive.fpgashells.ip.xilinx.{IBUF, PowerOnResetFPGAOnly}
|
||||||
import sifive.fpgashells.shell._
|
import sifive.fpgashells.shell._
|
||||||
import sifive.fpgashells.clocks.{ClockGroup, ClockSinkNode, PLLFactoryKey, ResetWrangler}
|
import sifive.fpgashells.clocks._
|
||||||
|
|
||||||
import sifive.blocks.devices.uart.{PeripheryUARTKey, UARTPortIO}
|
import sifive.blocks.devices.uart.{PeripheryUARTKey, UARTPortIO}
|
||||||
import sifive.blocks.devices.spi.{PeripherySPIKey, SPIPortIO}
|
import sifive.blocks.devices.spi.{PeripherySPIKey, SPIPortIO}
|
||||||
@@ -91,6 +91,7 @@ class VCU118FPGATestHarness(override implicit val p: Parameters) extends VCU118S
|
|||||||
}
|
}
|
||||||
|
|
||||||
class VCU118FPGATestHarnessImp(_outer: VCU118FPGATestHarness) extends LazyRawModuleImp(_outer) with HasHarnessInstantiators {
|
class VCU118FPGATestHarnessImp(_outer: VCU118FPGATestHarness) extends LazyRawModuleImp(_outer) with HasHarnessInstantiators {
|
||||||
|
override def provideImplicitClockToLazyChildren = true
|
||||||
val vcu118Outer = _outer
|
val vcu118Outer = _outer
|
||||||
|
|
||||||
val reset = IO(Input(Bool())).suggestName("reset")
|
val reset = IO(Input(Bool())).suggestName("reset")
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import freechips.rocketchip.diplomacy._
|
|||||||
import org.chipsalliance.cde.config._
|
import org.chipsalliance.cde.config._
|
||||||
import freechips.rocketchip.subsystem._
|
import freechips.rocketchip.subsystem._
|
||||||
import freechips.rocketchip.tilelink._
|
import freechips.rocketchip.tilelink._
|
||||||
|
import freechips.rocketchip.prci._
|
||||||
import sifive.fpgashells.shell.xilinx._
|
import sifive.fpgashells.shell.xilinx._
|
||||||
import sifive.fpgashells.ip.xilinx._
|
import sifive.fpgashells.ip.xilinx._
|
||||||
import sifive.fpgashells.shell._
|
import sifive.fpgashells.shell._
|
||||||
|
|||||||
Reference in New Issue
Block a user