spi写pll寄存器信号拉到顶层

This commit is contained in:
Ruige Lee
2025-08-27 15:20:43 +08:00
parent dd71c557b7
commit fa3ba57f32
2 changed files with 11 additions and 6 deletions

View File

@@ -32,6 +32,7 @@ class TopBase_IO_Bundle extends Bundle{
val bias = Output(UInt(2.W))
val spiSel = Output(UInt(2.W))
val isPllCfg = Output(Bool())
}
@@ -91,7 +92,8 @@ abstract class MstSlvSwitchBase extends Module with RequireAsyncReset{
io.refTop := interface.io.cReg.refTop
io.bias := interface.io.cReg.bias
io.spiSel := interface.io.cReg.spiSel
io.spiSel := interface.io.cReg.spiSel
io.isPllCfg := interface.io.isPllCfg
val sram = Seq(
for( _ <- 0 until 4 ) yield { Module(new ShareSRAM2k) },