consts file doesn't depend on WIDTH_PVFB if HAVE_PVFB == false
This commit is contained in:
parent
130fa95ed6
commit
32a16d183f
@ -5,12 +5,16 @@ import scala.math._
|
||||
|
||||
object Constants
|
||||
{
|
||||
val NTILES = 1
|
||||
val NTILES = 2
|
||||
val HAVE_RVC = false
|
||||
val HAVE_FPU = true
|
||||
val HAVE_VEC = true
|
||||
|
||||
val MAX_THREADS = hwacha.Constants.NUM_PVFB * hwacha.Constants.WIDTH_PVFB / hwacha.Constants.SZ_BANK
|
||||
val MAX_THREADS =
|
||||
if(hwacha.Constants.HAVE_PVFB)
|
||||
hwacha.Constants.NUM_PVFB * hwacha.Constants.WIDTH_PVFB / hwacha.Constants.SZ_BANK
|
||||
else
|
||||
256
|
||||
|
||||
val HTIF_WIDTH = 16
|
||||
val MEM_BACKUP_WIDTH = HTIF_WIDTH
|
||||
|
Loading…
Reference in New Issue
Block a user