depend on external cde library
This commit is contained in:
parent
11eacda84a
commit
9c3cd8f9fe
@ -3,6 +3,7 @@
|
||||
package junctions
|
||||
|
||||
import Chisel._
|
||||
import cde.{Parameters, Field}
|
||||
import scala.collection.mutable.HashMap
|
||||
|
||||
case object PAddrBits extends Field[Int]
|
||||
|
@ -1,6 +1,7 @@
|
||||
package junctions
|
||||
|
||||
import Chisel._
|
||||
import cde.{Parameters, Field}
|
||||
|
||||
trait HastiConstants
|
||||
{
|
||||
|
@ -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]
|
||||
|
@ -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]
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
package junctions
|
||||
|
||||
import Chisel._
|
||||
import cde.{Parameters, Field}
|
||||
|
||||
abstract trait PociConstants
|
||||
{
|
||||
|
@ -1,6 +1,7 @@
|
||||
package junctions
|
||||
|
||||
import Chisel._
|
||||
import cde.Parameters
|
||||
|
||||
class SMIReq(val dataWidth: Int, val addrWidth: Int) extends Bundle {
|
||||
val rw = Bool()
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user