languages/gen_vhdl.py
def format_entity_decl(self, decl, base_indent=4, alignLen=30):
		"""
		Format declaration of entity or architecture with increasing indent for 
		"""
		if (decl.intType != "entity" and decl.intType != "architecture"):
			print("ERROR: Unsupported declaration type:" + decl.intType + \
			      " Should be entity or architecture!")
			return

		self.format_decls(decl.ports, gap=base_indent+2, alignLeft=True,
									alignRight=False, alignLen=alignLen, wrap=False)
		self.format_decls(decl.generics, gap=base_indent+2, alignLeft=True,
									alignRight=False, alignLen=alignLen, wrap=False)
		self.format_decls([decl], gap=base_indent, alignLeft=True,
									alignRight=False, alignLen=alignLen, wrap=False)

		Format declaration of entity or architecture with increasing indent for 
		
Format declaration of entity or architecture with increasing indent for
Format declaration of entity or architecture with increasing indent for
def format_entity_decl(self, decl, base_indent=4, alignLen=30):
		if (decl.intType != "entity" and decl.intType != "architecture"):
			print("ERROR: Unsupported declaration type:" + decl.intType + \
			      " Should be entity or architecture!")
			return
		self.format_decls(decl.ports, gap=base_indent+2, alignLeft=True,
									alignRight=False, alignLen=alignLen, wrap=False)
		self.format_decls(decl.generics, gap=base_indent+2, alignLeft=True,
									alignRight=False, alignLen=alignLen, wrap=False)
		self.format_decls([decl], gap=base_indent, alignLeft=True,
									alignRight=False, alignLen=alignLen, wrap=False)
def format_entity_decl ( self , decl , base_indent = 4 , alignLen = 30 ) : if ( decl . intType != "entity" and decl . intType != "architecture" ) : print ( "ERROR: Unsupported declaration type:" + decl . intType + " Should be entity or architecture!" ) return self . format_decls ( decl . ports , gap = base_indent + 2 , alignLeft = True , alignRight = False , alignLen = alignLen , wrap = False ) self . format_decls ( decl . generics , gap = base_indent + 2 , alignLeft = True , alignRight = False , alignLen = alignLen , wrap = False ) self . format_decls ( [ decl ] , gap = base_indent , alignLeft = True , alignRight = False , alignLen = alignLen , wrap = False )
Format declaration of entity or architecture with increasing indent for
Format declaration of entity or architecture with increasing indent for
"""
		Format declaration of entity or architecture with increasing indent for 
		"""
self
decl
base_indent
alignLen