1
0

Merge remote-tracking branch 'origin/master' into rocc-fpu-port

This commit is contained in:
Colin Schmidt 2015-10-22 16:38:28 -07:00
commit 652fb393a3
15 changed files with 15 additions and 1 deletions

View File

@ -6,5 +6,5 @@ name := "rocket"
scalaVersion := "2.11.6"
libraryDependencies ++= (Seq("chisel", "hardfloat", "uncore", "junctions").map {
libraryDependencies ++= (Seq("chisel", "hardfloat", "uncore", "junctions", "cde").map {
dep: String => sys.props.get(dep + "Version") map { "edu.berkeley.cs" %% dep % _ }}).flatten

View File

@ -4,6 +4,7 @@ package rocket
import Chisel._
import uncore._
import cde.{Parameters, Field}
class HellaCacheArbiter(n: Int)(implicit p: Parameters) extends Module
{

View File

@ -4,6 +4,7 @@ package rocket
import Chisel._
import junctions._
import cde.{Parameters, Field}
import Util._
case object BtbKey extends Field[BtbParameters]

View File

@ -5,6 +5,7 @@ package rocket
import Chisel._
import Util._
import Instructions._
import cde.{Parameters, Field}
import uncore._
import scala.math._

View File

@ -3,6 +3,7 @@
package rocket
import Chisel._
import cde.{Parameters, Field}
import Instructions._
object ALU

View File

@ -7,6 +7,7 @@ import Instructions._
import Util._
import FPConstants._
import uncore.constants.MemoryOpConstants._
import cde.{Parameters, Field}
case object SFMALatency
case object DFMALatency

View File

@ -3,6 +3,7 @@ package rocket
import Chisel._
import uncore._
import Util._
import cde.{Parameters, Field}
class FrontendReq(implicit p: Parameters) extends CoreBundle()(p) {
val pc = UInt(width = vaddrBitsExtended)

View File

@ -3,6 +3,7 @@ package rocket
import Chisel._
import uncore._
import Util._
import cde.{Parameters, Field}
trait HasL1CacheParameters extends HasCacheParameters with HasCoreParameters {
val outerDataBeats = p(TLKey(p(TLId))).dataBeats

View File

@ -5,6 +5,7 @@ package rocket
import Chisel._
import uncore._
import junctions._
import cde.{Parameters, Field}
import Util._
case object WordBits extends Field[Int]

View File

@ -5,6 +5,7 @@ package rocket
import Chisel._
import uncore._
import Util._
import cde.{Parameters, Field}
class PTWReq(implicit p: Parameters) extends CoreBundle()(p) {
val addr = UInt(width = vpnBits)

View File

@ -5,6 +5,7 @@ package rocket
import Chisel._
import uncore._
import Util._
import cde.{Parameters, Field}
case object RoccMaxTaggedMemXacts extends Field[Int]
case object RoccNMemChannels extends Field[Int]

View File

@ -6,6 +6,7 @@ import Chisel._
import junctions._
import uncore._
import Util._
import cde.{Parameters, Field}
case object UseFPU extends Field[Boolean]
case object FDivSqrt extends Field[Boolean]

View File

@ -5,6 +5,7 @@ package rocket
import Chisel._
import uncore._
import Util._
import cde.{Parameters, Field}
case object CoreName extends Field[String]
case object BuildRoCC extends Field[Option[Parameters => RoCC]]

View File

@ -6,6 +6,7 @@ import Chisel._
import Util._
import junctions._
import scala.math._
import cde.{Parameters, Field}
case object NTLBEntries extends Field[Int]

View File

@ -5,6 +5,7 @@ package rocket
import Chisel._
import uncore._
import scala.math._
import cde.{Parameters, Field}
object Util {
implicit def intToUInt(x: Int): UInt = UInt(x)