From 61faa93fab886228840cc72cae0100af9411c789 Mon Sep 17 00:00:00 2001 From: "Wesley W. Terpstra" Date: Fri, 3 Nov 2017 16:31:53 -0700 Subject: [PATCH] u500: disable PCIe --- Makefile.u500vc707devkit | 2 +- src/main/scala/unleashed/u500vc707devkit/FPGAChip.scala | 2 -- src/main/scala/unleashed/u500vc707devkit/System.scala | 6 ++---- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/Makefile.u500vc707devkit b/Makefile.u500vc707devkit index 70692fa..0c83bbc 100644 --- a/Makefile.u500vc707devkit +++ b/Makefile.u500vc707devkit @@ -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 diff --git a/src/main/scala/unleashed/u500vc707devkit/FPGAChip.scala b/src/main/scala/unleashed/u500vc707devkit/FPGAChip.scala index 9ac7667..056610f 100644 --- a/src/main/scala/unleashed/u500vc707devkit/FPGAChip.scala +++ b/src/main/scala/unleashed/u500vc707devkit/FPGAChip.scala @@ -29,7 +29,6 @@ object PinGen { class U500VC707DevKitFPGAChip(implicit override val p: Parameters) extends VC707Shell - with HasPCIe with HasDDR3 { //----------------------------------------------------------------------- @@ -48,7 +47,6 @@ class U500VC707DevKitFPGAChip(implicit override val p: Parameters) connectDebugJTAG(dut) connectSPI (dut) connectUART (dut) - connectPCIe (dut) connectMIG (dut) //--------------------------------------------------------------------- diff --git a/src/main/scala/unleashed/u500vc707devkit/System.scala b/src/main/scala/unleashed/u500vc707devkit/System.scala index 1a02d0e..489e5ef 100644 --- a/src/main/scala/unleashed/u500vc707devkit/System.scala +++ b/src/main/scala/unleashed/u500vc707devkit/System.scala @@ -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) } @@ -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 -- 2.30.2