val -> def in static object
This commit is contained in:
		@@ -148,8 +148,8 @@ object NASTIReadAddressChannel {
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
object NASTIWriteDataChannel {
 | 
					object NASTIWriteDataChannel {
 | 
				
			||||||
  private val strobeBits = new NASTIWriteDataChannel().nastiWStrobeBits
 | 
					  private def strobeBits = new NASTIWriteDataChannel().nastiWStrobeBits
 | 
				
			||||||
  val fullStrobe = Fill(strobeBits, UInt(1, 1))
 | 
					  def fullStrobe = Fill(strobeBits, UInt(1, 1))
 | 
				
			||||||
  def apply(data: UInt, strb: UInt = fullStrobe, last: Bool = Bool(true)) = {
 | 
					  def apply(data: UInt, strb: UInt = fullStrobe, last: Bool = Bool(true)) = {
 | 
				
			||||||
    val w = Wire(new NASTIWriteDataChannel)
 | 
					    val w = Wire(new NASTIWriteDataChannel)
 | 
				
			||||||
    w.strb := strb
 | 
					    w.strb := strb
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user