OpenCores
URL https://opencores.org/ocsvn/riscv_vhdl/riscv_vhdl/trunk

Subversion Repositories riscv_vhdl

[/] [riscv_vhdl/] [trunk/] [rtl/] [patches/] [scala.diff] - Blame information for rev 5

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 5 sergeykhbr
diff --git a/rocket b/rocket
2
--- a/rocket
3
+++ b/rocket
4
@@ -1 +1 @@
5
-Subproject commit b08f86b4fb9ef44d27ddda1b038e0d1cc15f0b24
6
+Subproject commit b08f86b4fb9ef44d27ddda1b038e0d1cc15f0b24-dirty
7
diff --git a/src/main/scala/Configs.scala b/src/main/scala/Configs.scala
8
index f47b21a..8ababc6 100644
9
--- a/src/main/scala/Configs.scala
10
+++ b/src/main/scala/Configs.scala
11
@@ -221,6 +221,15 @@ class DefaultConfig extends Config (
12
 class DefaultVLSIConfig extends DefaultConfig
13
 class DefaultCPPConfig extends DefaultConfig
14
 
15
+class WithoutFPU extends Config(
16
+  (pname,site,here) => pname match {
17
+      case UseFPU => false
18
+      case UseBackupMemoryPort => false
19
+      case MIFDataBits => 128
20
+  }
21
+)
22
+class GnssConfigNoFPU extends Config(new WithoutFPU ++ new DefaultConfig)
23
+
24
 class With2Cores extends Config(knobValues = { case "NTILES" => 2 })
25
 class With4Cores extends Config(knobValues = { case "NTILES" => 4 })
26
 class With8Cores extends Config(knobValues = { case "NTILES" => 8 })
27
diff --git a/src/main/scala/RocketChip.scala b/src/main/scala/RocketChip.scala
28
index 1f053ec..5050281 100644
29
--- a/src/main/scala/RocketChip.scala
30
+++ b/src/main/scala/RocketChip.scala
31
@@ -69,6 +69,7 @@ class BasicTopIO(implicit val p: Parameters) extends ParameterizedBundle()(p)
32
 
33
 class TopIO(implicit p: Parameters) extends BasicTopIO()(p) {
34
   val mem = Vec(new NastiIO, nMemChannels)
35
+  val mmio = new NastiIO
36
 }
37
 
38
 object TopUtils {
39
@@ -118,8 +119,9 @@ class Top(topParams: Parameters) extends Module with HasTopLevelParameters {
40
   }
41
 
42
   // tie off the mmio port
43
-  val errslave = Module(new NastiErrorSlave)
44
-  errslave.io <> uncore.io.mmio
45
+  //val errslave = Module(new NastiErrorSlave)
46
+  //errslave.io <> uncore.io.mmio
47
+  io.mmio <> uncore.io.mmio
48
 }
49
 
50
 /** Wrapper around everything that isn't a Tile.

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.