ip_xact/lyx_addr_generator.py
def is_reg_present(self, reg):
		"""
        Check whether register should be written to documentation. Affected by:
            1. Skip conditional attribute in document config.
            2. isPresent IP-XACT parameter of register. Parameter value read
               from config file!
		"""
		if (self.config["skip_conditional"] == False):
			return True

		param_name = self.parameter_lookup(reg.isPresent)

		# Not conditioned by any parameter -> Keep it!	
		if (param_name == None):
			return True

		# Condionted by parameter -> keep it if parameter is set to true!
		if (self.config["parameters"][param_name] == True):
			return True

		return False

        Check whether register should be written to documentation. Affected by:
            1. Skip conditional attribute in document config.
            2. isPresent IP-XACT parameter of register. Parameter value read
               from config file!
		
Check whether register should be written to documentation. Affected by:
1. Skip conditional attribute in document config.
2. isPresent IP-XACT parameter of register. Parameter value read
from config file!
Check whether register should be written to documentation . Affected by : 1 . Skip conditional attribute in document config . 2 . isPresent IP - XACT parameter of register . Parameter value read from config file!
def is_reg_present(self, reg):
		if (self.config["skip_conditional"] == False):
			return True
		param_name = self.parameter_lookup(reg.isPresent)
		if (param_name == None):
			return True
		if (self.config["parameters"][param_name] == True):
			return True
		return False
def is_reg_present ( self , reg ) : if ( self . config [ "skip_conditional" ] == False ) : return True param_name = self . parameter_lookup ( reg . isPresent ) if ( param_name == None ) : return True if ( self . config [ "parameters" ] [ param_name ] == True ) : return True return False
Check whether register should be written to documentation.
Check whether register should be written to documentation .
"""
        Check whether register should be written to documentation. Affected by:
            1. Skip conditional attribute in document config.
            2. isPresent IP-XACT parameter of register. Parameter value read
               from config file!
		""" # Not conditioned by any parameter -> Keep it!	 # Condionted by parameter -> keep it if parameter is set to true!
self
reg