ip_xact/addr_generator.py
def addr_reg_lookup(self, fieldReg):
		""" 
		Search the "memMap" for register with the same address offset aligned
		to memory word and return it.
		Arguments:
			fieldReg	Register from the field map to search for in the address
						map.
		"""
		for block in self.memMap.addressBlock:
			for reg in block.register:
				if (reg.addressOffset * 4 == fieldReg.addressOffset):
					return reg
		return None
 
		Search the "memMap" for register with the same address offset aligned
		to memory word and return it.
		Arguments:
			fieldReg	Register from the field map to search for in the address
						map.
		
Search the "memMap" for register with the same address offset aligned
to memory word and return it.
Arguments:
fieldReg        Register from the field map to search for in the address
map.
Search the " memMap " for register with the same address offset aligned to memory word and return it . Arguments : fieldReg Register from the field map to search for in the address map .
def addr_reg_lookup(self, fieldReg):
		for block in self.memMap.addressBlock:
			for reg in block.register:
				if (reg.addressOffset * 4 == fieldReg.addressOffset):
					return reg
		return None
def addr_reg_lookup ( self , fieldReg ) : for block in self . memMap . addressBlock : for reg in block . register : if ( reg . addressOffset * 4 == fieldReg . addressOffset ) : return reg return None
Search the "memMap" for register with the same address offset aligned
to memory word and return it.
Search the " memMap " for register with the same address offset aligned to memory word and return it .
""" 
		Search the "memMap" for register with the same address offset aligned
		to memory word and return it.
		Arguments:
			fieldReg	Register from the field map to search for in the address
						map.
		"""
self
fieldReg