languages/gen_vhdl.py
def write_ports_or_declarations(self, decl, decls, isInstance):
		"""
        Writes Dictionary of ports or declarations. 
        Arguments:
			decl		Declaration object of entity for which 
            decls       Declarations List (VhdlCompDeclaration)
            isInstance  "True" indicates ports should be written.
        """
		for (i, key) in enumerate(decls):

			if (i == len(decls) - 1 and decl.intType != "architecture"):
				decls[key].addSemicoln = False
			else:
				decls[key].addSemicoln = True

			if (isInstance):
				self.write_connection(decls[key], specDir = True)
			else:
				self.write_decl(decls[key])

        Writes Dictionary of ports or declarations. 
        Arguments:
			decl		Declaration object of entity for which 
            decls       Declarations List (VhdlCompDeclaration)
            isInstance  "True" indicates ports should be written.
        
Writes Dictionary of ports or declarations.
Arguments:
decl            Declaration object of entity for which
decls       Declarations List (VhdlCompDeclaration)
isInstance  "True" indicates ports should be written.
Writes Dictionary of ports or declarations . Arguments : decl Declaration object of entity for which decls Declarations List ( VhdlCompDeclaration ) isInstance " True " indicates ports should be written .
def write_ports_or_declarations(self, decl, decls, isInstance):
		for (i, key) in enumerate(decls):
			if (i == len(decls) - 1 and decl.intType != "architecture"):
				decls[key].addSemicoln = False
			else:
				decls[key].addSemicoln = True
			if (isInstance):
				self.write_connection(decls[key], specDir = True)
			else:
				self.write_decl(decls[key])
def write_ports_or_declarations ( self , decl , decls , isInstance ) : for ( i , key ) in enumerate ( decls ) : if ( i == len ( decls ) - 1 and decl . intType != "architecture" ) : decls [ key ] . addSemicoln = False else : decls [ key ] . addSemicoln = True if ( isInstance ) : self . write_connection ( decls [ key ] , specDir = True ) else : self . write_decl ( decls [ key ] )
Writes Dictionary of ports or declarations.
Writes Dictionary of ports or declarations .
"""
        Writes Dictionary of ports or declarations. 
        Arguments:
			decl		Declaration object of entity for which 
            decls       Declarations List (VhdlCompDeclaration)
            isInstance  "True" indicates ports should be written.
        """
self
decl
decls
isInstance