Switch to new XilinxML507MIG and connect top level signals
This commit is contained in:
parent
7b46ed6b7c
commit
291a765b8d
@ -1 +1 @@
|
||||
Subproject commit 79b53cf2ae2478f20ef9716ed0b63444ee7e48d3
|
||||
Subproject commit 589e9960c0f6b0f96e4ba030ce8ed2d59ebf4f05
|
@ -14,7 +14,7 @@ import sifive.blocks.devices.spi._
|
||||
import sifive.blocks.devices.uart._
|
||||
import sifive.blocks.devices.terminal._
|
||||
|
||||
import sifive.freedom.unleashed.u500ml507devkit.fpga._
|
||||
import sifive.fpgashells.devices.xilinx.xilinxml507mig._
|
||||
|
||||
// Default FreedomUML507Config
|
||||
class FreedomUML507Config extends Config(
|
||||
@ -46,7 +46,7 @@ class U500ML507DevKitConfig extends Config(
|
||||
new FreedomUML507Config().alter((site,here,up) => {
|
||||
case ErrorParams => ErrorParams(Seq(AddressSet(0x3000, 0xfff)), maxAtomic=site(XLen)/8, maxTransfer=128)
|
||||
case PeripheryBusKey => up(PeripheryBusKey, site).copy(frequency = 50000000) // 50 MHz hperiphery
|
||||
case MemoryML507Key => MemoryML507Params(address = Seq(AddressSet(0x80000000L,0x10000000L-1))) // 256 MiB
|
||||
case MemoryML507Key => XilinxML507MIGParams(address = Seq(AddressSet(0x80000000L,0x10000000L-1))) // 256 MiB
|
||||
case DTSTimebase => BigInt(1000000)
|
||||
case ExtMem => up(ExtMem).copy(size = 0x40000000L)
|
||||
case JtagDTMKey => new JtagDTMConfig (
|
||||
|
@ -42,6 +42,7 @@ class U500ML507DevKitFPGAChip(implicit override val p: Parameters)
|
||||
//---------------------------------------------------------------------
|
||||
|
||||
connectTerminal (dut)
|
||||
connectDDRMemory(dut)
|
||||
connectDebugJTAG(dut)
|
||||
connectSPI (dut)
|
||||
connectUART (dut)
|
||||
|
@ -15,7 +15,7 @@ import sifive.blocks.devices.spi._
|
||||
import sifive.blocks.devices.uart._
|
||||
import sifive.blocks.devices.terminal._
|
||||
|
||||
import sifive.freedom.unleashed.u500ml507devkit.fpga._
|
||||
import sifive.fpgashells.devices.xilinx.xilinxml507mig._
|
||||
|
||||
//-------------------------------------------------------------------------
|
||||
// U500ML507DevKitSystem
|
||||
@ -40,7 +40,8 @@ class U500ML507DevKitSystemModule[+L <: U500ML507DevKitSystem](_outer: L)
|
||||
with HasPeripheryUARTModuleImp
|
||||
with HasPeripheryTerminalModuleImp
|
||||
with HasPeripherySPIModuleImp
|
||||
with HasPeripheryGPIOModuleImp {
|
||||
with HasPeripheryGPIOModuleImp
|
||||
with HasMemoryML507ModuleImp {
|
||||
// Reset vector is set to the location of the mask rom
|
||||
val maskROMParams = p(PeripheryMaskROMKey)
|
||||
global_reset_vector := maskROMParams(0).address.U
|
||||
|
Loading…
Reference in New Issue
Block a user