1
0
rocket-chip/rocket/src/main/scala/package.scala

29 lines
670 B
Scala
Raw Normal View History

2012-10-08 05:15:54 +02:00
package rocket
import rocket.constants._
import Chisel._
import scala.math._
//TODO: When compiler bug SI-5604 is fixed in 2.10, change object Constants to
// package object rocket and remove import Constants._'s from other files
object Constants extends
ScalarOpConstants with
2012-10-08 05:15:54 +02:00
MemoryOpConstants with
PCRConstants with
InterruptConstants with
AddressConstants with
VectorOpConstants with
TLBConstants with
MemoryInterfaceConstants
{
def HAVE_RVC = false
def HAVE_FPU = true
def HAVE_VEC = true
2012-10-08 05:15:54 +02:00
val MAX_THREADS =
hwacha.Constants.NUM_PVFB * hwacha.Constants.WIDTH_PVFB / hwacha.Constants.SZ_BANK
val START_ADDR = 0x2000
}