1package xiangshan.backend.datapath 2 3object RdConfig { 4 sealed abstract class RdConfig() { 5 val port: Int 6 val priority: Int 7 } 8 9 case class IntRD(port: Int = -1, priority: Int = Int.MaxValue) extends RdConfig() 10 11 case class VfRD(port: Int = -1, priority: Int = Int.MaxValue) extends RdConfig() 12} 13 14