Skip to content

Commit 1a8f229

Browse files
committed
Added zca and zcb in Device Tree Source
Signed-off-by: Abdul Wadood <abdulwadood.afzal88@gmail.com>
1 parent 58c808d commit 1a8f229

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/main/scala/tile/BaseTile.scala

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,10 @@ trait HasNonDiplomaticTileParameters {
113113
Option.when(tileParams.core.useConditionalZero)(Seq("zicond")) ++
114114
Some(Seq("zicsr", "zifencei", "zihpm")) ++
115115
Option.when(tileParams.core.fpu.nonEmpty && tileParams.core.fpu.get.fLen >= 16 && tileParams.core.fpu.get.minFLen <= 16)(Seq("zfh")) ++
116+
Option.when(tileParams.core.useCompressed)(Seq("zca")) ++
117+
Option.when(tileParams.core.useCompressedSuiteB)(Seq("zcb")) ++
118+
Option.when(tileParams.core.useCompressed && tileParams.core.fpu.nonEmpty && tileParams.core.fpu.get.fLen > 32)(Seq("zcd")) ++
119+
Option.when(tileParams.core.useCompressed && tileParams.core.fpu.nonEmpty)(Seq("zcf")) ++
116120
Option.when(tileParams.core.useBitManip)(Seq("zba", "zbb", "zbc")) ++
117121
Option.when(tileParams.core.hasBitManipCrypto)(Seq("zbkb", "zbkc", "zbkx")) ++
118122
Option.when(tileParams.core.useBitManip)(Seq("zbs")) ++

0 commit comments

Comments
 (0)