Files
eb001/src/main/scala/backBoard/shin/ShinTop.scala

55 lines
1.3 KiB
Scala
Raw Normal View History

// package BACK
2025-04-02 16:40:25 +08:00
// import chisel3._
// import chisel3.util._
2025-04-02 16:40:25 +08:00
// class ShinTopIO extends Bundle{
// val clk8x = Input(Bool())
// val modeSel = Input(Bool())\
2025-04-02 16:40:25 +08:00
// val dDatIn = Input(Bool())
// val dDatOut = Output(Bool())
// val uDatIn = Input(Bool())
// val uDatOut = Output(Bool())
2025-04-02 16:40:25 +08:00
// val qspi =
// val interrupt = Output(Bool())
// val ctrl = Input(UInt(4.W))
// }
2025-04-02 16:40:25 +08:00
// class ShinTop extends Module{
// val io: ShinTopIO = IO(new ShinTopIO)
2025-04-02 16:40:25 +08:00
// val CDRIn = for( i <- 0 until 2 ) yield { Module(new CDRIn) }
// val CDROut = for( i <- 0 until 2 ) yield { Module(new CDROut) }
2025-04-02 16:40:25 +08:00
// val slaveParser = Module(new SlaveParser )
// val masterParser = Module(new MasterParser)
2025-04-02 16:40:25 +08:00
// val sram = Module(new ShareSRAMDP)
2025-04-02 16:40:25 +08:00
// val interface = Module(new Interface)
2025-04-02 16:40:25 +08:00
// sram.io.addrA := Input(UInt(15.W))
// sram.io.datawA := Input( UInt(8.W) )
// sram.io.datarA := Output( UInt(8.W) )
// sram.io.enwA := Input(Bool())
// sram.io.enrA := Input(Bool())
// sram.io.clockA := Input(Bool())
2025-04-02 16:40:25 +08:00
// sram.io.addrB := Input(UInt(15.W))
// sram.io.datawB := Input( UInt(8.W) )
// sram.io.datarB := Output( UInt(8.W) )
// sram.io.enwB := Input(Bool())
// sram.io.enrB := Input(Bool())
// sram.io.clockB := Input(Bool())
2025-04-02 16:40:25 +08:00
// }