Skip to content

Commit

Permalink
fix sram module name
Browse files Browse the repository at this point in the history
  • Loading branch information
unlsycn committed Dec 2, 2024
1 parent ab86b9a commit 492d658
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 @@ -339,7 +339,7 @@ object SRAM {
val mem = Instantiate(
new SRAMBlackbox(
new CIRCTSRAMParameter(
s"sram_${size}x${tpe.getWidth}",
s"sram_${numReadPorts}R_${numWritePorts}W_${numReadwritePorts}RW_${size}x${tpe.getWidth}",
numReadPorts,
numWritePorts,
numReadwritePorts,
Expand Down
2 changes: 1 addition & 1 deletion t1/src/SRAM.scala
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ object SRAM {
val mem = Instantiate(
new SRAMBlackbox(
new CIRCTSRAMParameter(
s"sram_${size}x${tpe.getWidth}",
s"sram_${numReadPorts}R_${numWritePorts}W_${numReadwritePorts}RW_${size}x${tpe.getWidth}",
numReadPorts,
numWritePorts,
numReadwritePorts,
Expand Down

0 comments on commit 492d658

Please sign in to comment.