ip_xact/kern_h_addr_generator.py
def create_addrMap_package(self, name):
		"""
		Create C header file package for "memMap" IP-XACT memory block.
		Package contains for each register within memory block:
			1. Define with register address offset.
			2. Defines for each register field.
		"""
		self.headerGen.wr_nl()
		self.headerGen.write_comment("This file is autogenerated, DO NOT EDIT!", 0, small=True)

		self.headerGen.wr_nl()
		self.headerGen.create_package((self.prefix + "_" + name).upper())
		self.headerGen.wr_nl()

		self.headerGen.write_include("linux/bits.h")
		self.headerGen.wr_nl()

		# Write memory map address enum
		if self.memMap:
			print("Writing addresses of '%s' register map" % self.memMap.name)
			self.write_mem_map_addr_enum()

		# Write memory map fields
		if self.memMap:
			print("Writing kernel header of '%s' register map" % self.memMap.name)
			self.write_memory_map()

		self.headerGen.commit_append_line(1)

		Create C header file package for "memMap" IP-XACT memory block.
		Package contains for each register within memory block:
			1. Define with register address offset.
			2. Defines for each register field.
		
Create C header file package for "memMap" IP-XACT memory block.
Package contains for each register within memory block:
1. Define with register address offset.
2. Defines for each register field.
Create C header file package for " memMap " IP - XACT memory block . Package contains for each register within memory block : 1 . Define with register address offset . 2 . Defines for each register field .
def create_addrMap_package(self, name):
		self.headerGen.wr_nl()
		self.headerGen.write_comment("This file is autogenerated, DO NOT EDIT!", 0, small=True)
		self.headerGen.wr_nl()
		self.headerGen.create_package((self.prefix + "_" + name).upper())
		self.headerGen.wr_nl()
		self.headerGen.write_include("linux/bits.h")
		self.headerGen.wr_nl()
		if self.memMap:
			print("Writing addresses of '%s' register map" % self.memMap.name)
			self.write_mem_map_addr_enum()
		if self.memMap:
			print("Writing kernel header of '%s' register map" % self.memMap.name)
			self.write_memory_map()
		self.headerGen.commit_append_line(1)
def create_addrMap_package ( self , name ) : self . headerGen . wr_nl ( ) self . headerGen . write_comment ( "This file is autogenerated, DO NOT EDIT!" , 0 , small = True ) self . headerGen . wr_nl ( ) self . headerGen . create_package ( ( self . prefix + "_" + name ) . upper ( ) ) self . headerGen . wr_nl ( ) self . headerGen . write_include ( "linux/bits.h" ) self . headerGen . wr_nl ( ) if self . memMap : print ( "Writing addresses of '%s' register map" % self . memMap . name ) self . write_mem_map_addr_enum ( ) if self . memMap : print ( "Writing kernel header of '%s' register map" % self . memMap . name ) self . write_memory_map ( ) self . headerGen . commit_append_line ( 1 )
Create C header file package for "memMap" IP-XACT memory block.
Create C header file package for " memMap " IP - XACT memory block .
"""
		Create C header file package for "memMap" IP-XACT memory block.
		Package contains for each register within memory block:
			1. Define with register address offset.
			2. Defines for each register field.
		""" # Write memory map address enum # Write memory map fields
self
name