From 1a8f2290c21525d6e4cdf1ebfb44163c1535418f Mon Sep 17 00:00:00 2001 From: Abdul Wadood Date: Sun, 21 May 2023 22:42:01 +0500 Subject: [PATCH] Added `zca` and `zcb` in Device Tree Source Signed-off-by: Abdul Wadood --- src/main/scala/tile/BaseTile.scala | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/scala/tile/BaseTile.scala b/src/main/scala/tile/BaseTile.scala index 1265cb622bb..0ae7674ce66 100644 --- a/src/main/scala/tile/BaseTile.scala +++ b/src/main/scala/tile/BaseTile.scala @@ -113,6 +113,10 @@ trait HasNonDiplomaticTileParameters { Option.when(tileParams.core.useConditionalZero)(Seq("zicond")) ++ Some(Seq("zicsr", "zifencei", "zihpm")) ++ Option.when(tileParams.core.fpu.nonEmpty && tileParams.core.fpu.get.fLen >= 16 && tileParams.core.fpu.get.minFLen <= 16)(Seq("zfh")) ++ + Option.when(tileParams.core.useCompressed)(Seq("zca")) ++ + Option.when(tileParams.core.useCompressedSuiteB)(Seq("zcb")) ++ + Option.when(tileParams.core.useCompressed && tileParams.core.fpu.nonEmpty && tileParams.core.fpu.get.fLen > 32)(Seq("zcd")) ++ + Option.when(tileParams.core.useCompressed && tileParams.core.fpu.nonEmpty)(Seq("zcf")) ++ Option.when(tileParams.core.useBitManip)(Seq("zba", "zbb", "zbc")) ++ Option.when(tileParams.core.hasBitManipCrypto)(Seq("zbkb", "zbkc", "zbkx")) ++ Option.when(tileParams.core.useBitManip)(Seq("zbs")) ++