提交 309e22d0 编写于 作者: J JinYue

[WIP]IFU: build a simple framework

上级 01614dad
package xiangshan.frontend
import chipsalliance.rocketchip.config.Parameters
import chisel3._
import chisel3.util._
import xiangshan._
import utils._
class FtqInterface(implicit p: Parameters) extends XSBundle {
val startAddr = UInt(64.W)
val target = UInt(64.W)
val hit = Bool()
}
class ICacheMeta
class IFUIO(implicit p: Parameters) extends XSBundle {
val FtqInterface
val ICacheInterface
val toIbuffer
}
@chiselName
class IFU(implicit p: Parameters) extends XSModule
{
val io = IO(new IFUIO)
val toFtq = io.FtqInterface.toFtq
val fromtFtq = io.FtqInterface.fromFtq
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册