Skip to content
This repository has been archived by the owner on Mar 2, 2021. It is now read-only.

u500: disable PCIe #42

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile.u500vc707devkit
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# See LICENSE for license details.
base_dir := $(patsubst %/,%,$(dir $(abspath $(lastword $(MAKEFILE_LIST)))))
BUILD_DIR := $(base_dir)/builds/u500vc707devkit
BUILD_DIR := $(base_dir)/builds/u500vc707devkit-nopcie
FPGA_DIR := $(base_dir)/fpga-shells/xilinx
MODEL := U500VC707DevKitFPGAChip
PROJECT := sifive.freedom.unleashed.u500vc707devkit
Expand Down
2 changes: 0 additions & 2 deletions src/main/scala/unleashed/u500vc707devkit/FPGAChip.scala
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ object PinGen {

class U500VC707DevKitFPGAChip(implicit override val p: Parameters)
extends VC707Shell
with HasPCIe
with HasDDR3 {

//-----------------------------------------------------------------------
Expand All @@ -48,7 +47,6 @@ class U500VC707DevKitFPGAChip(implicit override val p: Parameters)
connectDebugJTAG(dut)
connectSPI (dut)
connectUART (dut)
connectPCIe (dut)
connectMIG (dut)

//---------------------------------------------------------------------
Expand Down
6 changes: 2 additions & 4 deletions src/main/scala/unleashed/u500vc707devkit/System.scala
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ class U500VC707DevKitSystem(implicit p: Parameters) extends RocketCoreplex
with HasPeripheryUART
with HasPeripherySPI
with HasPeripheryGPIO
with HasMemoryXilinxVC707MIG
with HasSystemXilinxVC707PCIeX1 {
with HasMemoryXilinxVC707MIG {
override lazy val module = new U500VC707DevKitSystemModule(this)
}

Expand All @@ -40,8 +39,7 @@ class U500VC707DevKitSystemModule[+L <: U500VC707DevKitSystem](_outer: L)
with HasPeripheryUARTModuleImp
with HasPeripherySPIModuleImp
with HasPeripheryGPIOModuleImp
with HasMemoryXilinxVC707MIGModuleImp
with HasSystemXilinxVC707PCIeX1ModuleImp {
with HasMemoryXilinxVC707MIGModuleImp {
// Reset vector is set to the location of the mask rom
val maskROMParams = p(PeripheryMaskROMKey)
global_reset_vector := maskROMParams(0).address.U
Expand Down