SM sram化改造,探针改造,写接口

This commit is contained in:
Ruige Lee
2025-04-23 17:57:38 +08:00
parent 7afd4a1249
commit a555302c71
4 changed files with 215 additions and 210 deletions

View File

@@ -3,6 +3,19 @@ package BACK
import chisel3._
import chisel3.util._
class SRAM2kWRIO extends Bundle {
val addrw = Output(UInt(11.W))
val dataw = Output( UInt(8.W) )
val enw = Output(Bool())
}
class SRAM2kRDIO extends Bundle {
val addrr = Output(UInt(11.W))
val datar = Input( UInt(8.W) )
val enr = Output(Bool())
}
class SRAM2kIO extends Bundle {
val addrr = Output(UInt(11.W))
val addrw = Output(UInt(11.W))