1
0

depend on external cde library

This commit is contained in:
Henry Cook 2015-10-21 18:18:32 -07:00
parent 0b7c828b5d
commit 4f8468b60f
14 changed files with 14 additions and 0 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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