Skip to content

Commit

Permalink
Merge pull request #2581 from chipsalliance/om-zfh
Browse files Browse the repository at this point in the history
Teach OM about Zfh extension
  • Loading branch information
aswaterman authored Jul 31, 2020
2 parents 97b8255 + 8484386 commit 7def834
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ class RocketLogicalTreeNode(
Seq(OMRocketCore(
isa = OMISA.rocketISA(tile, XLen, PgLevels),
mulDiv = coreParams.mulDiv.map{ md => OMMulDiv.makeOMI(md, XLen)},
fpu = coreParams.fpu.map{f => OMFPU(fLen = f.fLen)},
fpu = coreParams.fpu.map{f => OMFPU(fLen = f.fLen, minFLen = 32)},
performanceMonitor = PerformanceMonitor.perfmon(coreParams),
pmp = OMPMP.pmp(coreParams),
documentationName = rocketParams.name.getOrElse("rocket"),
Expand Down
1 change: 1 addition & 0 deletions src/main/scala/diplomaticobjectmodel/model/OMFPU.scala
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ package freechips.rocketchip.diplomaticobjectmodel.model

case class OMFPU(
fLen: Int,
minFLen: Int,
_types: Seq[String] = Seq("OMFPU", "OMComponent", "OMCompoundType")
) extends OMComponent

0 comments on commit 7def834

Please sign in to comment.