ip_xact/vhdl_reg_map_generator.py
def calc_addr_indices(self, block):
		"""
        Calculates low and high index of address vector necessary for addressing
        given memory block. Each word is addressed and LSBs of address to address
        within a word is truncated.
		"""
		addr_lind = self.calc_addr_width_from_size(self.wrdWidthByte)
		addr_hind = self.calc_addr_width_from_size(block.range) - 1 

		return [addr_hind, addr_lind]

        Calculates low and high index of address vector necessary for addressing
        given memory block. Each word is addressed and LSBs of address to address
        within a word is truncated.
		
Calculates low and high index of address vector necessary for addressing
given memory block. Each word is addressed and LSBs of address to address
within a word is truncated.
Calculates low and high index of address vector necessary for addressing given memory block . Each word is addressed and LSBs of address to address within a word is truncated .
def calc_addr_indices(self, block):
		addr_lind = self.calc_addr_width_from_size(self.wrdWidthByte)
		addr_hind = self.calc_addr_width_from_size(block.range) - 1 
		return [addr_hind, addr_lind]
def calc_addr_indices ( self , block ) : addr_lind = self . calc_addr_width_from_size ( self . wrdWidthByte ) addr_hind = self . calc_addr_width_from_size ( block . range ) - 1 return [ addr_hind , addr_lind ]
Calculates low and high index of address vector necessary for addressing
given memory block.
Calculates low and high index of address vector necessary for addressing given memory block .
"""
        Calculates low and high index of address vector necessary for addressing
        given memory block. Each word is addressed and LSBs of address to address
        within a word is truncated.
		"""
self
block