1
0
rocket-chip/uncore
Palmer Dabbelt 1ac9f59b31 Allow SCR files to be enumerated in C headers
Right now there's no way to ensure that SCR addresses don't conflict within
RocketChip.  Since upstream only has one of them this isn't a big deal, but we
want to add a whole bunch more to control all the IP on Hurricane.

This patch adds some Scala code to allocate registers inside the SCR file,
ensure they don't conflict, to provide names for SCRs, attach registers to the
SCR file, and generate a C header file that contains the addresses of every SCR
on a chip.

With this patch we'll be able to get rid of that constant in the testbench.
This also allows us to kill one of the Raven diffs, which is does pretty much
the same thing (just in a second SCR file, and hacked in).
2016-02-17 14:21:12 -08:00
..
project add plugins to make scala doc site and publish to ghpages 2015-04-29 15:34:56 -07:00
src/main/scala Allow SCR files to be enumerated in C headers 2016-02-17 14:21:12 -08:00
.gitignore First pages commit 2015-04-29 13:18:26 -07:00
build.sbt Add ability to generate libraryDependency on cde. 2015-10-22 09:57:02 -07:00
LICENSE First pages commit 2015-04-29 13:18:26 -07:00
README.md update README.md 2015-07-29 11:49:21 -07:00

Uncore Library

This is the repository for uncore components assosciated with Rocket chip project. To uses these modules, include this repo as a git submodule within the your chip repository and add it as a project in your chip's build.scala. These components are only dependent on the ucb-bar/chisel repo, i.e.

lazy val uncore = project.dependsOn(chisel)

ScalaDoc for the uncore library is available here and an overview of the TileLink Protocol is available here, with associated CoherencePolicy documentation here.