val -> def in static object
This commit is contained in:
1 parent
e75674c0cb
commit
a08872c0e9
1 file changed
+2
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user