languages/gen_vhdl.py
def create_structure(self, name, decls, gap=0):
		""" 
		Create VHDL record.
		Arguments:
			decls		Declaration structures
		"""
		if (not decls):
			return False
		self.__wr_line(" " * gap + "type {} is record\n".format(name))
		for decl in decls:
			self.write_decl(decl)
		self.__wr_line(" " * gap + "end record;\n")
		return True
 
		Create VHDL record.
		Arguments:
			decls		Declaration structures
		
Create VHDL record.
Arguments:
decls           Declaration structures
Create VHDL record . Arguments : decls Declaration structures
def create_structure(self, name, decls, gap=0):
		if (not decls):
			return False
		self.__wr_line(" " * gap + "type {} is record\n".format(name))
		for decl in decls:
			self.write_decl(decl)
		self.__wr_line(" " * gap + "end record;\n")
		return True
def create_structure ( self , name , decls , gap = 0 ) : if ( not decls ) : return False self . __wr_line ( " " * gap + "type {} is record\n" . format ( name ) ) for decl in decls : self . write_decl ( decl ) self . __wr_line ( " " * gap + "end record;\n" ) return True
Create VHDL record.
Create VHDL record .
""" 
		Create VHDL record.
		Arguments:
			decls		Declaration structures
		"""
self
name
decls
gap