Skip to content

Commit

Permalink
[temp] add SRAMBlackbox(and need to be moved to chisel upstream)
Browse files Browse the repository at this point in the history
  • Loading branch information
sequencer authored and unlsycn committed Nov 28, 2024
1 parent ea03c82 commit 8990169
Show file tree
Hide file tree
Showing 6 changed files with 864 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rocketv/src/HellaCache.scala
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ import chisel3.util.{
PriorityEncoderOH,
PriorityMux,
RegEnable,
SRAM,
SRAMInterface,
UIntToOH
}
Expand All @@ -40,6 +39,7 @@ import org.chipsalliance.amba.axi4.bundle.{
W
}
import org.chipsalliance.dwbb.stdlib.queue.{Queue, QueueIO}
import chisel3.hack.util.SRAM

object HellaCacheParameter {
implicit def bitSetP: upickle.default.ReadWriter[BitSet] = upickle.default
Expand Down
1 change: 1 addition & 0 deletions rocketv/src/ICache.scala
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import chisel3.util.random.LFSR
import chisel3.util._
import org.chipsalliance.amba.axi4.bundle.{AXI4BundleParameter, AXI4ROIrrevocable, AXI4RWIrrevocable}
import org.chipsalliance.dwbb.stdlib.queue.Queue
import chisel3.hack.util.SRAM

case class ICacheParameter(
useAsyncReset: Boolean,
Expand Down
2 changes: 1 addition & 1 deletion rocketv/src/PTW.scala
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ import chisel3.util.{
PriorityEncoder,
PriorityEncoderOH,
RegEnable,
SRAM,
SRAMInterface,
UIntToOH,
Valid
}
import chisel3.hack.util.SRAM

object PTWParameter {
implicit def rwP: upickle.default.ReadWriter[PTWParameter] = upickle.default.macroRW[PTWParameter]
Expand Down
Loading

0 comments on commit 8990169

Please sign in to comment.