Add FPUParams.fLen option, decoupled from xLen

This commit is contained in:
Andrew Waterman committed 2018-02-20 16:16:39 -08:00
1 parent 5e35015651
commit b487448961
4 files changed
+6 -5

No files matched your search

+2 -2
View File
@@ -333,8 +333,8 @@ class CSRFile(perfEventSets: EventSets = new EventSets(Seq()))(implicit p: Param
val isaMaskString =
(if (usingMulDiv) "M" else "") +
(if (usingAtomics) "A" else "") +
(if (usingFPU) "F" else "") +
(if (usingFPU && xLen > 32) "D" else "") +
(if (fLen >= 32) "F" else "") +
(if (fLen >= 64) "D" else "") +
(if (usingCompressed) "C" else "") +
(if (usingRoCC) "X" else "")
val isaString = "I" + isaMaskString +