From a08872c0e97ab9306179ebbd9ae478c8d1fd0058 Mon Sep 17 00:00:00 2001 From: Andrew Waterman Date: Fri, 25 Sep 2015 17:05:28 -0700 Subject: [PATCH] val -> def in static object --- junctions/src/main/scala/nasti.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/junctions/src/main/scala/nasti.scala b/junctions/src/main/scala/nasti.scala index 8d76fc9c..26306e54 100644 --- a/junctions/src/main/scala/nasti.scala +++ b/junctions/src/main/scala/nasti.scala @@ -148,8 +148,8 @@ object NASTIReadAddressChannel { } object NASTIWriteDataChannel { - private val strobeBits = new NASTIWriteDataChannel().nastiWStrobeBits - val fullStrobe = Fill(strobeBits, UInt(1, 1)) + private def strobeBits = new NASTIWriteDataChannel().nastiWStrobeBits + def fullStrobe = Fill(strobeBits, UInt(1, 1)) def apply(data: UInt, strb: UInt = fullStrobe, last: Bool = Bool(true)) = { val w = Wire(new NASTIWriteDataChannel) w.strb := strb