ip_xact/vhdl_reg_map_generator.py
def calc_addr_vect_value(self, block):
		"""
		Calculate address vector value for address decoder for reach register
		word.
		"""
		vect_val = ""
		addr_entry_width = self.calc_wrd_address_width(block)

		# Check if register is present on a given word, if yes, append it to the
		# vector.
		[low_addr, high_addr] = self.calc_blk_wrd_span(block)
		high_addr += self.wrdWidthByte

		for wrd_addr in range(low_addr, high_addr, self.wrdWidthByte):
			regs_in_wrd = self.get_regs_from_word(wrd_addr, block)

			# Word with no registers can be skipped, nothing is appended to
			# address vector
			if (not regs_in_wrd):
				continue;

			# Append address vector value
			shifted_val = int(wrd_addr / self.wrdWidthByte)
			vect_val = str("{:06b}".format(shifted_val)) + vect_val

		return vect_val

		Calculate address vector value for address decoder for reach register
		word.
		
Calculate address vector value for address decoder for reach register
word.
Calculate address vector value for address decoder for reach register word .
def calc_addr_vect_value(self, block):
		vect_val = ""
		addr_entry_width = self.calc_wrd_address_width(block)
		[low_addr, high_addr] = self.calc_blk_wrd_span(block)
		high_addr += self.wrdWidthByte
		for wrd_addr in range(low_addr, high_addr, self.wrdWidthByte):
			regs_in_wrd = self.get_regs_from_word(wrd_addr, block)
			if (not regs_in_wrd):
				continue;
			shifted_val = int(wrd_addr / self.wrdWidthByte)
			vect_val = str("{:06b}".format(shifted_val)) + vect_val
		return vect_val
def calc_addr_vect_value ( self , block ) : vect_val = "" addr_entry_width = self . calc_wrd_address_width ( block ) [ low_addr , high_addr ] = self . calc_blk_wrd_span ( block ) high_addr += self . wrdWidthByte for wrd_addr in range ( low_addr , high_addr , self . wrdWidthByte ) : regs_in_wrd = self . get_regs_from_word ( wrd_addr , block ) if ( not regs_in_wrd ) : continue ; shifted_val = int ( wrd_addr / self . wrdWidthByte ) vect_val = str ( "{:06b}" . format ( shifted_val ) ) + vect_val return vect_val
Calculate address vector value for address decoder for reach register
word.
Calculate address vector value for address decoder for reach register word .
"""
		Calculate address vector value for address decoder for reach register
		word.
		""" # Check if register is present on a given word, if yes, append it to the # vector. # Word with no registers can be skipped, nothing is appended to # address vector # Append address vector value
self
block