Lines Matching refs:length
54 - byte-enable length may be smaller than transasction length
60 words, where N is the length in words
75 """ contains read_not_write, address, length, byte_enable,
82 (self.address, self.length, self.bus_width, self.data_width, \
107 length = random.choice(lengths)
114 length = length * data_width,
117 stream_width = length * data_width,
121 belen = length
123 belen = min(random.choice(lengths), length)
126 if random.random() < pr_stream and length > 1:
127 strlen = length
131 (random.random() < 0.5 and (length/strlen)*strlen == length):
175 full_byte_enable = txn.byte_enable * (1+txn.length/len(txn.byte_enable))
178 end = txn.length + d_pos
184 length = txn.data_width,
200 full_byte_enable = txn.byte_enable * (1+txn.length/len(txn.byte_enable))
203 while bytes_done < txn.length:
208 length = txn.stream_width,
224 end_address = txn.address + txn.length
233 length = txn.data_width,
245 new_txn.length += txn.data_width
262 length = txn.length,
265 stream_width = txn.length,
271 length = txn.length,
274 stream_width = txn.length,
281 while be_pos < txn.length:
313 if txn.stream_width < txn.length: return False
314 if txn.byte_enable and len(txn.byte_enable) < txn.length: return False
320 if txn.stream_width < txn.length: return False
321 if txn.byte_enable and len(txn.byte_enable) < txn.length: return False
324 nr_bus_words = txn.length / txn.bus_width
325 if nr_bus_words * txn.bus_width != txn.length: return False
330 if txn.length != txn.data_width: return False
332 end_base_addr = (txn.address + txn.length - 1) / txn.bus_width
338 if txn.length != txn.data_width: return False