1
0

Add new junctions repo as submodule (contains externally facing buses and peripherals).

Bump all submodules.
This commit is contained in:
Henry Cook 2015-07-29 17:56:19 -07:00
parent ee531dc97e
commit 51c42083d0
14 changed files with 24 additions and 13 deletions

3
.gitmodules vendored
View File

@ -22,3 +22,6 @@
[submodule "zscale"] [submodule "zscale"]
path = zscale path = zscale
url = https://github.com/ucb-bar/zscale url = https://github.com/ucb-bar/zscale
[submodule "junctions"]
path = junctions
url = https://github.com/ucb-bar/junctions

View File

@ -14,7 +14,8 @@ SHELL := /bin/bash
CHISEL_ARGS := $(MODEL) --W0W --backend $(BACKEND) --configInstance $(PROJECT).$(CONFIG) --compileInitializationUnoptimized --targetDir $(generated_dir) CHISEL_ARGS := $(MODEL) --W0W --backend $(BACKEND) --configInstance $(PROJECT).$(CONFIG) --compileInitializationUnoptimized --targetDir $(generated_dir)
src_path = src/main/scala src_path = src/main/scala
chisel_srcs = $(base_dir)/$(src_path)/*.scala $(base_dir)/rocket/$(src_path)/*.scala $(base_dir)/uncore/$(src_path)/*.scala $(base_dir)/zscale/$(src_path)/*.scala $(SRC_EXTENSION) default_submodules = . junctions uncore hardfloat rocket zscale
chisel_srcs = $(addprefix $(base_dir)/,$(addsuffix /$(src_path)/*.scala,$(default_submodules)))
disasm := 2> disasm := 2>
which_disasm := $(shell which spike-dasm) which_disasm := $(shell which spike-dasm)

2
chisel

@ -1 +1 @@
Subproject commit cc51775dda66db587b01fee4d29d22c49121fdb5 Subproject commit 8ae531312ff1e1670d690b61297f275474f92bd6

@ -1 +1 @@
Subproject commit e2e06ff615d031be6c7d696b52718ca16cd9c87b Subproject commit 2f5eebd75ff6bdbf10068bbad9fe948bf979d081

1
junctions Submodule

@ -0,0 +1 @@
Subproject commit 6152b1863ef11df83cf7aa5ecc4e4fd0f046e95f

View File

@ -17,8 +17,9 @@ object BuildSettings extends Build {
lazy val chisel = project lazy val chisel = project
lazy val hardfloat = project.dependsOn(chisel) lazy val hardfloat = project.dependsOn(chisel)
lazy val uncore = project.dependsOn(hardfloat) lazy val junctions = project.dependsOn(chisel)
lazy val rocket = project.dependsOn(uncore) lazy val uncore = project.dependsOn(junctions)
lazy val rocket = project.dependsOn(hardfloat,uncore)
lazy val zscale = project.dependsOn(rocket) lazy val zscale = project.dependsOn(rocket)
lazy val rocketchip = (project in file(".")).settings(chipSettings).dependsOn(zscale) lazy val rocketchip = (project in file(".")).settings(chipSettings).dependsOn(zscale)

2
rocket

@ -1 +1 @@
Subproject commit d819fb28c3370747475d7c5f4b641723cab1fd0c Subproject commit 0eefb35b2e8d5f8dd975c460f446ad4f232d8ef0

View File

@ -3,6 +3,7 @@
package rocketchip package rocketchip
import Chisel._ import Chisel._
import junctions._
import uncore._ import uncore._
import rocket._ import rocket._
import rocket.Util._ import rocket.Util._

View File

@ -3,6 +3,7 @@
package rocketchip package rocketchip
import Chisel._ import Chisel._
import junctions._
import uncore._ import uncore._
import rocket._ import rocket._
import rocket.Util._ import rocket.Util._
@ -192,7 +193,7 @@ class OuterMemorySystem extends Module with TopLevelParameters {
} else { } else {
val arb = Module(new RocketChipTileLinkArbiter(managerDepths = backendBuffering))(outerTLParams) val arb = Module(new RocketChipTileLinkArbiter(managerDepths = backendBuffering))(outerTLParams)
val conv1 = Module(new NASTIMasterIOTileLinkIOConverter)(outerTLParams) val conv1 = Module(new NASTIMasterIOTileLinkIOConverter)(outerTLParams)
val conv2 = Module(new MemIONASTISlaveIOConverter) val conv2 = Module(new MemIONASTISlaveIOConverter(params(CacheBlockOffsetBits)))
val conv3 = Module(new MemPipeIOMemIOConverter(nMemReqs)) val conv3 = Module(new MemPipeIOMemIOConverter(nMemReqs))
arb.io.clients <> banks.map(_.outerTL) arb.io.clients <> banks.map(_.outerTL)
conv1.io.tl <> arb.io.managers.head conv1.io.tl <> arb.io.managers.head
@ -206,6 +207,6 @@ class OuterMemorySystem extends Module with TopLevelParameters {
// Create a SerDes for backup memory port // Create a SerDes for backup memory port
if(params(UseBackupMemoryPort)) { if(params(UseBackupMemoryPort)) {
VLSIUtils.doOuterMemorySystemSerdes(mem_channels, io.mem, io.mem_backup, io.mem_backup_en, nMemChannels) VLSIUtils.doOuterMemorySystemSerdes(mem_channels, io.mem, io.mem_backup, io.mem_backup_en, nMemChannels, params(HTIFWidth))
} else { io.mem <> mem_channels } } else { io.mem <> mem_channels }
} }

View File

@ -66,7 +66,7 @@ run-$kind-tests-fast: $$(addprefix $$(output_dir)/, $$(addsuffix .run, $targets)
} else { "\n" } } else { "\n" }
} }
val f = createOutputFile(s"${Driver.topComponent.name}.${Driver.chiselConfigClassName.get}.d") val f = createOutputFile(s"${Driver.topComponent.get.name}.${Driver.chiselConfigClassName.get}.d")
f.write(List(gen("asm", asmSuites.values.toSeq), gen("bmark", bmarkSuites.values.toSeq)).mkString("\n")) f.write(List(gen("asm", asmSuites.values.toSeq), gen("bmark", bmarkSuites.values.toSeq)).mkString("\n"))
f.close f.close
} }

View File

@ -3,6 +3,7 @@
package rocketchip package rocketchip
import Chisel._ import Chisel._
import junctions._
import uncore._ import uncore._
class MemDessert extends Module { class MemDessert extends Module {
@ -18,9 +19,10 @@ object VLSIUtils {
mems: Seq[MemIO], mems: Seq[MemIO],
backup: MemSerializedIO, backup: MemSerializedIO,
en: Bool, en: Bool,
nMemChannels: Int) { nMemChannels: Int,
htifWidth: Int) {
val arb = Module(new MemIOArbiter(nMemChannels)) val arb = Module(new MemIOArbiter(nMemChannels))
val mem_serdes = Module(new MemSerdes) val mem_serdes = Module(new MemSerdes(htifWidth))
mem_serdes.io.wide <> arb.io.outer mem_serdes.io.wide <> arb.io.outer
mem_serdes.io.narrow <> backup mem_serdes.io.narrow <> backup

View File

@ -3,6 +3,7 @@
package rocketchip package rocketchip
import Chisel._ import Chisel._
import junctions._
import uncore._ import uncore._
import rocket._ import rocket._
import zscale._ import zscale._

2
uncore

@ -1 +1 @@
Subproject commit 9da933836eaeaf8825feefa20cecda1a58af35d0 Subproject commit 1ea793c0404dc71600e86fca34ac3d1e60e26a14

2
zscale

@ -1 +1 @@
Subproject commit 1d2c1ef49b00f04ca9c60599fbd2af6d4fe6aa60 Subproject commit bde94d4e739b67661f30750a7a4b7fbbf4b1d2f2