Skip to content

Commit

Permalink
fix mask granularity
Browse files Browse the repository at this point in the history
  • Loading branch information
unlsycn committed Dec 2, 2024
1 parent 7d01a7d commit ab86b9a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rocketv/src/SRAM.scala
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ object SRAM {
size.intValue,
tpe.getWidth,
tpe match {
case vec: Vec[_] => vec.size
case vec: Vec[_] if isVecMem => vec.sample_element.getWidth
case _ => 0
}
)
Expand Down
2 changes: 1 addition & 1 deletion t1/src/SRAM.scala
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ object SRAM {
size.intValue,
tpe.getWidth,
tpe match {
case vec: Vec[_] => vec.size
case vec: Vec[_] if isVecMem => vec.sample_element.getWidth
case _ => 0
}
)
Expand Down

0 comments on commit ab86b9a

Please sign in to comment.