Skip to content

Commit

Permalink
[omreaderlib] expose all sram
Browse files Browse the repository at this point in the history
Signed-off-by: Avimitin <[email protected]>
  • Loading branch information
Avimitin authored and sequencer committed Dec 9, 2024
1 parent c9a36d4 commit aa1365d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion omreaderlib/src/T1OMReaderAPI.scala
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ object Path {
case class Path(top: String, hierarchy: Seq[(String, String)], local: Option[String]) {
def module: String = hierarchy.last._2
def path: String = hierarchy.map(_._1).mkString(".")
def instanceName: String = hierarchy.last._1.split("_").head
def instanceName: String = hierarchy.last._1
}

/** Public Module under T1 should implement Modules below. */
Expand Down
2 changes: 1 addition & 1 deletion omreaderlib/src/t1rocketv/T1RocketTile.scala
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class T1RocketTile(val mlirbc: Array[Byte]) extends T1OMReaderAPI {
.elements()
.map(_.asInstanceOf[PanamaCIRCTOMEvaluatorValueObject].field("vrf"))
.flatMap { vrf =>
val srams = vrf
val srams = vrf
.asInstanceOf[PanamaCIRCTOMEvaluatorValueObject]
.field("srams")
.asInstanceOf[PanamaCIRCTOMEvaluatorValueList]
Expand Down

0 comments on commit aa1365d

Please sign in to comment.