RAS.scala (c6d439803a044ea209139672b25e35fe8d7f4aa0) RAS.scala (5e414fe2a1de082137d59bf53033b3792ed98e79)
1/***************************************************************************************
2* Copyright (c) 2020-2021 Institute of Computing Technology, Chinese Academy of Sciences
3*
4* XiangShan is licensed under Mulan PSL v2.
5* You can use this software according to the terms and conditions of the Mulan PSL v2.
6* You may obtain a copy of Mulan PSL v2 at:
7* http://license.coscl.org.cn/MulanPSL2
8*

--- 7 unchanged lines hidden (view full) ---

16package xiangshan.frontend
17
18import chipsalliance.rocketchip.config.Parameters
19import chisel3._
20import chisel3.util._
21import xiangshan._
22import utils._
23import chisel3.experimental.chiselName
1/***************************************************************************************
2* Copyright (c) 2020-2021 Institute of Computing Technology, Chinese Academy of Sciences
3*
4* XiangShan is licensed under Mulan PSL v2.
5* You can use this software according to the terms and conditions of the Mulan PSL v2.
6* You may obtain a copy of Mulan PSL v2 at:
7* http://license.coscl.org.cn/MulanPSL2
8*

--- 7 unchanged lines hidden (view full) ---

16package xiangshan.frontend
17
18import chipsalliance.rocketchip.config.Parameters
19import chisel3._
20import chisel3.util._
21import xiangshan._
22import utils._
23import chisel3.experimental.chiselName
24import scala.tools.nsc.doc.base.comment.Bold
25
26class RASEntry()(implicit p: Parameters) extends XSBundle {
27 val retAddr = UInt(VAddrBits.W)
28 val ctr = UInt(8.W) // layer of nested call functions
29}
30
31@chiselName
32class RAS(implicit p: Parameters) extends BasePredictor

--- 201 unchanged lines hidden ---
24
25class RASEntry()(implicit p: Parameters) extends XSBundle {
26 val retAddr = UInt(VAddrBits.W)
27 val ctr = UInt(8.W) // layer of nested call functions
28}
29
30@chiselName
31class RAS(implicit p: Parameters) extends BasePredictor

--- 201 unchanged lines hidden ---