ip_xact/addr_generator.py
def reg_has_access_type(self, reg, accesses):
		"""
		Check if register contains given access type. If input access type
		is sub-set of register acces type, True is returned.
		E.g.:
			register access type: read-writeOnce
		    searched access type: write-Once
			True is returned
		"""
		for access in accesses:
			if (access in reg.access):
				return True
		return False

		Check if register contains given access type. If input access type
		is sub-set of register acces type, True is returned.
		E.g.:
			register access type: read-writeOnce
		    searched access type: write-Once
			True is returned
		
Check if register contains given access type. If input access type
is sub-set of register acces type, True is returned.
E.g.:
register access type: read-writeOnce
searched access type: write-Once
True is returned
Check if register contains given access type . If input access type is sub - set of register acces type True is returned . E . g . : register access type : read - writeOnce searched access type : write - Once True is returned
def reg_has_access_type(self, reg, accesses):
		for access in accesses:
			if (access in reg.access):
				return True
		return False
def reg_has_access_type ( self , reg , accesses ) : for access in accesses : if ( access in reg . access ) : return True return False
Check if register contains given access type.
Check if register contains given access type .
"""
		Check if register contains given access type. If input access type
		is sub-set of register acces type, True is returned.
		E.g.:
			register access type: read-writeOnce
		    searched access type: write-Once
			True is returned
		"""
self
reg
accesses