1
0

depend on external cde library

This commit is contained in:
Henry Cook 2015-10-21 18:15:46 -07:00
parent 11eacda84a
commit 9c3cd8f9fe
7 changed files with 7 additions and 0 deletions

View File

@ -3,6 +3,7 @@
package junctions
import Chisel._
import cde.{Parameters, Field}
import scala.collection.mutable.HashMap
case object PAddrBits extends Field[Int]

View File

@ -1,6 +1,7 @@
package junctions
import Chisel._
import cde.{Parameters, Field}
trait HastiConstants
{

View File

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

View File

@ -4,6 +4,7 @@ package junctions
import Chisel._
import scala.math.max
import scala.collection.mutable.ArraySeq
import cde.{Parameters, Field}
case object NastiKey extends Field[NastiParameters]

View File

@ -1,6 +1,7 @@
package junctions
import Chisel._
import cde.{Parameters, Field}
abstract trait PociConstants
{

View File

@ -1,6 +1,7 @@
package junctions
import Chisel._
import cde.Parameters
class SMIReq(val dataWidth: Int, val addrWidth: Int) extends Bundle {
val rw = Bool()

View File

@ -1,6 +1,7 @@
/// See LICENSE for license details.
package junctions
import Chisel._
import cde.Parameters
object bigIntPow2 {
def apply(in: BigInt): Boolean = in > 0 && ((in & (in-1)) == 0)