Skip to content

Commit

Permalink
Added zca and zcb in Device Tree Source
Browse files Browse the repository at this point in the history
Signed-off-by: Abdul Wadood <abdulwadood.afzal88@gmail.com>
  • Loading branch information
Abdulwadoodd committed May 21, 2023
1 parent 58c808d commit 1a8f229
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/scala/tile/BaseTile.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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")) ++
Expand Down

0 comments on commit 1a8f229

Please sign in to comment.