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

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

113 val tlb = Output(new TlbCsrBundle)
114 // Debug Mode
115 // val singleStep = Output(Bool())
116 val debugMode = Output(Bool())
117 // Custom microarchiture ctrl signal
118 val customCtrl = Output(new CustomCSRCtrlIO)
119 // instruction fetch address translation type
120 val instrAddrTransType = Output(new AddrTransType)
1/***************************************************************************************
2* Copyright (c) 2020-2021 Institute of Computing Technology, Chinese Academy of Sciences
3* Copyright (c) 2020-2021 Peng Cheng Laboratory
4*
5* XiangShan is licensed under Mulan PSL v2.
6* You can use this software according to the terms and conditions of the Mulan PSL v2.
7* You may obtain a copy of Mulan PSL v2 at:
8* http://license.coscl.org.cn/MulanPSL2

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

113 val tlb = Output(new TlbCsrBundle)
114 // Debug Mode
115 // val singleStep = Output(Bool())
116 val debugMode = Output(Bool())
117 // Custom microarchiture ctrl signal
118 val customCtrl = Output(new CustomCSRCtrlIO)
119 // instruction fetch address translation type
120 val instrAddrTransType = Output(new AddrTransType)
121 // ack for axireg from imsic. which indicates imsic can work actively
122 val msiAck = Output(Bool())
121}
122
123class VtypeStruct(implicit p: Parameters) extends XSBundle {
124 val vill = UInt(1.W)
125 val reserved = UInt((XLEN - 9).W)
126 val vma = UInt(1.W)
127 val vta = UInt(1.W)
128 val vsew = UInt(3.W)

--- 1539 unchanged lines hidden ---
123}
124
125class VtypeStruct(implicit p: Parameters) extends XSBundle {
126 val vill = UInt(1.W)
127 val reserved = UInt((XLEN - 9).W)
128 val vma = UInt(1.W)
129 val vta = UInt(1.W)
130 val vsew = UInt(3.W)

--- 1539 unchanged lines hidden ---