ip_xact/addr_generator.py
def calc_blk_wrd_span(self, block, accesses=[""]):
		"""
		Calculate minimal address span for address block with registers of
		given access types.
		Returns:
			[low_addr, high_addr] - Lowest higher addresses within a block
				with registers of given access types.
		"""
		low_addr = block.range
		high_addr = 0

		for reg in block.register:
			if (not (self.reg_has_access_type(reg, accesses))):
				continue

			if (reg.addressOffset < low_addr):
				low_addr = self.align_addr_to_wrd(reg.addressOffset) 

			if (reg.addressOffset > high_addr):
				high_addr = self.align_addr_to_wrd(reg.addressOffset)

		return [low_addr, high_addr]

		Calculate minimal address span for address block with registers of
		given access types.
		Returns:
			[low_addr, high_addr] - Lowest higher addresses within a block
				with registers of given access types.
		
Calculate minimal address span for address block with registers of
given access types.
Calculate minimal address span for address block with registers of given access types .
def calc_blk_wrd_span(self, block, accesses=[""]):
		low_addr = block.range
		high_addr = 0
		for reg in block.register:
			if (not (self.reg_has_access_type(reg, accesses))):
				continue
			if (reg.addressOffset < low_addr):
				low_addr = self.align_addr_to_wrd(reg.addressOffset) 
			if (reg.addressOffset > high_addr):
				high_addr = self.align_addr_to_wrd(reg.addressOffset)
		return [low_addr, high_addr]
def calc_blk_wrd_span ( self , block , accesses = [ "" ] ) : low_addr = block . range high_addr = 0 for reg in block . register : if ( not ( self . reg_has_access_type ( reg , accesses ) ) ) : continue if ( reg . addressOffset < low_addr ) : low_addr = self . align_addr_to_wrd ( reg . addressOffset ) if ( reg . addressOffset > high_addr ) : high_addr = self . align_addr_to_wrd ( reg . addressOffset ) return [ low_addr , high_addr ]
Calculate minimal address span for address block with registers of
given access types.
Calculate minimal address span for address block with registers of given access types .
"""
		Calculate minimal address span for address block with registers of
		given access types.
		Returns:
			[low_addr, high_addr] - Lowest higher addresses within a block
				with registers of given access types.
		"""
[low_addr, high_addr] - Lowest higher addresses within a block
with registers of given access types.
[ low_addr high_addr ] - Lowest higher addresses within a block with registers of given access types .
self
block
accesses