spi: work around ucb-bar/chisel3#472
[sifive-blocks.git] / src / main / scala / devices / spi / SPIPhysical.scala
index 6584be8b0272ccd016eb97fc38e97b44a1ff7f70..cb26bc99046e3dbeb273b376e397b31c611b5567 100644 (file)
@@ -12,8 +12,8 @@ class SPIMicroOp(c: SPIConfigBase) extends SPIBundle(c) {
 }
 
 object SPIMicroOp {
-  val Transfer = UInt(0, 1)
-  val Delay    = UInt(1, 1)
+  def Transfer = UInt(0, 1)
+  def Delay    = UInt(1, 1)
 }
 
 class SPIPhyControl(c: SPIConfigBase) extends SPIBundle(c) {