ip_xact/kern_h_addr_generator.py
def write_mem_map_addr_enum(self):
		"""
		Write addresses of registers within "memBlock" IP-XACT memory block as
		enum to generator output.
		"""
		cmnt = "{} memory map".format(self.memMap.name)
		self.headerGen.write_comment(cmnt, 0, small=True)
		decls = []

		for block in self.memMap.addressBlock:
			for reg in sorted(block.register, key=lambda a: a.addressOffset):
				decls.append(LanDeclaration(("CTUCANFD_" + reg.name).upper(),
											value=reg.addressOffset + block.baseAddress,
											intType="enum"))

		self.headerGen.create_enum(self.prefix.lower() + "_" + self.memMap.name.lower(),
								   decls)

		Write addresses of registers within "memBlock" IP-XACT memory block as
		enum to generator output.
		
Write addresses of registers within "memBlock" IP-XACT memory block as
enum to generator output.
Write addresses of registers within " memBlock " IP - XACT memory block as enum to generator output .
def write_mem_map_addr_enum(self):
		cmnt = "{} memory map".format(self.memMap.name)
		self.headerGen.write_comment(cmnt, 0, small=True)
		decls = []
		for block in self.memMap.addressBlock:
			for reg in sorted(block.register, key=lambda a: a.addressOffset):
				decls.append(LanDeclaration(("CTUCANFD_" + reg.name).upper(),
											value=reg.addressOffset + block.baseAddress,
											intType="enum"))
		self.headerGen.create_enum(self.prefix.lower() + "_" + self.memMap.name.lower(),
								   decls)
def write_mem_map_addr_enum ( self ) : cmnt = "{} memory map" . format ( self . memMap . name ) self . headerGen . write_comment ( cmnt , 0 , small = True ) decls = [ ] for block in self . memMap . addressBlock : for reg in sorted ( block . register , key = lambda a : a . addressOffset ) : decls . append ( LanDeclaration ( ( "CTUCANFD_" + reg . name ) . upper ( ) , value = reg . addressOffset + block . baseAddress , intType = "enum" ) ) self . headerGen . create_enum ( self . prefix . lower ( ) + "_" + self . memMap . name . lower ( ) , decls )
Write addresses of registers within "memBlock" IP-XACT memory block as
enum to generator output.
Write addresses of registers within " memBlock " IP - XACT memory block as enum to generator output .
"""
		Write addresses of registers within "memBlock" IP-XACT memory block as
		enum to generator output.
		"""
self