package.scala (c6922c785ea5163872fe2123f90957e816372e2b) | package.scala (518d86588c9b2d06b514bf268da5d10fc897f3e8) |
---|---|
1import chisel3._ 2import chisel3.util._ 3 4package object xiangshan { 5 object SrcType { 6 def reg = "b00".U 7 def pc = "b01".U 8 def imm = "b01".U --- 62 unchanged lines hidden (view full) --- 71 object BTBtype { 72 def B = "b00".U // branch 73 def J = "b01".U // jump 74 def I = "b10".U // indirect 75 def R = "b11".U // return 76 77 def apply() = UInt(2.W) 78 } | 1import chisel3._ 2import chisel3.util._ 3 4package object xiangshan { 5 object SrcType { 6 def reg = "b00".U 7 def pc = "b01".U 8 def imm = "b01".U --- 62 unchanged lines hidden (view full) --- 71 object BTBtype { 72 def B = "b00".U // branch 73 def J = "b01".U // jump 74 def I = "b10".U // indirect 75 def R = "b11".U // return 76 77 def apply() = UInt(2.W) 78 } |
79 80 object DPQType { 81 def INT = "b00".U // int dispatch 82 def FP = "b01".U // fp dispatch 83 def LS = "b10".U // ls dispatch 84 85 def apply() = UInt(2.W) 86 } |
|
79} | 87} |