ip_xact/h_addr_generator.py
def write_reg_unions_and_enums(self, regs):
		"""
		Write registers from IP-XACT registers object into generator output.
		Following artifacts are written:
			- union for each memory word with registers
			- enums for each enumerated values of register fields
		"""
		# First sort the registerinto word-aligned groups.
		regGroups = self.sort_regs_to_wrd_groups(regs)

		# Write each group
		for regGroup in regGroups:

			# Create union for each group of registers within a single memory
			# word.
			self.write_reg_group_union(regGroup)

			# Create enums for fields of registers.
			for reg in regGroup:
				self.write_reg_field_enums(reg)

		Write registers from IP-XACT registers object into generator output.
		Following artifacts are written:
			- union for each memory word with registers
			- enums for each enumerated values of register fields
		
Write registers from IP-XACT registers object into generator output.
Following artifacts are written:
union for each memory word with registers
enums for each enumerated values of register fields
Write registers from IP - XACT registers object into generator output . Following artifacts are written : union for each memory word with registers enums for each enumerated values of register fields
def write_reg_unions_and_enums(self, regs):
		regGroups = self.sort_regs_to_wrd_groups(regs)
		for regGroup in regGroups:
			self.write_reg_group_union(regGroup)
			for reg in regGroup:
				self.write_reg_field_enums(reg)
def write_reg_unions_and_enums ( self , regs ) : regGroups = self . sort_regs_to_wrd_groups ( regs ) for regGroup in regGroups : self . write_reg_group_union ( regGroup ) for reg in regGroup : self . write_reg_field_enums ( reg )
Write registers from IP-XACT registers object into generator output.
Write registers from IP - XACT registers object into generator output .
"""
		Write registers from IP-XACT registers object into generator output.
		Following artifacts are written:
			- union for each memory word with registers
			- enums for each enumerated values of register fields
		""" # First sort the registerinto word-aligned groups. # Write each group # Create union for each group of registers within a single memory # word. # Create enums for fields of registers.
self
regs