ip_xact/vhdl_reg_map_generator.py
def fill_reg_inst_generics(self, reg, reg_inst):
		"""
		Fill Generic values of VHDL register instance from IP-XACT register
		object.
		"""
		reg_inst.generics["data_width"].value = reg.size
		reg_inst.generics["data_mask"].value = self.calc_reg_data_mask(reg)
		reg_inst.generics["reset_polarity"].value = "reset_polarity".upper()
		reg_inst.generics["reset_value"].value = self.calc_reg_rstval_mask(reg)
		reg_inst.generics["auto_clear"].value = self.calc_autoclear_mask(reg)
		reg_inst.generics["is_lockable"].value = self.get_reg_lock(reg)[0]

		Fill Generic values of VHDL register instance from IP-XACT register
		object.
		
Fill Generic values of VHDL register instance from IP-XACT register
object.
Fill Generic values of VHDL register instance from IP - XACT register object .
def fill_reg_inst_generics(self, reg, reg_inst):
		reg_inst.generics["data_width"].value = reg.size
		reg_inst.generics["data_mask"].value = self.calc_reg_data_mask(reg)
		reg_inst.generics["reset_polarity"].value = "reset_polarity".upper()
		reg_inst.generics["reset_value"].value = self.calc_reg_rstval_mask(reg)
		reg_inst.generics["auto_clear"].value = self.calc_autoclear_mask(reg)
		reg_inst.generics["is_lockable"].value = self.get_reg_lock(reg)[0]
def fill_reg_inst_generics ( self , reg , reg_inst ) : reg_inst . generics [ "data_width" ] . value = reg . size reg_inst . generics [ "data_mask" ] . value = self . calc_reg_data_mask ( reg ) reg_inst . generics [ "reset_polarity" ] . value = "reset_polarity" . upper ( ) reg_inst . generics [ "reset_value" ] . value = self . calc_reg_rstval_mask ( reg ) reg_inst . generics [ "auto_clear" ] . value = self . calc_autoclear_mask ( reg ) reg_inst . generics [ "is_lockable" ] . value = self . get_reg_lock ( reg ) [ 0 ]
Fill Generic values of VHDL register instance from IP-XACT register
object.
Fill Generic values of VHDL register instance from IP - XACT register object .
"""
		Fill Generic values of VHDL register instance from IP-XACT register
		object.
		"""
self
reg
reg_inst