Skip to content

Commit

Permalink
Add ISA extension when Zmmul
Browse files Browse the repository at this point in the history
Signed-off-by: kanataso <[email protected]>
  • Loading branch information
nananapo committed Jul 10, 2023
1 parent 78e8d28 commit b8c5cef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/scala/tile/BaseTile.scala
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ trait HasNonDiplomaticTileParameters {
//Some(Seq("zicntr")) ++
Option.when(tileParams.core.useConditionalZero)(Seq("zicond")) ++
Some(Seq("zicsr", "zifencei", "zihpm")) ++
Option.when(tileParams.core.mulDiv.nonEmpty && !tileParams.core.mulDiv.get.divEnabled)(Seq("zmmul")) ++
Option.when(tileParams.core.fpu.nonEmpty && tileParams.core.fpu.get.fLen >= 16 && tileParams.core.fpu.get.minFLen <= 16)(Seq("zfh")) ++
Option.when(tileParams.core.useBitManip)(Seq("zba", "zbb", "zbc")) ++
Option.when(tileParams.core.hasBitManipCrypto)(Seq("zbkb", "zbkc", "zbkx")) ++
Expand Down

0 comments on commit b8c5cef

Please sign in to comment.